public interface MentionFinder
Modifier and Type | Method and Description |
---|---|
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.
|
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.Copyright © 2016 The Apache Software Foundation. All rights reserved.