|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Resolver
Interface for coreference resolvers.
Method Summary | |
---|---|
boolean |
canResolve(MentionContext mention)
Returns true if this resolver is able to resolve the referring expression of the same type as the specified mention. |
DiscourseEntity |
resolve(MentionContext ec,
DiscourseModel dm)
Resolve this referring expression to a discourse entity in the discourse model. |
DiscourseEntity |
retain(MentionContext mention,
DiscourseModel model)
Uses the specified mention and discourse model to train this resolver. |
void |
train()
Retrains model on examples for which retain was called. |
Method Detail |
---|
boolean canResolve(MentionContext mention)
mention
- The mention being considered for resolution.
DiscourseEntity resolve(MentionContext ec, DiscourseModel dm)
ec
- the referring expression.dm
- the discourse model.
DiscourseEntity retain(MentionContext mention, DiscourseModel model)
mention
- The mention which is being used for training.model
- the discourse model.
void train() throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |