public abstract class Categorizer extends Processor
Modifier and Type | Field and Description |
---|---|
boolean |
addAnnotationsOnMatchedKeywords
Should the categorizer add annotations on used keywords
|
java.lang.String |
annotationName
The annotation set by the categorizer
|
int |
maxCategories
The maximum number of categories the categorizer must set
|
int |
minKeywords
The minimum number of keywords the categorizer must have to launch
prediction on the document
|
int |
minTrustLevel
The minimum trust level the predictions must have to be set on the
document
|
java.lang.String |
resource
The processor resource
|
Constructor and Description |
---|
Categorizer(java.lang.String name,
java.lang.String resource,
java.lang.String fields,
int minKeywords,
int maxCategories,
int minTrustLevel,
java.lang.String annotationName,
boolean addAnnotationsOnMatchedKeywords)
Initialize a new categorizer
|
public java.lang.String resource
public int minKeywords
public int maxCategories
public int minTrustLevel
public java.lang.String annotationName
public boolean addAnnotationsOnMatchedKeywords
public Categorizer(java.lang.String name, java.lang.String resource, java.lang.String fields, int minKeywords, int maxCategories, int minTrustLevel, java.lang.String annotationName, boolean addAnnotationsOnMatchedKeywords)
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 keywordsCopyright © 2013 Dassault Systèmes, All Rights Reserved.