Commit 2ce72581f10ddc1cbcdbcf2bae0a8c9599c542ae
1 parent
d7ca093e14
Exists in
master
try to compile lia_ltbox in static mode
Showing 6 changed files with 3 additions and 35 deletions Inline Diff
tools/lia_ltbox/lia_env.sh
1 | #!/bin/bash | File was deleted | |
2 | LIA_TAGG_LANG=french | ||
3 | LIA_TAGG=/labo/Tools/lia_ltbox/lia_tagg/ | ||
4 | LIA_PHON_REP=/labo/Tools/lia_ltbox/lia_phon/ | ||
5 | SRILM_BIN=/labo/Tools/SRI-LM-1.4.2/bin/i686 | ||
6 | LIA_BIGLEX=/labo/Tools/lia_ltbox/lia_biglex/ | ||
7 | 1 | #!/bin/bash | |
8 | 2 | LIA_TAGG_LANG=french |
tools/lia_ltbox/lia_ne_v2.2/src/Makefile
1 | ## MAKEFILE LIA_NE | 1 | ## MAKEFILE LIA_NE |
2 | ## | 2 | ## |
3 | 3 | ||
4 | CC=gcc | 4 | CC=gcc |
5 | # CFLAGS= -ansi -I. -I/usr/include/libxml2 -I. -I. | 5 | # CFLAGS= -ansi -I. -I/usr/include/libxml2 -I. -I. |
6 | CFLAGS= -I/usr/include/libxml2 -I. | 6 | CFLAGS= -I/usr/include/libxml2 -I. |
7 | 7 | ||
8 | LDFLAGS= -L. -L/opt/local/lib -L/usr/local/lib -L/usr/lib -l xml2 | 8 | LDFLAGS= -L. -L/opt/local/lib -L/usr/local/lib -L/usr/lib -l xml2 -static -static-libgcc |
9 | 9 | ||
10 | EXEC= clean_ne_form.exe decapital_biglex.exe decapital.exe tagg_xml_tk.exe filter_ecg.exe fmt4crf.exe from_ctm2token.exe from_ecg2corpuscate.exe from_stm2token.exe from_token2crf.exe from_token2ctm_ne.exe from_token2ecg.exe from_token2stm_ne.exe from_trs2ne_form.exe from_trs2token.exe onelinex.exe postprocess_ne.exe postprocess_ne_ester.exe rewrite_pattern.exe rewrite_token_ne.exe tagg2text.exe merge_biglex.exe edy_recap.exe | 10 | EXEC= clean_ne_form.exe decapital_biglex.exe decapital.exe tagg_xml_tk.exe filter_ecg.exe fmt4crf.exe from_ctm2token.exe from_ecg2corpuscate.exe from_stm2token.exe from_token2crf.exe from_token2ctm_ne.exe from_token2ecg.exe from_token2stm_ne.exe from_trs2ne_form.exe from_trs2token.exe onelinex.exe postprocess_ne.exe postprocess_ne_ester.exe rewrite_pattern.exe rewrite_token_ne.exe tagg2text.exe merge_biglex.exe edy_recap.exe |
11 | 11 | ||
12 | SRC= clean_ne_form.c decapital_biglex.c decapital.c tagg_xml_tk.c filter_ecg.c fmt4crf.c from_ctm2token.c from_ecg2corpuscate.c from_stm2token.c from_token2crf.c from_token2ctm_ne.c from_token2ecg.c from_token2stm_ne.c from_trs2ne_form.c from_trs2token.c lia_liblex.c onelinex.c postprocess_ne.c postprocess_ne_ester.c rewrite_pattern.c rewrite_token_ne.c tagg2text.c merge_biglex.c edy_recap.c | 12 | SRC= clean_ne_form.c decapital_biglex.c decapital.c tagg_xml_tk.c filter_ecg.c fmt4crf.c from_ctm2token.c from_ecg2corpuscate.c from_stm2token.c from_token2crf.c from_token2ctm_ne.c from_token2ecg.c from_token2stm_ne.c from_trs2ne_form.c from_trs2token.c lia_liblex.c onelinex.c postprocess_ne.c postprocess_ne_ester.c rewrite_pattern.c rewrite_token_ne.c tagg2text.c merge_biglex.c edy_recap.c |
13 | 13 | ||
14 | OBJ= $(SRC:.c=.o) | 14 | OBJ= $(SRC:.c=.o) |
15 | 15 | ||
16 | all: $(OBJ) $(EXEC) | 16 | all: $(OBJ) $(EXEC) |
17 | 17 | ||
18 | %o: %c | 18 | %o: %c |
19 | $(CC) -o $@ -c $< $(CFLAGS) | 19 | $(CC) -o $@ -c $< $(CFLAGS) |
20 | 20 | ||
21 | from_token2ctm_ne.exe: from_token2ctm_ne.o | 21 | from_token2ctm_ne.exe: from_token2ctm_ne.o |
22 | $(CC) -o ../bin/from_token2ctm_ne from_token2ctm_ne.o $(LDFLAGS) | 22 | $(CC) -o ../bin/from_token2ctm_ne from_token2ctm_ne.o $(LDFLAGS) |
23 | 23 | ||
24 | from_token2stm_ne.exe: from_token2stm_ne.o | 24 | from_token2stm_ne.exe: from_token2stm_ne.o |
25 | $(CC) -o ../bin/from_token2stm_ne from_token2stm_ne.o $(LDFLAGS) | 25 | $(CC) -o ../bin/from_token2stm_ne from_token2stm_ne.o $(LDFLAGS) |
26 | 26 | ||
27 | tagg_xml_tk.exe: tagg_xml_tk.o | 27 | tagg_xml_tk.exe: tagg_xml_tk.o |
28 | $(CC) -o ../bin/tagg_xml_tk tagg_xml_tk.o $(LDFLAGS) | 28 | $(CC) -o ../bin/tagg_xml_tk tagg_xml_tk.o $(LDFLAGS) |
29 | 29 | ||
30 | merge_biglex.exe: lia_liblex.o merge_biglex.o | 30 | merge_biglex.exe: lia_liblex.o merge_biglex.o |
31 | $(CC) -o ../bin/merge_biglex merge_biglex.o lia_liblex.o | 31 | $(CC) -o ../bin/merge_biglex merge_biglex.o lia_liblex.o |
32 | 32 | ||
33 | postprocess_ne_ester.exe: lia_liblex.o postprocess_ne_ester.o | 33 | postprocess_ne_ester.exe: lia_liblex.o postprocess_ne_ester.o |
34 | $(CC) -o ../bin/postprocess_ne_ester lia_liblex.o postprocess_ne_ester.o | 34 | $(CC) -o ../bin/postprocess_ne_ester lia_liblex.o postprocess_ne_ester.o |
35 | 35 | ||
36 | edy_recap.exe: lia_liblex.o edy_recap.o | 36 | edy_recap.exe: lia_liblex.o edy_recap.o |
37 | $(CC) -o ../bin/edy_recap lia_liblex.o edy_recap.o | 37 | $(CC) -o ../bin/edy_recap lia_liblex.o edy_recap.o |
38 | 38 | ||
39 | postprocess_ne.exe: lia_liblex.o postprocess_ne.o | 39 | postprocess_ne.exe: lia_liblex.o postprocess_ne.o |
40 | $(CC) -o ../bin/postprocess_ne lia_liblex.o postprocess_ne.o | 40 | $(CC) -o ../bin/postprocess_ne lia_liblex.o postprocess_ne.o |
41 | 41 | ||
42 | %exe: %o | 42 | %exe: %o |
43 | $(CC) -o ../bin/$(@:.exe= ) $< | 43 | $(CC) -o ../bin/$(@:.exe= ) $< |
44 | 44 | ||
45 | clean: | 45 | clean: |
46 | rm -rf *.o | 46 | rm -rf *.o |
47 | rm ../bin/* | 47 | rm ../bin/* |
48 | 48 | ||
49 | 49 |
tools/lia_ltbox/lia_phon/Makefile
1 | # | 1 | # |
2 | # -------------------------------------------------------- | 2 | # -------------------------------------------------------- |
3 | # LIA_PHON : Un systeme complet de phonetisation de textes | 3 | # LIA_PHON : Un systeme complet de phonetisation de textes |
4 | # -------------------------------------------------------- | 4 | # -------------------------------------------------------- |
5 | # | 5 | # |
6 | # Copyright (C) 2001 FREDERIC BECHET | 6 | # Copyright (C) 2001 FREDERIC BECHET |
7 | # | 7 | # |
8 | # .................................................................. | 8 | # .................................................................. |
9 | # | 9 | # |
10 | # This file is part of LIA_PHON | 10 | # This file is part of LIA_PHON |
11 | # | 11 | # |
12 | # LIA_PHON is free software; you can redistribute it and/or modify | 12 | # LIA_PHON is free software; you can redistribute it and/or modify |
13 | # it under the terms of the GNU General Public License as published by | 13 | # it under the terms of the GNU General Public License as published by |
14 | # the Free Software Foundation; either version 2 of the License, or | 14 | # the Free Software Foundation; either version 2 of the License, or |
15 | # (at your option) any later version. | 15 | # (at your option) any later version. |
16 | # | 16 | # |
17 | # This program is distributed in the hope that it will be useful, | 17 | # This program is distributed in the hope that it will be useful, |
18 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | 18 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
20 | # GNU General Public License for more details. | 20 | # GNU General Public License for more details. |
21 | # | 21 | # |
22 | # You should have received a copy of the GNU General Public License | 22 | # You should have received a copy of the GNU General Public License |
23 | # along with this program; if not, write to the Free Software | 23 | # along with this program; if not, write to the Free Software |
24 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 24 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
25 | # .................................................................. | 25 | # .................................................................. |
26 | # | 26 | # |
27 | # For any publication related to scientific work using LIA_PHON, | 27 | # For any publication related to scientific work using LIA_PHON, |
28 | # the following reference paper must be mentioned in the bibliography: | 28 | # the following reference paper must be mentioned in the bibliography: |
29 | # | 29 | # |
30 | # Bechet F., 2001, "LIA_PHON - Un systeme complet de phonetisation | 30 | # Bechet F., 2001, "LIA_PHON - Un systeme complet de phonetisation |
31 | # de textes", revue Traitement Automatique des Langues (T.A.L.) | 31 | # de textes", revue Traitement Automatique des Langues (T.A.L.) |
32 | # volume 42, numero 1/2001, edition Hermes | 32 | # volume 42, numero 1/2001, edition Hermes |
33 | # .................................................................. | 33 | # .................................................................. |
34 | # | 34 | # |
35 | # Contact : | 35 | # Contact : |
36 | # FREDERIC BECHET - LIA - UNIVERSITE D'AVIGNON | 36 | # FREDERIC BECHET - LIA - UNIVERSITE D'AVIGNON |
37 | # AGROPARC BP1228 84911 AVIGNON CEDEX 09 FRANCE | 37 | # AGROPARC BP1228 84911 AVIGNON CEDEX 09 FRANCE |
38 | # frederic.bechet@lia.univ-avignon.fr | 38 | # frederic.bechet@lia.univ-avignon.fr |
39 | # .................................................................. | 39 | # .................................................................. |
40 | # | 40 | # |
41 | # | 41 | # |
42 | 42 | ||
43 | # Makefile LIA_PHON # | 43 | # Makefile LIA_PHON # |
44 | 44 | ||
45 | # C Compiler definition | 45 | # C Compiler definition |
46 | # | 46 | # |
47 | CC = cc | 47 | CC = cc |
48 | 48 | ||
49 | # Math library | 49 | # Math library |
50 | # | 50 | # |
51 | LIBS = -lm | 51 | LIBS = -lm |
52 | 52 | ||
53 | # Include files | 53 | # Include files |
54 | # | 54 | # |
55 | INCLUDES = -I. -I$(LIA_PHON_REP)/src/aphon -I$(LIA_PHON_REP)/src/libgram -I$(LIA_PHON_REP)/src/format | 55 | INCLUDES = -I. -I$(LIA_PHON_REP)/src/aphon -I$(LIA_PHON_REP)/src/libgram -I$(LIA_PHON_REP)/src/format |
56 | 56 | ||
57 | # C compiler options (default=NONE) | 57 | # C compiler options (default=NONE) |
58 | # | 58 | # |
59 | OPTIONS = $(INCLUDES) | 59 | OPTIONS = $(INCLUDES) -static -static-libgcc |
60 | 60 | ||
61 | # Source compilation | 61 | # Source compilation |
62 | 62 | ||
63 | MAKE = make LIBS="$(LIBS)" INCLUDES="$(INCLUDES)" OPTIONS="$(OPTIONS)" CC="$(CC)" | 63 | MAKE = make LIBS="$(LIBS)" INCLUDES="$(INCLUDES)" OPTIONS="$(OPTIONS)" CC="$(CC)" |
64 | 64 | ||
65 | all : | 65 | all : |
66 | @set fnord $(MAKEFLAGS); \ | 66 | @set fnord $(MAKEFLAGS); \ |
67 | subdir='$(LIA_PHON_REP)/src/format' ; \ | 67 | subdir='$(LIA_PHON_REP)/src/format' ; \ |
68 | echo "Making all in $$subdir" ; \ | 68 | echo "Making all in $$subdir" ; \ |
69 | cd $$subdir && $(MAKE) all | 69 | cd $$subdir && $(MAKE) all |
70 | @set fnord $(MAKEFLAGS); \ | 70 | @set fnord $(MAKEFLAGS); \ |
71 | subdir='$(LIA_PHON_REP)/src/libgram' ; \ | 71 | subdir='$(LIA_PHON_REP)/src/libgram' ; \ |
72 | echo "Making all in $$subdir" ; \ | 72 | echo "Making all in $$subdir" ; \ |
73 | cd $$subdir && $(MAKE) all | 73 | cd $$subdir && $(MAKE) all |
74 | @set fnord $(MAKEFLAGS); \ | 74 | @set fnord $(MAKEFLAGS); \ |
75 | subdir='$(LIA_PHON_REP)/src/aphon' ; \ | 75 | subdir='$(LIA_PHON_REP)/src/aphon' ; \ |
76 | echo "Making all in $$subdir" ; \ | 76 | echo "Making all in $$subdir" ; \ |
77 | cd $$subdir && $(MAKE) all | 77 | cd $$subdir && $(MAKE) all |
78 | @set fnord $(MAKEFLAGS); \ | 78 | @set fnord $(MAKEFLAGS); \ |
79 | subdir='$(LIA_PHON_REP)/src/liaison' ; \ | 79 | subdir='$(LIA_PHON_REP)/src/liaison' ; \ |
80 | echo "Making all in $$subdir" ; \ | 80 | echo "Making all in $$subdir" ; \ |
81 | cd $$subdir && $(MAKE) all | 81 | cd $$subdir && $(MAKE) all |
82 | @set fnord $(MAKEFLAGS); \ | 82 | @set fnord $(MAKEFLAGS); \ |
83 | subdir='$(LIA_PHON_REP)/src/post_process' ; \ | 83 | subdir='$(LIA_PHON_REP)/src/post_process' ; \ |
84 | echo "Making all in $$subdir" ; \ | 84 | echo "Making all in $$subdir" ; \ |
85 | cd $$subdir && $(MAKE) all | 85 | cd $$subdir && $(MAKE) all |
86 | @set fnord $(MAKEFLAGS); \ | 86 | @set fnord $(MAKEFLAGS); \ |
87 | subdir='$(LIA_PHON_REP)/src/retik' ; \ | 87 | subdir='$(LIA_PHON_REP)/src/retik' ; \ |
88 | echo "Making all in $$subdir" ; \ | 88 | echo "Making all in $$subdir" ; \ |
89 | cd $$subdir && $(MAKE) all | 89 | cd $$subdir && $(MAKE) all |
90 | @set fnord $(MAKEFLAGS); \ | 90 | @set fnord $(MAKEFLAGS); \ |
91 | subdir='$(LIA_PHON_REP)/src/prosodie' ; \ | 91 | subdir='$(LIA_PHON_REP)/src/prosodie' ; \ |
92 | echo "Making all in $$subdir" ; \ | 92 | echo "Making all in $$subdir" ; \ |
93 | cd $$subdir && $(MAKE) all | 93 | cd $$subdir && $(MAKE) all |
94 | @set fnord $(MAKEFLAGS); \ | 94 | @set fnord $(MAKEFLAGS); \ |
95 | subdir='$(LIA_PHON_REP)/src/variante' ; \ | 95 | subdir='$(LIA_PHON_REP)/src/variante' ; \ |
96 | echo "Making all in $$subdir" ; \ | 96 | echo "Making all in $$subdir" ; \ |
97 | cd $$subdir && $(MAKE) all | 97 | cd $$subdir && $(MAKE) all |
98 | @set fnord $(MAKEFLAGS); \ | 98 | @set fnord $(MAKEFLAGS); \ |
99 | subdir='$(LIA_PHON_REP)/src/tagg' ; \ | 99 | subdir='$(LIA_PHON_REP)/src/tagg' ; \ |
100 | echo "Making all in $$subdir" ; \ | 100 | echo "Making all in $$subdir" ; \ |
101 | cd $$subdir && $(MAKE) all | 101 | cd $$subdir && $(MAKE) all |
102 | 102 | ||
103 | # Cleaning binaries | 103 | # Cleaning binaries |
104 | clean : | 104 | clean : |
105 | rm $(LIA_PHON_REP)/bin/* | 105 | rm $(LIA_PHON_REP)/bin/* |
106 | rm $(LIA_PHON_REP)/object/* | 106 | rm $(LIA_PHON_REP)/object/* |
107 | 107 | ||
108 | # Compilation of data files | 108 | # Compilation of data files |
109 | ressource: | 109 | ressource: |
110 | chmod ug+x $(LIA_PHON_REP)/script/* | 110 | chmod ug+x $(LIA_PHON_REP)/script/* |
111 | $(LIA_PHON_REP)/bin/lia_compile_exep $(LIA_PHON_REP)/data/list_exep | 111 | $(LIA_PHON_REP)/bin/lia_compile_exep $(LIA_PHON_REP)/data/list_exep |
112 | $(LIA_PHON_REP)/bin/lia_compile_lexique $(LIA_PHON_REP)/data/list_exep.sirlex | 112 | $(LIA_PHON_REP)/bin/lia_compile_lexique $(LIA_PHON_REP)/data/list_exep.sirlex |
113 | $(LIA_PHON_REP)/bin/lia_compile_lexique $(LIA_PHON_REP)/data/h_aspi.sirlex | 113 | $(LIA_PHON_REP)/bin/lia_compile_lexique $(LIA_PHON_REP)/data/h_aspi.sirlex |
114 | csh $(LIA_PHON_REP)/script/lia_make_lexique_reacc $(LIA_PHON_REP)/data/lex10k $(LIA_PHON_REP)/data/lm3classe.arpa | 114 | csh $(LIA_PHON_REP)/script/lia_make_lexique_reacc $(LIA_PHON_REP)/data/lex10k $(LIA_PHON_REP)/data/lm3classe.arpa |
115 | $(LIA_PHON_REP)/bin/lia_compile_lexitree $(LIA_PHON_REP)/data/list_chif_virgule $(LIA_PHON_REP)/data/list_chif_virgule.tab | 115 | $(LIA_PHON_REP)/bin/lia_compile_lexitree $(LIA_PHON_REP)/data/list_chif_virgule $(LIA_PHON_REP)/data/list_chif_virgule.tab |
116 | $(LIA_PHON_REP)/bin/lia_compile_lexitree $(LIA_PHON_REP)/data/lex10k $(LIA_PHON_REP)/data/lex10k.tab | 116 | $(LIA_PHON_REP)/bin/lia_compile_lexitree $(LIA_PHON_REP)/data/lex10k $(LIA_PHON_REP)/data/lex10k.tab |
117 | 117 | ||
118 | lex80k: | 118 | lex80k: |
119 | gunzip $(LIA_PHON_REP)/data/lex80k | 119 | gunzip $(LIA_PHON_REP)/data/lex80k |
120 | csh $(LIA_PHON_REP)/script/lia_make_lexique_reacc $(LIA_PHON_REP)/data/lex80k $(LIA_PHON_REP)/data/lm3classe.arpa | 120 | csh $(LIA_PHON_REP)/script/lia_make_lexique_reacc $(LIA_PHON_REP)/data/lex80k $(LIA_PHON_REP)/data/lm3classe.arpa |
121 | $(LIA_PHON_REP)/bin/lia_compile_lexitree $(LIA_PHON_REP)/data/lex80k $(LIA_PHON_REP)/data/lex80k.tab | 121 | $(LIA_PHON_REP)/bin/lia_compile_lexitree $(LIA_PHON_REP)/data/lex80k $(LIA_PHON_REP)/data/lex80k.tab |
122 | gzip $(LIA_PHON_REP)/data/lex80k | 122 | gzip $(LIA_PHON_REP)/data/lex80k |
123 | 123 | ||
124 | # Cleaning binary data files | 124 | # Cleaning binary data files |
125 | clean_ressource: | 125 | clean_ressource: |
126 | csh $(LIA_PHON_REP)/script/lia_delete_lexicon lex10k | 126 | csh $(LIA_PHON_REP)/script/lia_delete_lexicon lex10k |
127 | csh $(LIA_PHON_REP)/script/lia_delete_lexicon lex80k | 127 | csh $(LIA_PHON_REP)/script/lia_delete_lexicon lex80k |
128 | rm -f $(LIA_PHON_REP)/data/list_exep.* | 128 | rm -f $(LIA_PHON_REP)/data/list_exep.* |
129 | rm -f $(LIA_PHON_REP)/data/h_aspi.sirlex.* | 129 | rm -f $(LIA_PHON_REP)/data/h_aspi.sirlex.* |
130 | rm -f $(LIA_PHON_REP)/data/lm3classe.arpa.* | 130 | rm -f $(LIA_PHON_REP)/data/lm3classe.arpa.* |
131 | rm -f $(LIA_PHON_REP)/data/list_chif_virgule.tab | 131 | rm -f $(LIA_PHON_REP)/data/list_chif_virgule.tab |
132 | 132 | ||
133 | # Checking if everything is OK | 133 | # Checking if everything is OK |
134 | check: | 134 | check: |
135 | $(LIA_PHON_REP)/script/lia_check | 135 | $(LIA_PHON_REP)/script/lia_check |
136 | 136 | ||
137 | 137 |
tools/lia_ltbox/lia_tagg/Makefile
1 | # | 1 | # |
2 | # -------------------------------------------------------- | 2 | # -------------------------------------------------------- |
3 | # LIA_TAGG: a statistical POS tagger + syntactic bracketer | 3 | # LIA_TAGG: a statistical POS tagger + syntactic bracketer |
4 | # -------------------------------------------------------- | 4 | # -------------------------------------------------------- |
5 | # | 5 | # |
6 | # Copyright (C) 2001 FREDERIC BECHET | 6 | # Copyright (C) 2001 FREDERIC BECHET |
7 | # | 7 | # |
8 | # .................................................................. | 8 | # .................................................................. |
9 | # | 9 | # |
10 | # This file is part of LIA_TAGG | 10 | # This file is part of LIA_TAGG |
11 | # | 11 | # |
12 | # LIA_TAGG is free software; you can redistribute it and/or modify | 12 | # LIA_TAGG is free software; you can redistribute it and/or modify |
13 | # it under the terms of the GNU General Public License as published by | 13 | # it under the terms of the GNU General Public License as published by |
14 | # the Free Software Foundation; either version 2 of the License, or | 14 | # the Free Software Foundation; either version 2 of the License, or |
15 | # (at your option) any later version. | 15 | # (at your option) any later version. |
16 | # | 16 | # |
17 | # This program is distributed in the hope that it will be useful, | 17 | # This program is distributed in the hope that it will be useful, |
18 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | 18 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
20 | # GNU General Public License for more details. | 20 | # GNU General Public License for more details. |
21 | # | 21 | # |
22 | # You should have received a copy of the GNU General Public License | 22 | # You should have received a copy of the GNU General Public License |
23 | # along with this program; if not, write to the Free Software | 23 | # along with this program; if not, write to the Free Software |
24 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 24 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
25 | # .................................................................. | 25 | # .................................................................. |
26 | # | 26 | # |
27 | # Contact : | 27 | # Contact : |
28 | # FREDERIC BECHET - LIA - UNIVERSITE D'AVIGNON | 28 | # FREDERIC BECHET - LIA - UNIVERSITE D'AVIGNON |
29 | # AGROPARC BP1228 84911 AVIGNON CEDEX 09 FRANCE | 29 | # AGROPARC BP1228 84911 AVIGNON CEDEX 09 FRANCE |
30 | # frederic.bechet@lia.univ-avignon.fr | 30 | # frederic.bechet@lia.univ-avignon.fr |
31 | # .................................................................. | 31 | # .................................................................. |
32 | # | 32 | # |
33 | # | 33 | # |
34 | # Makefile LIA_TAGG # | 34 | # Makefile LIA_TAGG # |
35 | 35 | ||
36 | # C Compiler definition | 36 | # C Compiler definition |
37 | # | 37 | # |
38 | CC = cc | 38 | CC = cc |
39 | 39 | ||
40 | # Math library | 40 | # Math library |
41 | # | 41 | # |
42 | LIBS = -lm | 42 | LIBS = -lm |
43 | 43 | ||
44 | # Include files | 44 | # Include files |
45 | # | 45 | # |
46 | INCLUDES = -I. -I$(LIA_TAGG)/src/libgram -I$(LIA_TAGG)/src/format | 46 | INCLUDES = -I. -I$(LIA_TAGG)/src/libgram -I$(LIA_TAGG)/src/format |
47 | 47 | ||
48 | # C compiler options (default=NONE) | 48 | # C compiler options (default=NONE) |
49 | # | 49 | # |
50 | OPTIONS = $(INCLUDES) | 50 | OPTIONS = $(INCLUDES) -static -static-libgcc |
51 | 51 | ||
52 | # Source compilation | 52 | # Source compilation |
53 | 53 | ||
54 | MAKE = make LIBS="$(LIBS)" INCLUDES="$(INCLUDES)" OPTIONS="$(OPTIONS)" CC="$(CC)" | 54 | MAKE = make LIBS="$(LIBS)" INCLUDES="$(INCLUDES)" OPTIONS="$(OPTIONS)" CC="$(CC)" |
55 | 55 | ||
56 | all : | 56 | all : |
57 | @set fnord $(MAKEFLAGS); \ | 57 | @set fnord $(MAKEFLAGS); \ |
58 | subdir='$(LIA_TAGG)/src/format' ; \ | 58 | subdir='$(LIA_TAGG)/src/format' ; \ |
59 | echo "Making all in $$subdir" ; \ | 59 | echo "Making all in $$subdir" ; \ |
60 | cd $$subdir && $(MAKE) all | 60 | cd $$subdir && $(MAKE) all |
61 | @set fnord $(MAKEFLAGS); \ | 61 | @set fnord $(MAKEFLAGS); \ |
62 | subdir='$(LIA_TAGG)/src/libgram' ; \ | 62 | subdir='$(LIA_TAGG)/src/libgram' ; \ |
63 | echo "Making all in $$subdir" ; \ | 63 | echo "Making all in $$subdir" ; \ |
64 | cd $$subdir && $(MAKE) all | 64 | cd $$subdir && $(MAKE) all |
65 | @set fnord $(MAKEFLAGS); \ | 65 | @set fnord $(MAKEFLAGS); \ |
66 | subdir='$(LIA_TAGG)/src/tagg' ; \ | 66 | subdir='$(LIA_TAGG)/src/tagg' ; \ |
67 | echo "Making all in $$subdir" ; \ | 67 | echo "Making all in $$subdir" ; \ |
68 | cd $$subdir && $(MAKE) all | 68 | cd $$subdir && $(MAKE) all |
69 | @set fnord $(MAKEFLAGS); \ | 69 | @set fnord $(MAKEFLAGS); \ |
70 | subdir='$(LIA_TAGG)/src/bracket' ; \ | 70 | subdir='$(LIA_TAGG)/src/bracket' ; \ |
71 | echo "Making all in $$subdir" ; \ | 71 | echo "Making all in $$subdir" ; \ |
72 | cd $$subdir && $(MAKE) all | 72 | cd $$subdir && $(MAKE) all |
73 | 73 | ||
74 | # Cleaning binaries | 74 | # Cleaning binaries |
75 | clean : | 75 | clean : |
76 | rm $(LIA_TAGG)/bin/* | 76 | rm $(LIA_TAGG)/bin/* |
77 | rm $(LIA_TAGG)/object/* | 77 | rm $(LIA_TAGG)/object/* |
78 | 78 | ||
79 | # Compilation of data files | 79 | # Compilation of data files |
80 | 80 | ||
81 | ressource.all: ressource.english ressource.french | 81 | ressource.all: ressource.english ressource.french |
82 | 82 | ||
83 | ressource.english: | 83 | ressource.english: |
84 | chmod ug+x $(LIA_TAGG)/script/* | 84 | chmod ug+x $(LIA_TAGG)/script/* |
85 | csh $(LIA_TAGG)/script/lia_make_datalex.csh $(LIA_TAGG)/data/lex150k.en \ | 85 | csh $(LIA_TAGG)/script/lia_make_datalex.csh $(LIA_TAGG)/data/lex150k.en \ |
86 | $(LIA_TAGG)/data/lm3class.en.arpa | 86 | $(LIA_TAGG)/data/lm3class.en.arpa |
87 | $(LIA_TAGG)/bin/lia_compile_lexitree $(LIA_TAGG)/data/lex150k.en \ | 87 | $(LIA_TAGG)/bin/lia_compile_lexitree $(LIA_TAGG)/data/lex150k.en \ |
88 | $(LIA_TAGG)/data/lex150k.en.tab | 88 | $(LIA_TAGG)/data/lex150k.en.tab |
89 | $(LIA_TAGG)/bin/lia_compile_lexitree $(LIA_TAGG)/data/list_chif_virgule.en \ | 89 | $(LIA_TAGG)/bin/lia_compile_lexitree $(LIA_TAGG)/data/list_chif_virgule.en \ |
90 | $(LIA_TAGG)/data/list_chif_virgule.en.tab | 90 | $(LIA_TAGG)/data/list_chif_virgule.en.tab |
91 | csh $(LIA_TAGG)/script/lia_make_bracketlex.csh $(LIA_TAGG)/data/bracket_pattern.en \ | 91 | csh $(LIA_TAGG)/script/lia_make_bracketlex.csh $(LIA_TAGG)/data/bracket_pattern.en \ |
92 | $(LIA_TAGG)/data/lm3class.en.arpa.sirlex | 92 | $(LIA_TAGG)/data/lm3class.en.arpa.sirlex |
93 | 93 | ||
94 | ressource.french: | 94 | ressource.french: |
95 | chmod ug+x $(LIA_TAGG)/script/* | 95 | chmod ug+x $(LIA_TAGG)/script/* |
96 | csh $(LIA_TAGG)/script/lia_make_datalex.csh $(LIA_TAGG)/data/lex80k.fr \ | 96 | csh $(LIA_TAGG)/script/lia_make_datalex.csh $(LIA_TAGG)/data/lex80k.fr \ |
97 | $(LIA_TAGG)/data/lm3class.fr.arpa -accent | 97 | $(LIA_TAGG)/data/lm3class.fr.arpa -accent |
98 | $(LIA_TAGG)/bin/lia_compile_lexitree $(LIA_TAGG)/data/lex80k.fr \ | 98 | $(LIA_TAGG)/bin/lia_compile_lexitree $(LIA_TAGG)/data/lex80k.fr \ |
99 | $(LIA_TAGG)/data/lex80k.fr.tab | 99 | $(LIA_TAGG)/data/lex80k.fr.tab |
100 | $(LIA_TAGG)/bin/lia_compile_lexitree $(LIA_TAGG)/data/list_chif_virgule.fr \ | 100 | $(LIA_TAGG)/bin/lia_compile_lexitree $(LIA_TAGG)/data/list_chif_virgule.fr \ |
101 | $(LIA_TAGG)/data/list_chif_virgule.fr.tab | 101 | $(LIA_TAGG)/data/list_chif_virgule.fr.tab |
102 | $(LIA_TAGG)/bin/lia_compile_lexitree $(LIA_TAGG)/data/list_chif_virgule.fr.bdlex \ | 102 | $(LIA_TAGG)/bin/lia_compile_lexitree $(LIA_TAGG)/data/list_chif_virgule.fr.bdlex \ |
103 | $(LIA_TAGG)/data/list_chif_virgule.fr.bdlex.tab | 103 | $(LIA_TAGG)/data/list_chif_virgule.fr.bdlex.tab |
104 | csh $(LIA_TAGG)/script/lia_make_bracketlex.csh $(LIA_TAGG)/data/bracket_pattern.fr \ | 104 | csh $(LIA_TAGG)/script/lia_make_bracketlex.csh $(LIA_TAGG)/data/bracket_pattern.fr \ |
105 | $(LIA_TAGG)/data/lm3class.fr.arpa.sirlex | 105 | $(LIA_TAGG)/data/lm3class.fr.arpa.sirlex |
106 | 106 | ||
107 | # Cleaning binary data files | 107 | # Cleaning binary data files |
108 | clean_ressource: | 108 | clean_ressource: |
109 | rm $(LIA_TAGG)/data/lex*k.??.* | 109 | rm $(LIA_TAGG)/data/lex*k.??.* |
110 | rm $(LIA_TAGG)/data/lm3class.??.arpa.* | 110 | rm $(LIA_TAGG)/data/lm3class.??.arpa.* |
111 | rm $(LIA_TAGG)/data/bracket_pattern.??.* | 111 | rm $(LIA_TAGG)/data/bracket_pattern.??.* |
112 | rm $(LIA_TAGG)/data/list_chif_virgule.??.tab | 112 | rm $(LIA_TAGG)/data/list_chif_virgule.??.tab |
113 | 113 | ||
114 | 114 |
tools/lia_ltbox/yoyo
1 | <s> BOC challenge Isabelle Autissier le sauvetage par Jack | File was deleted | |
2 | Taylor Sydney premier jan | ||
3 | la navigatrice franc5aise Isabelle Autissier a ce1le1bre1 la | ||
4 | Nouvelle anne1e dimanche matin | ||
5 | heure locale bord de la fre1gate lance_missiles australienne | ||
6 | Darwin qui l' avait recueillie | ||
7 | quelques heures plus_to3t au_milieu_d' une mer de1monte1e </s> | ||
8 | <s> la jeune femme a3ge1e | ||
9 | de trente huit ans avait e1te1 arrache1e 6 heures 59 locales 19 | ||
10 | heures 59 GMT samedi au pont de son | ||
11 | bateau e1cureuil Poitou Charentes par un he1licopte2re Sea Hawk | ||
12 | envoye1 de la Darwin </s> | ||
13 | 1 | <s> BOC challenge Isabelle Autissier le sauvetage par Jack |
tools/lia_ltbox/yoyo2
1 | BOC challenge Isabelle Autissier le sauvetage par Jack | File was deleted | |
2 | Taylor Sydney premier jan | ||
3 | la navigatrice franc5aise Isabelle Autissier a ce1le1bre1 la | ||
4 | Nouvelle anne1e dimanche matin | ||
5 | heure locale bord de la fre1gate lance_missiles australienne | ||
6 | Darwin qui l' avait recueillie | ||
7 | quelques heures plus_to3t au_milieu_d' une mer de1monte1e. | ||
8 | |||
9 | La jeune femme a3ge1e | ||
10 | de trente huit ans avait e1te1 arrache1e 6 heures 59 locales 19 | ||
11 | heures 59 GMT samedi au pont de son | ||
12 | bateau e1cureuil Poitou Charentes par un he1licopte2re Sea Hawk | ||
13 | envoye1 de la Darwin. | ||
14 | 1 | BOC challenge Isabelle Autissier le sauvetage par Jack |