Makefile 1.46 KB
Newer Older
priyank's avatar
priyank committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
PREFIX = $(setu)

COMPILE_MODULE =  $(PREFIX)/src/sl/morph/hin/ 

INSTALL_MODULE =  $(PREFIX)/src/sl/tokenizer-indic-1.9 $(PREFIX)/src/sl/morph/hin $(PREFIX)/src/sl/postagger-2.2 $(PREFIX)/src/sl/chunker-1.5 $(PREFIX)/src/sl/pruning-1.9 $(PREFIX)/src/sl/verb-reorder-0.5 $(PREFIX)/src/sl/pickonemorph-1.1 $(PREFIX)/src/sl/repair/hin_kan-2.4.2 $(PREFIX)/src/sl/headcomputation-1.8 $(PREFIX)/src/sl/vibhakticomputation-2.3.4 $(PREFIX)/src/sl/simple_parser_hin-1.1.1 $(PREFIX)/src/tl/root_to_infinity-1.3 $(PREFIX)/src/sl_tl/transfergrammar $(PREFIX)/src/sl_tl/multiword/hin-kan-2.4.1 $(PREFIX)/src/sl_tl/transliteration-3.4 $(PREFIX)/src/tl/agreementfeature/kan $(PREFIX)/src/tl/vibhaktispliter-2.3 $(PREFIX)/src/tl/interchunk/kan-2.4 $(PREFIX)/src/tl/intrachunk/kan-2.6 $(PREFIX)/src/tl/wordgenerator/kan-2.1 $(PREFIX)/src/tl/post_processor/kan-1.2

compile:
	@for d in $(COMPILE_MODULE); \
	do (cd $$d && $(MAKE) compile); \
	done
	@echo -e "few modules DATA like postagger, chunker and NER are NOT compiled because it take few days";
	@echo -e "for compiling these modules data go to concern module directory and read documentation";
	@echo -e "run data compile/train shell script on annotated DATA";
	@echo -e "pipeline compilation successfully completed";



install:
	@for d in $(INSTALL_MODULE); \
	do (cd $$d && $(MAKE) install); \
	done
# rule for cleaning files generated during compilations.
uninstall : clean

clean:
	@for d in $(INSTALL_MODULE); \
	do (cd $$d && $(MAKE) clean); \
	done