public interface Mention
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.| Modifier and Type | Method and Description |
|---|---|
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.
|
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()
Copyright © 2016 Alias-i, Inc.. All rights reserved.