public class HierarchicalBayesCategorizer extends BayesCategorizer
Modifier and Type | Field and Description |
---|---|
int |
maxCategoryLevel
Maximum category level
|
addAnnotationsOnMatchedKeywords, annotationName, maxCategories, minKeywords, minTrustLevel, resource
Constructor and Description |
---|
HierarchicalBayesCategorizer(java.lang.String name,
java.lang.String resource,
java.lang.String fields,
int minKeywords,
int maxCategories,
int minTrustLevel,
java.lang.String annotationName,
boolean addAnnotationsOnMatchedKeywords,
int maxCategoryLevel)
Initialize a new categorizer
|
Modifier and Type | Method and Description |
---|---|
void |
init(java.lang.String name,
java.lang.String[] fields)
Initialize the processor
|
finalize
checkResource, destroy, getName, init
public HierarchicalBayesCategorizer(java.lang.String name, java.lang.String resource, java.lang.String fields, int minKeywords, int maxCategories, int minTrustLevel, java.lang.String annotationName, boolean addAnnotationsOnMatchedKeywords, int maxCategoryLevel)
name
- Its nameresource
- The associated resource namefields
- The list of fields on which it's activeminKeywords
- The minimum number of keywords required to match a classmaxCategories
- The maximum number of categories to addminTrustLevel
- The minimum trustLevel required to matchannotationName
- The tag set by the categorizeraddAnnotationsOnMatchedKeywords
- Should the categorizer add annotations on used keywordsmaxCategoryLevel
- The maximum level of the category detectedpublic void init(java.lang.String name, java.lang.String[] fields)
init
in class BayesCategorizer
name
- Its namefields
- The list of fields on which it's activeCopyright © 2013 Dassault Systèmes, All Rights Reserved.