Permalink
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...
Gabor Recski
Gabor Recski committed Apr 29, 2015
1 parent e66d96f commit 64ea44603679ed5485152fd7672b0effa8de91b6
@@ -2,3 +2,9 @@
*.pyc
*.swp
data
test
input

build
dist
*egg-info
@@ -37,3 +37,7 @@ graph_dir = test/graphs/wikt_test

[deps]
dep_map = dep_to_4lang.txt

[qa]
input_file = test/input/clef_qa_sample.xml
output_file = test/qa/clef_qa_sample.answers
@@ -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

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 64ea446

Please sign in to comment.