|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Mention
An instance of Mention represents a single mention of
a given phrase in context. It provides information about the
entity type of the mention, and various properties of its phrase.
Mentions are created by a MentionFactory.
| Method Summary | |
|---|---|
String |
entityType()
Returns the type of entity recognized for this mention. |
String |
gender()
Returns a string representing the gender of this mention. |
Set<String> |
honorifics()
Returns the set of honorifics which occur in this mention. |
boolean |
isPronominal()
Returns true if this mention is a pronoun. |
String |
normalPhrase()
Returns a normalized version of the phrase. |
String[] |
normalTokens()
Returns an array of normalized tokens for this phrase. |
String |
phrase()
Returns the original phrase underlying this mention. |
| Method Detail |
|---|
String phrase()
String entityType()
Set<String> honorifics()
String normalPhrase()
String[] normalTokens()
boolean isPronominal()
true if this mention is a pronoun.
true if this mention is a pronoun.String gender()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||