EstSyntax / EstCG

Tools and resources for Estonian Constraint Grammar
1 stars 0 forks source link

Lots of warnings and unexpected newline symbols when running the example "test.sh test.txt" #2

Open Kaljurand opened 8 years ago

Kaljurand commented 8 years ago

Running

./test.sh test.txt

gives lots of warnings and unexpected newline symbols, and a different output than in test.txt.cg3.

$ ./test.sh test.txt
pindsyn.rul: Warning: Expected closing ; on line 1166 after previous rule!
pindsyn.rul: Warning: Expected closing ; on line 1182 after previous rule!
pindsyn.rul: Warning: Expected closing ; on line 1956 after previous rule!
Warning:  "text": "Mitmekesisus"\n }, on line 1 looked like a reading but wasn't - treated as text.
Warning:  ""text": "Mitmekesisus"\n }," Z Com on line 2 looked like a reading but wasn't - treated as text.
Warning:  "text": "on"\n }, on line 3 looked like a reading but wasn't - treated as text.
Warning:  ""text": "on"\n }," Z Com on line 4 looked like a reading but wasn't - treated as text.
Warning:  "text": "elu"\n }, on line 5 looked like a reading but wasn't - treated as text.
Warning:  ""text": "elu"\n }," Z Com on line 6 looked like a reading but wasn't - treated as text.
Warning:  "text": "vaieldamatu"\n }, on line 7 looked like a reading but wasn't - treated as text.
Warning:  ""text": "vaieldamatu"\n }," Z Com on line 8 looked like a reading but wasn't - treated as text.
Warning:  "text": "omapära"\n }, on line 9 looked like a reading but wasn't - treated as text.
Warning:  ""text": "omapära"\n }," Z Com on line 10 looked like a reading but wasn't - treated as text.
Warning:  "text": "."\n }\n ]\n }\n ]\n }\n ]\n} on line 11 looked like a reading but wasn't - treated as text.
Warning:  ""text": "."\n }\n ]\n }\n ]\n }\n ]\n}" Z on line 12 looked like a reading but wasn't - treated as text.
morfyhe.rul: Warning: Expected closing ; on line 1039 after previous rule!
morfyhe.rul: Warning: Expected closing ; on line 1040 after previous rule!
...

Versions of dependencies:

$ vislcg3 --version
VISL CG-3 Disambiguator version 0.9.9.11144

etana: https://github.com/Filosoft/vabamorf/commit/7676a593376cc25ac2e8ba03ef60adc02b8ef1bc

kailimp commented 8 years ago

The new version of vabamorf changed output. Known bug, will be fixed soon. So far use sed -e "s/[]n/\n/g"on vabamorf's output.