|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MentionFinder
Specifies the interface that Objects which determine the space of mentions for coreference should implement.
| Method Summary | |
|---|---|
Mention[] |
getMentions(Parse parse)
Returns an array of mentions. |
boolean |
isCoordinatedNounPhraseCollection()
Returns whether this mention finder collects coordinated noun phrases as mentions. |
boolean |
isPrenominalNamedEntityCollection()
Returns whether this mention finder collects pre-nominal named-entities as mentions. |
void |
setCoordinatedNounPhraseCollection(boolean collectCoordinatedNounPhrases)
Specifies whether coordinated noun phrases should be collected as mentions. |
void |
setPrenominalNamedEntityCollection(boolean collectPrenominalNamedEntities)
Specifies whether pre-nominal named-entities should be collected as mentions. |
| Method Detail |
|---|
void setPrenominalNamedEntityCollection(boolean collectPrenominalNamedEntities)
collectPrenominalNamedEntities - true if pre-nominal named-entities should be collected; false otherwise.boolean isPrenominalNamedEntityCollection()
boolean isCoordinatedNounPhraseCollection()
void setCoordinatedNounPhraseCollection(boolean collectCoordinatedNounPhrases)
collectCoordinatedNounPhrases - true if coordinated noun phrases should be collected; false otherwise.Mention[] getMentions(Parse parse)
parse - A top level parse from which mentions are gathered.
Extent interface.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||