Commit 3f7e454b authored by Bruno Guillaume's avatar Bruno Guillaume

add process doc

parent 218cb394
self_doc: self_doc:
@echo "make update --> Rebuild sequoia.surf.conll and sequoia.deep.conll" @echo "make update --> In trunk, Rebuild 3 conll files from cupt file"
@echo "make clean --> Remove automatically built files" @echo "make clean --> Remove automatically built files"
@echo "make mwe --> List and count MWE in Sequoia" @echo "make mwe --> List and count MWE in Sequoia"
update: update:
cut -f 1-10 PARSEME-FR/sequoia-ftb.deep_and_surf.cupt_parsemefr > trunk/sequoia.deep_and_surf.conll cut -f 1-10 trunk/sequoia.deep_and_surf.parseme.cupt > trunk/sequoia.deep_and_surf.conll
grew transform -grs tools/sequoia_proj.grs -strat surf -i trunk/sequoia.deep_and_surf.conll -o trunk/sequoia.surf.conll grew_dev transform -grs tools/sequoia_proj.grs -strat surf -i trunk/sequoia.deep_and_surf.conll -o trunk/sequoia.surf.conll
grew transform -grs tools/sequoia_proj.grs -strat deep -i trunk/sequoia.deep_and_surf.conll -o trunk/sequoia.deep.conll grew_dev transform -grs tools/sequoia_proj.grs -strat deep -i trunk/sequoia.deep_and_surf.conll -o trunk/sequoia.deep.conll
clean: clean:
rm -f trunk/sequoia.surf.conll trunk/sequoia.deep.conll rm -f trunk/sequoia.surf.conll trunk/sequoia.deep.conll
......
compile:
dot -Tsvg -o process.svg process.dot
digraph G {
node [shape=box, fontname=Menlo]
das_cupt [shape=box; label = "trunk/sequoia.deep_and_surf.parseme.cupt", style=filled, fillcolor="#ABCDEF"]
das_conll [shape=box; label = "trunk/sequoia.deep_and_surf.conll", style=filled, fillcolor="#A5D993"]
cut [shape=Mrecord, style=rounded, label = "cut -f 1-10"]
das_cupt -> cut -> das_conll;
s_conll [shape=box; label = "trunk/sequoia.surf.conll", style=filled, fillcolor="#A5D993"]
grew_surf [shape=Mrecord, style=rounded, label = "sequoia_proj.grs (strat=surf)"]
das_conll -> grew_surf -> s_conll;
d_conll [shape=box; label = "trunk/sequoia.deep.conll", style=filled, fillcolor="#A5D993"]
grew_deep [shape=Mrecord, style=rounded, label = "sequoia_proj.grs (strat=deep)"]
das_conll -> grew_deep -> d_conll;
ud_seq [shape=box, label = "ud/fr_sequoia-ud.conllu", style=filled, fillcolor="#A5D993"]
ssq_ud [shape=Mrecord, style=rounded, label = "ssq_to_ud/main.grs"]
s_conll -> ssq_ud -> ud_seq
s_cupt [shape=box; label = "trunk/sequoia.surf.parseme.cupt", style=filled, fillcolor="#ABCDEF"]
grew_surf_cupt [shape=Mrecord, style=rounded, label = "sequoia_proj.grs (strat=surf)"]
das_cupt -> grew_surf_cupt -> s_cupt;
ud_seq_cupt [shape=box, label = "ud/fr_sequoia-ud.parseme.cupt", style=filled, fillcolor="#ABCDEF"]
ssq_ud_cupt [shape=Mrecord, style=rounded, label = "ssq_to_ud/main.grs"]
s_cupt -> ssq_ud_cupt -> ud_seq_cupt
{rank=same; grew_surf; grew_deep; grew_surf_cupt}
{rank=same; d_conll; s_conll; s_cupt}
}
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment