public class HierarchicalVocabularyClassifier extends VocabularyClassifier implements com.exalead.util.Checkable, java.io.Serializable
VocabularyClassifier.Transformer<T>, VocabularyClassifier.Visitor
addAnnotationsOnKeywords, annotationName, collapseToken, DEFAULT_ADD_ANNOTATIONS_ON_KEYWORDS, DEFAULT_COLLAPSE_TOKEN, DEFAULT_EXCLUDED_LANGUAGES, DEFAULT_EXTRA_ANNOTATIONS_MIN_TRUST_LEVEL, DEFAULT_EXTRA_PREFIX_ANNOTATIONS, DEFAULT_FORCE_MMAP, DEFAULT_MAX_ANNOTATIONS, DEFAULT_MAX_KEYWORDS, DEFAULT_MIN_KEYWORDS, DEFAULT_MIN_TRUST_LEVEL, excludedLanguages, extraAnnotationsMinTrustLevel, extraPrefixAnnotations, forceMmap, language, maxAnnotations, maxKeywords, minKeywords, minTrustLevel, resourceDir
contexts, name, src
Constructor and Description |
---|
HierarchicalVocabularyClassifier() |
HierarchicalVocabularyClassifier(HierarchicalVocabularyClassifier o)
Copy constructor
|
getAnnotationName, getExcludedLanguages, getExtraAnnotationsMinTrustLevel, getExtraPrefixAnnotations, getLanguage, getMaxAnnotations, getMaxKeywords, getMinKeywords, getMinTrustLevel, getResourceDir, isAddAnnotationsOnKeywords, isCollapseToken, isForceMmap, setAddAnnotationsOnKeywords, setAnnotationName, setCollapseToken, setExcludedLanguages, setExtraAnnotationsMinTrustLevel, setExtraPrefixAnnotations, setForceMmap, setLanguage, setMaxAnnotations, setMaxKeywords, setMinKeywords, setMinTrustLevel, setResourceDir
getContexts, getName, getSrc, setContexts, setName, setSrc
public HierarchicalVocabularyClassifier()
public HierarchicalVocabularyClassifier(HierarchicalVocabularyClassifier o)
public HierarchicalVocabularyClassifier withResourceDir(java.lang.String resourceDir)
withResourceDir
in class VocabularyClassifier
public HierarchicalVocabularyClassifier withAnnotationName(java.lang.String annotationName)
withAnnotationName
in class VocabularyClassifier
public HierarchicalVocabularyClassifier withLanguage(java.lang.String language)
withLanguage
in class VocabularyClassifier
public HierarchicalVocabularyClassifier withExcludedLanguages(java.lang.String excludedLanguages)
withExcludedLanguages
in class VocabularyClassifier
public HierarchicalVocabularyClassifier withAddAnnotationsOnKeywords(boolean addAnnotationsOnKeywords)
withAddAnnotationsOnKeywords
in class VocabularyClassifier
public HierarchicalVocabularyClassifier withAddAnnotationsOnKeywords(java.lang.Boolean addAnnotationsOnKeywords)
withAddAnnotationsOnKeywords
in class VocabularyClassifier
public HierarchicalVocabularyClassifier withMaxAnnotations(int maxAnnotations)
withMaxAnnotations
in class VocabularyClassifier
public HierarchicalVocabularyClassifier withMaxAnnotations(java.lang.Integer maxAnnotations)
withMaxAnnotations
in class VocabularyClassifier
public HierarchicalVocabularyClassifier withMinTrustLevel(int minTrustLevel)
withMinTrustLevel
in class VocabularyClassifier
public HierarchicalVocabularyClassifier withMinTrustLevel(java.lang.Integer minTrustLevel)
withMinTrustLevel
in class VocabularyClassifier
public HierarchicalVocabularyClassifier withMaxKeywords(int maxKeywords)
withMaxKeywords
in class VocabularyClassifier
public HierarchicalVocabularyClassifier withMaxKeywords(java.lang.Integer maxKeywords)
withMaxKeywords
in class VocabularyClassifier
public HierarchicalVocabularyClassifier withMinKeywords(int minKeywords)
withMinKeywords
in class VocabularyClassifier
public HierarchicalVocabularyClassifier withMinKeywords(java.lang.Integer minKeywords)
withMinKeywords
in class VocabularyClassifier
public HierarchicalVocabularyClassifier withCollapseToken(boolean collapseToken)
withCollapseToken
in class VocabularyClassifier
public HierarchicalVocabularyClassifier withCollapseToken(java.lang.Boolean collapseToken)
withCollapseToken
in class VocabularyClassifier
public HierarchicalVocabularyClassifier withExtraPrefixAnnotations(java.lang.String extraPrefixAnnotations)
withExtraPrefixAnnotations
in class VocabularyClassifier
public HierarchicalVocabularyClassifier withExtraAnnotationsMinTrustLevel(int extraAnnotationsMinTrustLevel)
withExtraAnnotationsMinTrustLevel
in class VocabularyClassifier
public HierarchicalVocabularyClassifier withExtraAnnotationsMinTrustLevel(java.lang.Integer extraAnnotationsMinTrustLevel)
withExtraAnnotationsMinTrustLevel
in class VocabularyClassifier
public HierarchicalVocabularyClassifier withForceMmap(boolean forceMmap)
withForceMmap
in class VocabularyClassifier
public HierarchicalVocabularyClassifier withForceMmap(java.lang.Boolean forceMmap)
withForceMmap
in class VocabularyClassifier
public HierarchicalVocabularyClassifier withName(java.lang.String name)
withName
in class VocabularyClassifier
public HierarchicalVocabularyClassifier withContexts(java.lang.String contexts)
withContexts
in class VocabularyClassifier
@Deprecated public HierarchicalVocabularyClassifier withSrc(java.lang.String src)
withSrc
in class VocabularyClassifier
public HierarchicalVocabularyClassifier makeCopy()
makeCopy
in class VocabularyClassifier
public static HierarchicalVocabularyClassifier readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
writeTo
in class VocabularyClassifier
javax.xml.bind.JAXBException
java.io.IOException
public static HierarchicalVocabularyClassifier fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class VocabularyClassifier
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class VocabularyClassifier
com.exalead.util.TypedException
public void accept(VocabularyClassifier.Visitor visitor) throws com.exalead.util.TypedException
accept
in class VocabularyClassifier
com.exalead.util.TypedException
public void accept(SemanticProcessor.Visitor visitor) throws com.exalead.util.TypedException
accept
in class VocabularyClassifier
com.exalead.util.TypedException
public <T> T accept(VocabularyClassifier.Transformer<T> transformer, T[] t) throws com.exalead.util.TypedException
accept
in class VocabularyClassifier
com.exalead.util.TypedException
public <T> T accept(SemanticProcessor.Transformer<T> transformer, T[] t) throws com.exalead.util.TypedException
accept
in class VocabularyClassifier
com.exalead.util.TypedException
Copyright © 2013 Dassault Systèmes, All Rights Reserved.