mhulden / foma

Automatically exported from code.google.com/p/foma

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

In lexicon missing ";" (closing of a rule) is not recognized and not reported

GoogleCodeExporter opened this issue · comments

What steps will reproduce the problem?
1.
LEXICON Ninf

+Noun+Sg:0   #;
+Noun+Det:det   #;
+Noun+Det:acc   #;
+Noun+Pl:^s  CaseN;

2.
We loose closing of case Det:
LEXICON Ninf

+Noun+Sg:0   #;
+Noun+Det:det   
+Noun+Det:acc   #;
+Noun+Pl:^s  CaseN;

3.

What is the expected output? 

Compiler should report an error

What do you see instead?
defined Cleanup: 268 bytes. 1 state, 2 arcs, Cyclic.
Root...3, Noun...7, Verb...6, Misc...1, Ninf...3, CaseN...1, Vinf...5, Nmisc...1
Building lexicon...
Determinizing...
Minimizing...
Done!
1.9 kB. 57 states, 75 arcs, 52 paths.
defined Lexicon: 1.9 kB. 57 states, 75 arcs, 52 paths.
defined Grammar: 2.4 kB. 72 states, 102 arcs, 52 paths.
defined Grammarup: 3.0 kB. 72 states, 102 arcs, 52 paths.
3.1 kB. 72 states, 110 arcs, 101 paths.
Foma, version 0.9.16alpha


What version of the product are you using? On what operating system?
Foma, version 0.9.16alpha
Linux, debian

Please provide any additional information below.


Original issue reported on code.google.com by eleonor...@gmx.net on 6 Sep 2012 at 3:05

Attachments: