apertium/lexd

No error when segment index doesn't exist

Closed this issue · 1 comments

Realized after making some edits that some of my patterns were calling Stem(5) even though there were no longer 5 segments in the lexicon (LEXICON Stem(3)). However, it compiled without any errors, which seems like bad behavior.

I just tried to make a minimal example, and I did get a part is out of range error, so I'll have to look more closely at our example to see what is happening there.