Fixed a typo in the config of light finnish stemmer (old last_finish is still supported for backward compatibility)
Closes #3594
This commit is contained in:
parent
822043347e
commit
e807c99f27
|
@ -37,7 +37,7 @@ http://snowball.tartarus.org/algorithms/swedish/stemmer.html[swedish],
|
|||
http://snowball.tartarus.org/algorithms/turkish/stemmer.html[turkish],
|
||||
http://www.medialab.tfe.umu.se/courses/mdm0506a/material/fulltext_ID%3D10049387%26PLACEBO%3DIE.pdf[minimal_english],
|
||||
http://lucene.apache.org/core/4_3_0/analyzers-common/index.html?org%2Fapache%2Flucene%2Fanalysis%2Fen%2FEnglishPossessiveFilter.html[possessive_english],
|
||||
http://clef.isti.cnr.it/2003/WN_web/22.pdf[light_finish],
|
||||
http://clef.isti.cnr.it/2003/WN_web/22.pdf[light_finnish],
|
||||
http://dl.acm.org/citation.cfm?id=1141523[light_french],
|
||||
http://dl.acm.org/citation.cfm?id=318984[minimal_french],
|
||||
http://dl.acm.org/citation.cfm?id=1141523[light_german],
|
||||
|
|
|
@ -134,6 +134,9 @@ public class StemmerTokenFilterFactory extends AbstractTokenFilterFactory {
|
|||
} else if ("possessive_english".equalsIgnoreCase(language) || "possessiveEnglish".equalsIgnoreCase(language)) {
|
||||
return new EnglishPossessiveFilter(version, tokenStream);
|
||||
} else if ("light_finish".equalsIgnoreCase(language) || "lightFinish".equalsIgnoreCase(language)) {
|
||||
// leaving this for backward compatibility
|
||||
return new FinnishLightStemFilter(tokenStream);
|
||||
} else if ("light_finnish".equalsIgnoreCase(language) || "lightFinnish".equalsIgnoreCase(language)) {
|
||||
return new FinnishLightStemFilter(tokenStream);
|
||||
} else if ("light_french".equalsIgnoreCase(language) || "lightFrench".equalsIgnoreCase(language)) {
|
||||
return new FrenchLightStemFilter(tokenStream);
|
||||
|
|
Loading…
Reference in New Issue