com.aliasi.coref
Interface Mention

All Known Implementing Classes:
CachedMention

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.

Since:
LingPipe1.0
Version:
3.0
Author:
Bob Carpenter

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

phrase

String phrase()
Returns the original phrase underlying this mention.

Returns:
Original phrase underlying this mention.

entityType

String entityType()
Returns the type of entity recognized for this mention.

Returns:
Type of entity recognized for this mention.

honorifics

Set<String> honorifics()
Returns the set of honorifics which occur in this mention.

Returns:
Set of honorifics which occur in this mention.

normalPhrase

String normalPhrase()
Returns a normalized version of the phrase.

Returns:
Normalized version of the phrase.

normalTokens

String[] normalTokens()
Returns an array of normalized tokens for this phrase.

Returns:
Array of normalized tokens for this phrase.

isPronominal

boolean isPronominal()
Returns true if this mention is a pronoun.

Returns:
true if this mention is a pronoun.

gender

String gender()
Returns a string representing the gender of this mention.

Returns:
A string representing the gender of this mention.