You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Rupert Westenthaler (JIRA)" <ji...@apache.org> on 2013/09/10 15:49:52 UTC
[jira] [Created] (LUCENE-5203) WordDelimiterFilter
stemEnglishPossessive option does not work for Tokens ending with a digit
Rupert Westenthaler created LUCENE-5203:
-------------------------------------------
Summary: WordDelimiterFilter stemEnglishPossessive option does not work for Tokens ending with a digit
Key: LUCENE-5203
URL: https://issues.apache.org/jira/browse/LUCENE-5203
Project: Lucene - Core
Issue Type: Bug
Components: modules/analysis
Reporter: Rupert Westenthaler
Priority: Minor
For Token ending with "{digit}'s" the WordDelimiterFilter ignores the stemEnglishPossessive configuration
e.g. in the text "SD500's poor underwater performance" the "'s" will not be stemmed from SD500 even if stemEnglishPossessive="1".
The reason is that "WordDelimiterIterator#endsWithPossessive(int pos)" checks for
isAlpha(charType(text[pos - 3]))
while it should also allow for isDigits(int type).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org