edu.upenn.cis.pdtb
Interface PDTBImplicitRelationFeatures

All Superinterfaces:
PDTBFeatures
All Known Implementing Classes:
PDTBImplicitRelationFeaturesImpl

public interface PDTBImplicitRelationFeatures
extends PDTBFeatures

Features associated with an implicit relation.

Author:
nikhild

Field Summary
static java.lang.String Conn1AttrQName
          QName of the attribute whose value gives a connective expressing the relation.
static java.lang.String Conn2AttrQName
          QName of the attribute whose value gives a connective expressing the relation.
static java.lang.String SemanticClass1AttrQName
          QName of the attribute whose value gives the semantic class of the value of PDTBImplicitRelationFeatures.Conn1.
static java.lang.String SemanticClass2AttrQName
          QName of the attribute whose value gives the semantic class of the value of PDTBImplicitRelationFeatures.Conn2
 
Fields inherited from interface edu.upenn.cis.pdtb.PDTBFeatures
Factual, FactualityAttributeQName, FactualVal, NegativePolarityVal, NonFactual, NonFactualVal, NullFactual, NullFactualVal, PolarityAttributeQName, PolarityNegative, PolarityPositive, PositivePolarityVal, SourceAttributeQName, SourceInherited, SourceInheritedVal, SourceOther, SourceOtherVal, SourceWriter, SourceWriterVal
 
Method Summary
 java.lang.String getConn1()
          Get a connective that expresses the relation
 java.lang.String getConn2()
          Get a second connective that expresses the relation.
 java.lang.String getSemanticClass1()
          Get the semantic class of Conn1.
 java.lang.String getSemanticClass2()
          Get the semantic class of the second connective if present.
 
Methods inherited from interface edu.upenn.cis.pdtb.PDTBFeatures
getFactuality, getPDTBNode, getPolarity, getSource, setPDTBNode, updateAttributesOnNode
 

Field Detail

Conn1AttrQName

public static final java.lang.String Conn1AttrQName
QName of the attribute whose value gives a connective expressing the relation. Used iff the type is PDTBImplicitRelationFeatures.EConn.

See Also:
Constant Field Values

SemanticClass1AttrQName

public static final java.lang.String SemanticClass1AttrQName
QName of the attribute whose value gives the semantic class of the value of PDTBImplicitRelationFeatures.Conn1.

See Also:
Constant Field Values

Conn2AttrQName

public static final java.lang.String Conn2AttrQName
QName of the attribute whose value gives a connective expressing the relation. Used only if the type is PDTBImplicitRelationFeatures.EConn.

See Also:
Constant Field Values

SemanticClass2AttrQName

public static final java.lang.String SemanticClass2AttrQName
QName of the attribute whose value gives the semantic class of the value of PDTBImplicitRelationFeatures.Conn2

See Also:
Constant Field Values
Method Detail

getConn1

public java.lang.String getConn1()
Get a connective that expresses the relation

Returns:
The connective iff getType() == EConn. null otherwise.

getSemanticClass1

public java.lang.String getSemanticClass1()
Get the semantic class of Conn1.

Returns:
Semantic class if Conn1 is not null. null otherwise.

getConn2

public java.lang.String getConn2()
Get a second connective that expresses the relation.

Returns:
non null only if getType()==EConn.

getSemanticClass2

public java.lang.String getSemanticClass2()
Get the semantic class of the second connective if present.

Returns:
non null only if Conn2 is not null. null otherwise.