|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.illinois.cs.cogcomp.lbj.coref.ir.relations.RelationMention
public class RelationMention
Represents the mention of a relation in a document.
| Field Summary | |
|---|---|
private Chunk |
m_extent
|
private java.lang.String |
m_id
|
private java.lang.String |
m_ldcLexicalCondition
|
private RelationMentionArgument |
m_mArg1
|
private RelationMentionArgument |
m_mArg2
|
private static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
RelationMention()
Constructs an empty relation mention. |
|
RelationMention(java.lang.String id,
java.lang.String ldcLexicalCondition,
Chunk extent,
RelationMentionArgument a1,
RelationMentionArgument a2)
Constructs a relation mention. |
|
| Method Summary | |
|---|---|
RelationMentionArgument |
getArg1()
Gets the first relation mention argument. |
RelationMentionArgument |
getArg2()
Gets the second relation mention argument. |
java.lang.String |
getID()
Gets the relation mention ID. |
Chunk |
getLDCExtent()
Gets the LDC extent of the relation mention. |
java.lang.String |
getLDCLexicalCondition()
Gets the LDC lexical condition. |
java.lang.String |
toString()
Constructs a string representation of this relation mention. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private java.lang.String m_id
private java.lang.String m_ldcLexicalCondition
private Chunk m_extent
private RelationMentionArgument m_mArg1
private RelationMentionArgument m_mArg2
| Constructor Detail |
|---|
public RelationMention()
public RelationMention(java.lang.String id,
java.lang.String ldcLexicalCondition,
Chunk extent,
RelationMentionArgument a1,
RelationMentionArgument a2)
id - The relation mention ID.ldcLexicalCondition - The LDC lexical condition.extent - The extent of the relation mention text.a1 - The first relation mention argument.a2 - The second relation mention argument,
which may be null if no second argument exists.| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getID()
public java.lang.String getLDCLexicalCondition()
public Chunk getLDCExtent()
public RelationMentionArgument getArg1()
public RelationMentionArgument getArg2()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||