Skip to content
Snippets Groups Projects
Commit e73391bf authored by Franck Dary's avatar Franck Dary
Browse files

Removed l_rules from Makefile

parent 11b96463
No related branches found
No related tags found
No related merge requests found
...@@ -11,10 +11,8 @@ TEST_FILES=$(shell find $(CORPUS) -type f -name '*test*.conllu') ...@@ -11,10 +11,8 @@ TEST_FILES=$(shell find $(CORPUS) -type f -name '*test*.conllu')
#This part is for lemmatizer rules and excpetions computation #This part is for lemmatizer rules and excpetions computation
THRESHOLD=10 THRESHOLD=10
FPLM_FILENAME=fplm FPLM_FILENAME=fplm
RULES_FILENAME=lemmatizer_rules.ts
EXCEPTIONS_FPLM_FILENAME=maca_trans_lemmatizer_exceptions.fplm
all: tokenizer.ts segmenter.ts texts all_no_test.conllu columns $(FPLM_FILENAME) $(RULES_FILENAME) all: tokenizer.ts segmenter.ts texts all_no_test.conllu columns
rm -f col_*\.txt rm -f col_*\.txt
rm -f all_no_test.conllu rm -f all_no_test.conllu
...@@ -54,16 +52,9 @@ texts: ...@@ -54,16 +52,9 @@ texts:
$(FPLM_FILENAME): all_no_test.conllu $(MCD) $(FPLM_FILENAME): all_no_test.conllu $(MCD)
$(SCRIPTS)/conllu2fplm.py $< $(MCD) > $@ $(SCRIPTS)/conllu2fplm.py $< $(MCD) > $@
$(RULES_FILENAME): $(FPLM_FILENAME)
macaon_compute_l_rules -f $(FPLM_FILENAME) -e $(EXCEPTIONS_FPLM_FILENAME) -r tmp.txt -t $(THRESHOLD)
rm -f tmp.txt
echo -e "Default : NOTHING\nTOLOWER b.0 LEMMA\nTOUPPER b.0 LEMMA" > lemmatizer_case.ts
clean: clean:
- rm -f *\.txt - rm -f *\.txt
- rm -f *\.conll* - rm -f *\.conll*
- rm -f *\.ts - rm -f *\.ts
- rm -f $(RULES_FILENAME)
- rm -f $(EXCEPTIONS_FPLM_FILENAME)
- rm -f $(FPLM_FILENAME) - rm -f $(FPLM_FILENAME)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment