protected class CompoundWordTokenFilterBase.CompoundToken extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
endOffset |
int |
startOffset |
CharSequence |
txt |
| Constructor and Description |
|---|
CompoundToken(int offset,
int length)
Construct the compound token based on a slice of the current
CompoundWordTokenFilterBase.termAtt. |
public final CharSequence txt
public final int startOffset
public final int endOffset
public CompoundToken(int offset,
int length)
CompoundWordTokenFilterBase.termAtt.offset - the initial offsetlength - the token lengthCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.