public class NGramHandler extends java.lang.Object implements LinguisticExpanderResource.Handler
Internal details
The post-processor simply expands the tokenized text with these ngram under the NORMALIZED form.
Constructor and Description |
---|
NGramHandler(int minSpan,
int maxSpan,
boolean withLemmatizer,
boolean withStopWordDict,
boolean keepLongestMatch) |
Modifier and Type | Method and Description |
---|---|
LinguisticExpanderResource.PostProcessorFactory |
buildPostProcessorFactory() |
java.util.List<SemanticProcessor> |
buildSemanticProcessor() |
void |
release() |
public NGramHandler(int minSpan, int maxSpan, boolean withLemmatizer, boolean withStopWordDict, boolean keepLongestMatch)
public java.util.List<SemanticProcessor> buildSemanticProcessor()
buildSemanticProcessor
in interface LinguisticExpanderResource.Handler
public LinguisticExpanderResource.PostProcessorFactory buildPostProcessorFactory()
buildPostProcessorFactory
in interface LinguisticExpanderResource.Handler
public void release()
release
in interface LinguisticExpanderResource.Handler
Copyright © 2013 Dassault Systèmes, All Rights Reserved.