public class StopWordHandler extends java.lang.Object implements LinguisticExpanderResource.Handler
Based on a managed resource (opposed to the processor directly using configuration).
This processor creates a special form that is used to flag the original tokens. This allows stop words detection to be propagated to all forms derived from the stopped tokens.
Constructor and Description |
---|
StopWordHandler(java.lang.String resourceDir) |
Modifier and Type | Method and Description |
---|---|
LinguisticExpanderResource.PostProcessorFactory |
buildPostProcessorFactory() |
java.util.List<SemanticProcessor> |
buildSemanticProcessor() |
void |
release() |
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.