Package | Description |
---|---|
org.openimaj.ml.annotation.bayes | |
org.openimaj.text.nlp.sentiment.model.classifier |
Modifier and Type | Method and Description |
---|---|
static NaiveBayesAnnotator.Mode |
NaiveBayesAnnotator.Mode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NaiveBayesAnnotator.Mode[] |
NaiveBayesAnnotator.Mode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static <OBJECT extends FeatureVector,ANNOTATION> |
NaiveBayesAnnotator.create(NaiveBayesAnnotator.Mode mode)
Convenience method to construct a
NaiveBayesAnnotator in the case
where the raw objects are themselves the feature and thus an
IdentityFeatureExtractor can be used. |
Constructor and Description |
---|
NaiveBayesAnnotator(FeatureExtractor<? extends FeatureVector,OBJECT> extractor,
NaiveBayesAnnotator.Mode mode)
Construct a
NaiveBayesAnnotator with the given feature extractor
and mode of operation. |
Constructor and Description |
---|
NaiveBayesSentimentAnnotator(NaiveBayesAnnotator.Mode mode) |