public class MLTokenDuplicator
extends org.apache.lucene.analysis.TokenStream
| Constructor and Description |
|---|
MLTokenDuplicator(Locale locale,
org.alfresco.repo.search.MLAnalysisMode mlAnalysisMode) |
MLTokenDuplicator(org.apache.lucene.analysis.TokenStream source,
Locale locale,
Reader reader,
org.alfresco.repo.search.MLAnalysisMode mlAnalysisMode) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<org.apache.lucene.analysis.tokenattributes.PackedTokenAttributeImpl> |
buildIterator(org.apache.lucene.analysis.tokenattributes.PackedTokenAttributeImpl token) |
void |
close() |
void |
end() |
boolean |
incrementToken() |
void |
reset() |
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, endAttributes, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, removeAllAttributes, restoreState, toStringpublic MLTokenDuplicator(org.apache.lucene.analysis.TokenStream source,
Locale locale,
Reader reader,
org.alfresco.repo.search.MLAnalysisMode mlAnalysisMode)
public MLTokenDuplicator(Locale locale, org.alfresco.repo.search.MLAnalysisMode mlAnalysisMode)
locale - mlAnalysisMode - public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.apache.lucene.analysis.TokenStreamIOExceptionpublic void reset()
throws IOException
reset in class org.apache.lucene.analysis.TokenStreamIOExceptionpublic void end()
throws IOException
end in class org.apache.lucene.analysis.TokenStreamIOExceptionpublic Iterator<org.apache.lucene.analysis.tokenattributes.PackedTokenAttributeImpl> buildIterator(org.apache.lucene.analysis.tokenattributes.PackedTokenAttributeImpl token)
public final boolean incrementToken()
throws IOException
incrementToken in class org.apache.lucene.analysis.TokenStreamIOExceptionCopyright © 2005–2019 Alfresco Software. All rights reserved.