Changeset f600a02
- Timestamp:
- 12/20/13 01:30:39 (11 years ago)
- Branches:
- master
- Children:
- f924e4b
- Parents:
- d6a59ca
- git-author:
- Tomasz Obrebski <obrebski@…> (12/20/13 01:30:39)
- git-committer:
- Tomasz Obrebski <obrebski@…> (12/20/13 01:30:39)
- Files:
-
- 1 deleted
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r243d027 rf600a02 36 36 .PHONY: share 37 37 share: 38 @for lang in $(LANGUAGES); do\ 39 cd $(CUR_DIR)/share/$$lang && make; cd $(CUR_DIR); \ 40 done 41 cd $(CUR_DIR)/share && make; cd $(CUR_DIR) 38 42 39 43 # ------------------------------------------------------------------ … … 41 45 # ------------------------------------------------------------------ 42 46 .PHONY: clean 43 clean: clean_components clean_ documentation clean_config clean_config_mak47 clean: clean_components clean_share clean_documentation clean_config clean_config_mak 44 48 @echo "All files cleaned successfully!" 45 49 … … 54 58 clean_documentation: 55 59 cd $(CUR_DIR)/doc && make clean; cd $(CUR_DIR) 60 61 .PHONY: clean_share 62 clean_share: 63 @for lang in $(LANGUAGES); do\ 64 cd $(CUR_DIR)/share/$$lang && make clean; cd $(CUR_DIR); \ 65 done 66 cd $(CUR_DIR)/share && make clean; cd $(CUR_DIR) 56 67 57 68 .PHONY: clean_config … … 100 111 install_share: share 101 112 cd $(CUR_DIR)/share && make install; cd $(CUR_DIR) 113 #dictionaries compilation... 114 #compdic 102 115 #grammar compilation... 103 dgc104 116 105 117 # ------------------------------------------------------------------ -
conf/dgc.conf.m4
rd2f119e rf600a02 12 12 # 13 13 categories = LANG_DIR/LANGUAGE/lem.cats 14 # categories = /home/to/dane/pmdbf/lem.cats15 14 grammar = LANG_DIR/gram.dgc 16 # grammar = /home/to/dane/grammar/gram.dgc17 15 outputfile = LANG_DIR/gram.dgp 18 # outputfile = /home/to/dane/grammar/gram.dgp -
conf/dgp.conf.m4
r3b02b04 rf600a02 13 13 14 14 grammar = LANG_DIR/gram.dgp 15 # grammar = /home/to/dane/grammar/gram.dgp16 15 process = W 17 16 process = BOS -
configure
rabd28d1 rf600a02 90 90 libdir="${PREFIX}/lib/utt" 91 91 92 languages="pl_PL.ISO-8859-2" 92 93 language="pl_PL.ISO-8859-2" 93 94 … … 243 244 echo "LANG_DIR=$langdir" >> config.mak 244 245 echo "LIB_DIR=$libdir" >> config.mak 246 echo "LANGUAGES=$languages" >> config.mak 245 247 echo "LANGUAGE=$language" >> config.mak 246 248 echo "CC=$cc" >> config.mak … … 284 286 echo "langdir: $langdir" 285 287 echo "libdir: $libdir" 288 echo "languages: $languages" 286 289 echo "language: $language" 287 290 enabled doc && { -
share/Makefile
rd2f119e rf600a02 1 1 include ../config.mak 2 3 4 TARGETS = gram.dgp 5 6 .PHONY: all 7 all: $(TARGETS) 8 9 # ------------------------------------------------------------------ 10 # main section 11 # ------------------------------------------------------------------ 12 13 gram.dgp: gram.dgc 14 dgc --grammar=gram.dgc --categories=$(LANGUAGE)/lem.cats --outputfile=gram.dgp 15 2 16 3 17 .PHONY: install … … 13 27 install -m 0644 pl_PL.ISO-8859-2/pl_PL.ISO-8859-2.sym $(LANG_DIR)/pl_PL.ISO-8859-2 14 28 install -m 0644 pl_PL.UTF-8/lem.bin $(LANG_DIR)/pl_PL.UTF-8 15 install -m 0644 gram.dg c$(LANG_DIR)29 install -m 0644 gram.dgp $(LANG_DIR) 16 30 install -m 0644 weights.kor $(LANG_DIR) 17 31 endif … … 32 46 rmdir $(LANG_DIR)/pl_PL.UTF-8 33 47 endif 48 49 50 .PHONY: clean 51 clean: 52 rm -f gram.dgp 53 -
src/compdic/Makefile
r555c7f8 rf600a02 20 20 install -m 0755 compdic-update-cats $(BIN_DIR) 21 21 install -m 0755 compdic-dic-to-fst $(BIN_DIR) 22 install -m 0755 compdic-dic-to-cats $(BIN_DIR) 22 23 install -m 0755 compdic-fst-to-bin $(BIN_DIR) 23 24 … … 35 36 rm $(BIN_DIR)/compdic-update-cats 36 37 rm $(BIN_DIR)/compdic-dic-to-fst 38 rm $(BIN_DIR)/compdic-dic-to-cats 37 39 rm $(BIN_DIR)/compdic-fst-to-bin 38 40 -
src/compdic/compdic
r555c7f8 rf600a02 139 139 * 93 140 140 + 94 141 Ö 95 141 142 EOF 142 143 -
src/compdic/compdic-dic-to-fst
r555c7f8 rf600a02 144 144 * 93 145 145 + 94 146 Ö 95 146 147 EOF 147 148 -
src/compdic/compdic-fst-to-bin
r555c7f8 rf600a02 111 111 * 93 112 112 + 94 113 Ö 95 113 114 EOF 114 115
Note: See TracChangeset
for help on using the changeset viewer.