Menu

#306 hfst-lexc fails if there's a linebreak before semicolon

future
open
nobody
1
2015-08-26
2015-08-26
No

https://victorio.uit.no/langtech/trunk/langs/smn/src/morphology/stems/numerals.lexc@119427 contained

LEXICON LOGItt
love+Num: ttLOVE ;
lov+Num: ttLOV
 ;
lov ONES ;

which made hfst@4424 fail with

syntax error, unexpected ';', expecting LEXICON_NAME [near: `;']

(while Xerox accepted it)

$ hfst-info
No tests selected; printing known data
HFST info version: 0.1
HFST packaging: hfst 3.8.3
HFST version: 3.8.3
HFST long version: 300080002
HFST configuration revision: $Revision: 4409 $
OpenFst supported
SFST supported
Unicode support: no (hfst)

$ hfst-lexc --version
hfst-lexc 0.1 (hfst 3.8.3)

Discussion