public class RelatedTermHandler extends java.lang.Object implements LinguisticExpanderResource.Handler
Internal details
The post-processor simply expands the tokenized text with these relatedTerms under the NORMALIZED form.
Constructor and Description |
---|
RelatedTermHandler(int minSpan,
int maxSpan,
boolean keepLongestMatch,
boolean withPartOfSpeech) |
Modifier and Type | Method and Description |
---|---|
LinguisticExpanderResource.PostProcessorFactory |
buildPostProcessorFactory() |
java.util.List<SemanticProcessor> |
buildSemanticProcessor() |
void |
release() |
public RelatedTermHandler(int minSpan, int maxSpan, boolean keepLongestMatch, boolean withPartOfSpeech)
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.