All Known Implementing Classes:
MentionFactory is responsible for creating
and merging mentions and mention chains. It is able
to create a mention from an underlying phrase and entity
type. It can create a mention chain by promoting a mention.
It is also responsible for handling the merging of a mention
into a mention chain.
Author: Bob Carpenter
Mention create( String phrase,
Return a mention based on the specified phrase and entity type.
phrase - Phrase underlying the mention created.
entityType - Type of the mention created.
Returns: A mention based on the specified phrase and entity type.
MentionChain promote( Mention mention,
Returns a new mention chain based on the specified mention.
mention - Mention to promote to a mention chain.
Returns: Mention chain constructed from the specified mention.