Package | Description |
---|---|
edu.illinois.cs.cogcomp.lbjava.classify |
Modifier and Type | Class and Description |
---|---|
class |
DiscreteArrayFeature
A discrete array feature keeps track of its index in the classifier's returned array as well as
the total number of features in that array.
|
class |
DiscreteArrayStringFeature
A discrete array feature keeps track of its index in the classifier's returned array as well as
the total number of features in that array.
|
class |
DiscreteConjunctiveFeature
Represents the conjunction of two discrete features.
|
class |
DiscretePrimitiveFeature
A primitive discrete feature is a discrete feature with a string value.
|
class |
DiscretePrimitiveStringFeature
This feature is functionally equivalent to
DiscretePrimitiveFeature , however its
DiscretePrimitiveStringFeature.value is stored as a String instead of a ByteString . |
class |
DiscreteReferrer
A referring discrete feature is one that has its own identifier, but whose value comes from a
separate feature that it refers to.
|
class |
DiscreteReferringFeature
A referring discrete feature is one that has its own identifier, but whose value comes from a
separate feature that it refers to.
|
class |
DiscreteReferringStringFeature
A referring discrete feature is one that has its own identifier, but whose value comes from a
separate feature that it refers to.
|
Modifier and Type | Field and Description |
---|---|
protected DiscreteFeature |
DiscreteConjunctiveFeature.left
One feature argument.
|
protected DiscreteFeature |
DiscreteReferrer.referent
The feature being referred to.
|
protected DiscreteFeature |
DiscreteConjunctiveFeature.right
The other feature argument.
|
Modifier and Type | Method and Description |
---|---|
protected DiscreteFeature |
DiscreteConjunctiveFeature.getArgumentKey(Feature f,
Lexicon lexicon,
int label)
A helper method for
DiscreteConjunctiveFeature.getFeatureKey(Lexicon,boolean,int) , this method computes the
feature keys corresponding to the arguments of the conjunction. |
DiscreteFeature |
DiscreteConjunctiveFeature.getLeft()
Returns the value of
DiscreteConjunctiveFeature.left . |
DiscreteFeature |
DiscreteReferrer.getReferent()
Returns the value of
DiscreteReferrer.referent . |
DiscreteFeature |
DiscreteConjunctiveFeature.getRight()
Returns the value of
DiscreteConjunctiveFeature.right . |
Modifier and Type | Method and Description |
---|---|
protected Feature |
Feature.conjunctWith(DiscreteFeature f,
Classifier c)
Create a feature representing the conjunction of this feature with the given argument
feature.
|
protected Feature |
DiscreteFeature.conjunctWith(DiscreteFeature f,
Classifier c)
Create a feature representing the conjunction of this feature with the given argument
feature.
|
Constructor and Description |
---|
DiscreteConjunctiveFeature(Classifier c,
DiscreteFeature l,
DiscreteFeature r)
Creates a new conjunctive feature taking the package and name of the given classifier.
|
DiscreteConjunctiveFeature(String p,
String c,
DiscreteFeature l,
DiscreteFeature r)
Creates a new conjunctive feature.
|
DiscreteConjunctiveFeature(String p,
String c,
DiscreteFeature l,
DiscreteFeature r,
short vi,
short t)
Creates a new conjunctive feature.
|
DiscreteReferrer(Classifier c,
DiscreteFeature r)
Sets both the identifier and the referent.
|
DiscreteReferrer(Classifier c,
DiscreteFeature r,
String[] av)
Sets both the identifier and the referent.
|
DiscreteReferrer(String p,
String c,
DiscreteFeature r,
short vi,
short t)
Constructs a new referring feature.
|
DiscreteReferringFeature(Classifier c,
ByteString i,
DiscreteFeature r)
Sets both the identifier and the referent.
|
DiscreteReferringFeature(Classifier c,
ByteString i,
DiscreteFeature r,
String[] av)
Sets both the identifier and the referent.
|
DiscreteReferringFeature(String p,
String c,
ByteString i,
DiscreteFeature r,
short vi,
short t)
Constructs a new referring feature.
|
DiscreteReferringStringFeature(Classifier c,
String i,
DiscreteFeature r)
Sets both the identifier and the referent.
|
DiscreteReferringStringFeature(Classifier c,
String i,
DiscreteFeature r,
String[] av)
Sets both the identifier and the referent.
|
DiscreteReferringStringFeature(String p,
String c,
String i,
DiscreteFeature r,
short vi,
short t)
Constructs a new referring feature.
|
Copyright © 2016. All rights reserved.