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