tml.vectorspace.operations.results
Class RelationshipExtractionResult
java.lang.Object
tml.vectorspace.operations.results.AbstractResult
tml.vectorspace.operations.results.RelationshipExtractionResult
public class RelationshipExtractionResult
- extends AbstractResult
- Author:
- Jorge Villalon
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RelationshipExtractionResult
public RelationshipExtractionResult()
getConceptA
public java.lang.String getConceptA()
- Returns:
- the first concept in the relationship
getConceptB
public java.lang.String getConceptB()
- Returns:
- the second concept in the relationship
getLinkingWord
public java.lang.String getLinkingWord()
- Returns:
- the linking word for the relationship
isDirected
public boolean isDirected()
- Returns:
- if the relationship is directed (from A to B) or non-directed
setConceptA
public void setConceptA(java.lang.String conceptA)
- Parameters:
conceptA
- the first concept
setConceptB
public void setConceptB(java.lang.String conceptB)
- Parameters:
conceptB
- the second concept
setDirected
public void setDirected(boolean directed)
- Parameters:
directed
- if A points to B
setLinkingWord
public void setLinkingWord(java.lang.String linkingWord)
- Parameters:
linkingWord
- the linking word/phrase