amir-zeldes / xrenner

eXternally configurable REference and Non Named Entity Recognizer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Maximum morphological substring affix matching configuration is being ignored

amir-zeldes opened this issue · comments

The setting max_suffix_length in config.ini isn't actually being used here:

https://github.com/amir-zeldes/xrenner/blob/master/xrenner/modules/xrenner_marker.py#L631-L648

This should be fixed (read feature from lex.filters["max_suffix_length"] and apply to substring window size)