Closed johnb30 closed 8 years ago
Actually the input to do_coding
needs to look like sentence 1, but hypnos would send a sentence that looks like 2 or 3. (Though apparently Github is killing the spacing on the examples.....basically 2 has more spaces than 1)
Closing because this doesn't matter/was a different error.
This sentence codes:
1)
'(S (NP (NNP GERMANY ) ) (VP (VBD INVADED ) (NP (NNP FRANCE ) ) ) ) '
This sentence doesn't:
2)
'(S (NP (NNP GERMANY ) ) (VP (VBD INVADED ) (NP (NNP FRANCE ) ) ) ) '
The needed input looks like:
3)
(ROOT (S (NP (NNP GERMANY)) (VP (VBD INVADED) (NP (NNP FRANCE)))))
The difference is in the space between the parentheses. This has apparently changed at some point since a lot of helper software I have has broken so the format of the parse tree needs to be 1) documented and 2) frozen.