Methods in opennlp.tools.coref.sim with parameters of type Context |
double |
TestSimilarityModel.compatible(Context np1,
Context np2)
|
double |
SimilarityModel.compatible(Context mention1,
Context mention2)
Returns a number between 0 and 1 which represents the models belief that the specified mentions are compatible. |
Gender |
MaxentCompatibilityModel.computeGender(Context c)
|
Number |
MaxentCompatibilityModel.computeNumber(Context c)
|
double[] |
TestGenderModel.genderDistribution(Context np1)
|
double[] |
GenderModel.genderDistribution(Context np1)
|
NumberEnum |
NumberModel.getNumber(Context ec)
|
double[] |
TestNumberModel.numberDist(Context np1)
|
double[] |
NumberModel.numberDist(Context c)
|
void |
TrainSimilarityModel.setExtents(Context[] extents)
Creates simialrity training pairs based on the specified extents. |
void |
SimilarityModel.setExtents(Context[] extentContexts)
|
void |
NumberModel.setExtents(Context[] extentContexts)
|
void |
GenderModel.setExtents(Context[] extentContexts)
|