public final class ScandinavianNormalizationFilter extends TokenFilter
It's a semantically less destructive solution than ScandinavianFoldingFilter
,
most useful when a person with a Norwegian or Danish keyboard queries a Swedish index
and vice versa. This filter does not the common Swedish folds of å and ä to a nor ö to o.
blåbærsyltetøj == blåbärsyltetöj == blaabaarsyltetoej but not blabarsyltetoj räksmörgås == ræksmørgås == ræksmörgaos == raeksmoergaas but not raksmorgas
ScandinavianFoldingFilter
AttributeSource.State
input
DEFAULT_TOKEN_ATTRIBUTE_FACTORY
Constructor and Description |
---|
ScandinavianNormalizationFilter(TokenStream input) |
Modifier and Type | Method and Description |
---|---|
boolean |
incrementToken() |
close, end, reset
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, endAttributes, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, removeAllAttributes, restoreState, toString
public ScandinavianNormalizationFilter(TokenStream input)
public boolean incrementToken() throws IOException
incrementToken
in class TokenStream
IOException
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.