Changeset abd28d1
- Timestamp:
- 02/22/12 23:10:23 (13 years ago)
- Branches:
- master
- Children:
- a15e59b
- Parents:
- b242df2
- git-author:
- Tomasz Obrebski <to@…> (02/22/12 23:10:23)
- git-committer:
- Tomasz Obrebski <to@…> (02/22/12 23:10:23)
- Files:
-
- 1 added
- 8 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
conf/Makefile
rb242df2 rabd28d1 2 2 3 3 .PHONY: all 4 all: comp iledic.conf cor.conf dgc.conf dgp.conf gph.conf grp.conf gue.conf kor.conf lem.conf mar.conf ser.conf utt.conf4 all: compdic.conf cor.conf dgc.conf dgp.conf gph.conf grp.conf gue.conf kor.conf lem.conf mar.conf ser.conf utt.conf 5 5 6 6 %.conf: %.conf.m4 7 m4 --define=LANG_DIR=${LANG_DIR} --define=LIB_DIR=${LIB_DIR} $< > $@7 m4 --define=LANG_DIR=${LANG_DIR} --define=LIB_DIR=${LIB_DIR} --define=LANGUAGE=${LANGUAGE} $< > $@ 8 8 9 9 -
conf/compdic.conf.m4
rcfdf333 rabd28d1 11 11 # parameter_name [=] value 12 12 # 13 symbols = LANG_DIR/ pl_PL.ISO-8859-2/pl_PL.ISO-8859-2.sym13 symbols = LANG_DIR/LANGUAGE/LANGUAGE.sym -
conf/dgc.conf.m4
rcfdf333 rabd28d1 11 11 # parameter_name [=] value 12 12 # 13 categories = LANG_DIR/ cats.dgc13 categories = LANG_DIR/LANGUAGE/lem.bin.cats 14 14 grammar = LANG_DIR/gram.dgc 15 15 outputfile = LANG_DIR/gram.dgp -
conf/lem.conf.m4
rcfdf333 rabd28d1 11 11 # parameter_name [=] value 12 12 # 13 dictionary-home = LANG_DIR 13 dictionary = LANG_DIR/LANGUAGE/lem.bin 14 #dictionary-home = LANG_DIR 14 15 process = W -
conf/utt.conf.m4
rcfdf333 rabd28d1 12 12 # 13 13 # user locale (dictionary) 14 language = pl_PL.ISO-8859-214 language = LANGUAGE -
configure
re7de6cc rabd28d1 56 56 echo " --libdir=LIBDIR install libraries in LIBDIR [$libdir]" 57 57 echo 58 echo " --enable-static build static versions [no]" 58 echo " --language=LANGUAGE select language" 59 echo 60 echo " --enable-static build static versions [no]" 59 61 echo " --enable-doc build documentation [yes]" 60 62 echo " --enable-utf8 build UTF-8 versions of applications [no]" 61 62 63 echo 64 echo " --cc=CC use C compiler CC [$cc_default]" 63 65 echo " --cxx=CXX use C++ compiler CXX [$cxx_default]" 64 66 echo " --gengetopt=GGO use gengetopt GGO [$gengetopt_default]" 65 67 echo " --flex=FLEX use flex FLEX [$flex_default]" 66 68 echo " --makeinfo=MAKEINFO use makeinfo MAKEINFO [$makeinfo_default]" 67 69 echo " --texi2dvi=TEXI2DVI use texi2dvi TEXI2DVI [$texi2dvi_default]" 68 70 echo " --texi2pdf=TEXI2PDF use texi2pdf TEXI2PDF [$texi2pdf_default]" … … 87 89 langdir="${PREFIX}/share/utt" 88 90 libdir="${PREFIX}/lib/utt" 91 92 language="pl_PL.ISO-8859-2" 89 93 90 94 cc_default="gcc" … … 148 152 libdir="$optval" 149 153 ;; 154 --language=*) 155 language="$optval" 156 ;; 150 157 --cc=*) 151 158 cc="$optval" … … 157 164 gengetopt="$optval" 158 165 ;; 159 160 flex="$optval"161 166 --flex=*) 167 flex="$optval" 168 ;; 162 169 --makeinfo=*) 163 170 makeinfo="$optval" … … 236 243 echo "LANG_DIR=$langdir" >> config.mak 237 244 echo "LIB_DIR=$libdir" >> config.mak 245 echo "LANGUAGE=$language" >> config.mak 238 246 echo "CC=$cc" >> config.mak 239 247 echo "CXX=$cxx" >> config.mak … … 276 284 echo "langdir: $langdir" 277 285 echo "libdir: $libdir" 286 echo "language: $language" 278 287 enabled doc && { 279 288 echo "makeinfo: $makeinfo" -
share/Makefile
r5f4d9c3 rabd28d1 9 9 install -m 0644 pl_PL.ISO-8859-2/gue.bin $(LANG_DIR)/pl_PL.ISO-8859-2 10 10 install -m 0644 pl_PL.ISO-8859-2/lem.bin $(LANG_DIR)/pl_PL.ISO-8859-2 11 install -m 0644 pl_PL.ISO-8859-2/lem.bin.cats $(LANG_DIR)/pl_PL.ISO-8859-2 11 12 install -m 0644 pl_PL.ISO-8859-2/pl_PL.ISO-8859-2.sym $(LANG_DIR)/pl_PL.ISO-8859-2 12 13 install -m 0644 pl_PL.UTF-8/lem.bin $(LANG_DIR)/pl_PL.UTF-8 13 install -m 0644 cats.dgc $(LANG_DIR)14 14 install -m 0644 gram.dgc $(LANG_DIR) 15 15 install -m 0644 weights.kor $(LANG_DIR) … … 21 21 rm $(LANG_DIR)/weights.kor 22 22 rm $(LANG_DIR)/gram.dgc 23 rm $(LANG_DIR)/cats.dgc24 23 rm $(LANG_DIR)/pl_PL.UTF-8/lem.bin 25 24 rm $(LANG_DIR)/pl_PL.ISO-8859-2/pl_PL.ISO-8859-2.sym 25 rm $(LANG_DIR)/pl_PL.ISO-8859-2/lem.bin.cats 26 26 rm $(LANG_DIR)/pl_PL.ISO-8859-2/lem.bin 27 27 rm $(LANG_DIR)/pl_PL.ISO-8859-2/gue.bin -
src/compdic/compdic
re7de6cc rabd28d1 172 172 done 173 173 174 cat $automaton | fsttopsort | fstprint --acceptor --isymbols=$alphabet > aaaa 175 cat aaaa | fsm2aut | aut2fsa > $2 174 echo generating binary automaton file ... 175 176 cat $automaton | fsttopsort | fstprint --acceptor --isymbols=$alphabet | fsm2aut | aut2fsa > $2 176 177 rm -r $tempdir 178 179 echo generating cats file ... 180 181 cat $1 | cut -d ',' -f 2 | sort -u $2.cats
Note: See TracChangeset
for help on using the changeset viewer.