SergeyKotyushkin opened a new issue #419: URL: https://github.com/apache/lucenenet/issues/419
Hello! Our hunspell aff file contains some rules for suffixes and prefixes that have in affix 0 value. For example: _aff file_ ``` SET UTF-8 TRY esianrtolcdugmphbyfvkwzESIANRTOLCDUGMPHBYFVKWZ’ FLAG long SFX AA Y 1 SFX AA er 0 er ``` _dic file_ ``` 1 worker/AA ``` So if the `work` word is analyzed then the `worker` word must be returned. But returns `work` - the rule does not apply. The reason is the value of the affix 0, because changing the rule fixes the analysis: ``` SFX AA ker k er ``` I found in [code](https://github.com/apache/lucenenet/blob/f5cca0b1a7c855f2fe44a5cdd27763aab7acdf22/src/Lucene.Net.Analysis.Common/Analysis/Hunspell/Dictionary.cs#L459) a todo about zero-affix handling fix. But I don't understand if this todo relates to my problem or it is another one problem. If this the same problem could you tell me there is a plan to fix it soon? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
