- java.lang.Object
-
- org.apache.lucene.util.AttributeSource
-
- org.apache.lucene.analysis.TokenStream
-
- org.apache.lucene.analysis.TokenFilter
-
- io.bdrc.lucene.bo.PaBaFilter
-
- All Implemented Interfaces:
- Closeable, AutoCloseable
public class PaBaFilter
extends org.apache.lucene.analysis.TokenFilter
Transforms བ and བོ into པ and པོ.
The filter is designed to be plugged after the TibAffixedFilter and will not
try to normalize affixed versions.
- Author:
- Elie Roux
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.lucene.util.AttributeSource
org.apache.lucene.util.AttributeSource.State
-
Field Summary
Fields
| Modifier and Type |
Field and Description |
static char[] |
paArray |
static char[] |
poArray |
-
Fields inherited from class org.apache.lucene.analysis.TokenFilter
input
-
Fields inherited from class org.apache.lucene.analysis.TokenStream
DEFAULT_TOKEN_ATTRIBUTE_FACTORY
-
Constructor Summary
Constructors
| Constructor and Description |
PaBaFilter(org.apache.lucene.analysis.TokenStream input) |
-
Method Summary
-
Methods inherited from class org.apache.lucene.analysis.TokenFilter
close, end, reset
-
Methods inherited from class org.apache.lucene.util.AttributeSource
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, endAttributes, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, removeAllAttributes, restoreState, toString
Copyright © 2019. All rights reserved.