|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MentionFactory
A 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.
| Method Summary | |
|---|---|
Mention |
create(String phrase,
String entityType)
Return a mention based on the specified phrase and entity type. |
MentionChain |
promote(Mention mention,
int offset)
Returns a new mention chain based on the specified mention. |
| Method Detail |
|---|
Mention create(String phrase,
String entityType)
phrase - Phrase underlying the mention created.entityType - Type of the mention created.
MentionChain promote(Mention mention,
int offset)
mention - Mention to promote to a mention chain.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||