Package | Description |
---|---|
opennlp.tools.coref.mention |
Package related to the modeling mentions for coreference resolution.
|
opennlp.tools.coref.sim |
Package related to the modeling mention similarity for coreference resolution.
|
Modifier and Type | Class and Description |
---|---|
class |
MentionContext
Data structure representation of a mention with additional contextual information.
|
Modifier and Type | Method and Description |
---|---|
static Context[] |
Context.constructContexts(Mention[] mentions,
HeadFinder headFinder) |
static Context |
Context.parseContext(String word) |
Modifier and Type | Method and Description |
---|---|
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 |
GenderModel.setExtents(Context[] extentContexts) |
void |
SimilarityModel.setExtents(Context[] extentContexts) |
void |
NumberModel.setExtents(Context[] extentContexts) |
Copyright © 2017 The Apache Software Foundation. All rights reserved.