Permalink
Please sign in to comment.
Browse files
bunch of boilerplate code for qa system
some other minor changes, bit of cleanup, updated gitignore modified: .gitignore modified: conf/default.cfg new file: conf/qa.cfg new file: conf/wikt_medium.cfg new file: conf/wikt_small.cfg deleted: default_index deleted: longman_old modified: src/fourlang/clef_qa_parser.py modified: src/fourlang/dep_to_4lang.py new file: src/fourlang/qa.py modified: src/fourlang/text_to_4lang.py modified: src/fourlang/utils.py renamed: input/clef_qa_sample.xml -> test/input/clef_qa_sample.xml
- Loading branch information...
Showing
with
94 additions
and 597 deletions.
- +6 −0 .gitignore
- +4 −0 conf/default.cfg
- +3 −0 conf/qa.cfg
- +9 −0 conf/wikt_medium.cfg
- +9 −0 conf/wikt_small.cfg
- +0 −150 default_index
- +0 −444 longman_old
- +2 −2 src/fourlang/clef_qa_parser.py
- +3 −0 src/fourlang/dep_to_4lang.py
- +55 −0 src/fourlang/qa.py
- +2 −1 src/fourlang/text_to_4lang.py
- +1 −0 src/fourlang/utils.py
- 0 { → test}/input/clef_qa_sample.xml
@@ -0,0 +1,3 @@ | |||
[qa] | |||
input_file = test/input/clef_qa_sample.xml | |||
output_file = test/qa/clef_qa_sample.answers |
@@ -0,0 +1,9 @@ | |||
[dict] | |||
input_type = wiktionary | |||
input_file = test/input/wikt_medium.xml | |||
output_file = test/dict/wikt_medium.json | |||
|
|||
[machine] | |||
definitions = data/machines/4lang.pickle:0 | |||
ext_definitions = test/machines/wikt_medium.pickle | |||
graph_dir = test/graphs/wikt_medium |
@@ -0,0 +1,9 @@ | |||
[dict] | |||
input_type = wiktionary | |||
input_file = test/input/wikt_small.xml | |||
output_file = test/dict/wikt_small.json | |||
|
|||
[machine] | |||
definitions = data/machines/4lang.pickle:0 | |||
ext_definitions = test/machines/wikt_small.pickle | |||
graph_dir = test/graphs/wikt_small |
Oops, something went wrong.
0 comments on commit
64ea446