public class LemmatizationHandler extends java.lang.Object implements LinguisticExpanderResource.Handler
Internal details
The MOT processor is in charge of of annotating the raw Text's alphabetic
tokens with the normalized words having the same lemma. (
http://en.wikipedia.org/wiki/Lemma).
A static dictionary is used for lemmatisation.
The post-processor simply expands the tokenized text with these words under the NORMALIZED form.
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
availableLanguages |
Constructor and Description |
---|
LemmatizationHandler() |
LemmatizationHandler(java.lang.String language) |
LemmatizationHandler(java.lang.String language,
java.lang.String resourceDir) |
Modifier and Type | Method and Description |
---|---|
LinguisticExpanderResource.PostProcessorFactory |
buildPostProcessorFactory() |
java.util.List<SemanticProcessor> |
buildSemanticProcessor() |
void |
release() |
public LemmatizationHandler()
public LemmatizationHandler(java.lang.String language)
public LemmatizationHandler(java.lang.String language, java.lang.String resourceDir)
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.