Skip to content
Snippets Groups Projects
Commit 63783205 authored by Alexis Nasr's avatar Alexis Nasr
Browse files

modified some settings for universal dependencies

parent 8bf20604
Branches
Tags
No related merge requests found
......@@ -6,7 +6,7 @@ CFF_TRAIN=train.cff
FANN_TRAIN=train.fann
CFF_FANN_TRAIN=train.fann.cff
CFF_CUTOFF_TRAIN=train.cutoff.cff
PERCEPTRON_ITERATIONS=9
PERCEPTRON_ITERATIONS=4
CFF_CUTOFF=1
FEATURES_MODEL_FILENAME=../../fm/maca_trans_morpho.fm
FEATURES_MODEL_FANN_FILENAME=../../fm/maca_trans_tagger_fann.fm
......
No preview for this file type
#for ud, in order to try to better predict punctuation
#s0p b0p ldep_b0r
#s0p b0p ldep_b0p
b0m
s0m
b0m s0m
......
TOOLS=../../../tools
THRESHOLD=10
compile: train.mcf test.mcf dev.mcf
train.mcf: $(TRAIN)
$(TOOLS)/conllu2mcf -f $< -1W -2C -3F -4L -5H -6D > $@
$(TOOLS)/conll_keep_most_frequent_morpho_tags.pl $< $(THRESHOLD) > tmp
$(TOOLS)/conllu2mcf -f tmp -1W -2C -3F -4L -5H -6D > $@
test.mcf: $(TEST)
$(TOOLS)/conllu2mcf -f $< -1W -2C -3F -4L -5H -6D > $@
$(TOOLS)/conll_keep_most_frequent_morpho_tags.pl $< $(THRESHOLD) > tmp
$(TOOLS)/conllu2mcf -f tmp -1W -2C -3F -4L -5H -6D > $@
dev.mcf: $(TEST)
$(TOOLS)/conllu2mcf -f $< -1W -2C -3F -4L -5H -6D > $@
$(TOOLS)/conll_keep_most_frequent_morpho_tags.pl $< $(THRESHOLD) > tmp
$(TOOLS)/conllu2mcf -f tmp -1W -2C -3F -4L -5H -6D > $@
clean:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment