apertium/lexd

Name Conflicts between PATTERN and LEXICON

mr-martian opened this issue · 0 comments

This compiles, but probably shouldn't

PATTERNS
X
PATTERN X
[a]
LEXICON X
b

The lexicon overrides the pattern:

$ printf 'PATTERNS\nX\nPATTERN X\n[a]\nLEXICON X\nb\n' | lexd
0	1	b	b	0.000000	
1	0.000000