You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Dawid Weiss (JIRA)" <ji...@apache.org> on 2014/01/30 10:16:12 UTC
[jira] [Updated] (LUCENE-5421) MorfologicFilter doesn't stem
legitimate uppercase terms (surnames, proper nouns, etc.)
[ https://issues.apache.org/jira/browse/LUCENE-5421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dawid Weiss updated LUCENE-5421:
--------------------------------
Summary: MorfologicFilter doesn't stem legitimate uppercase terms (surnames, proper nouns, etc.) (was: MorfologicFilter doesn't stem properly invented names: surnames, rivers, etc.)
> MorfologicFilter doesn't stem legitimate uppercase terms (surnames, proper nouns, etc.)
> ---------------------------------------------------------------------------------------
>
> Key: LUCENE-5421
> URL: https://issues.apache.org/jira/browse/LUCENE-5421
> Project: Lucene - Core
> Issue Type: Bug
> Components: modules/analysis
> Affects Versions: 4.6.1
> Reporter: Grzegorz Sobczyk
> Assignee: Dawid Weiss
> Priority: Minor
>
> Morfologic filter search stems in input or lowercase format:
> org.apache.lucene.analysis.morfologik.MorfologikFilter.incrementToken()
> {code}
> if (!keywordAttr.isKeyword() && (lookupSurfaceForm(termAtt) || lookupSurfaceForm(toLowercase(termAtt)))) {
> [...]
> }
> {code}
> In this situation, if input token is *sienkiewicza* - it isn't stemmed
> but: *Sienkiewicza* --> *Sienkiewicz*
> for comparison:
> *pRoDuKtY* --> *produkt*
> It should stem also input token with capitalized first letter
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org