public class RelationMentionFactory extends Object implements Serializable
| Constructor and Description |
|---|
RelationMentionFactory() |
| Modifier and Type | Method and Description |
|---|---|
RelationMention |
constructRelationMention(String objectId,
CoreMap sentence,
Span span,
String type,
String subtype,
List<ExtractionObject> args,
Counter<String> probs)
Always use this method to construct RelationMentions
Other factories that inherit from this (e.g., NFLRelationFactory) may override this
|
public RelationMention constructRelationMention(String objectId, CoreMap sentence, Span span, String type, String subtype, List<ExtractionObject> args, Counter<String> probs)
objectId - sentence - span - type - subtype - args - probs -