tml.vectorspace.operations.results
Class RelationshipExtractionResult

java.lang.Object
  extended by tml.vectorspace.operations.results.AbstractResult
      extended by tml.vectorspace.operations.results.RelationshipExtractionResult

public class RelationshipExtractionResult
extends AbstractResult

Author:
Jorge Villalon

Constructor Summary
RelationshipExtractionResult()
           
 
Method Summary
 java.lang.String getConceptA()
           
 java.lang.String getConceptB()
           
 java.lang.String getLinkingWord()
           
 boolean isDirected()
           
 void setConceptA(java.lang.String conceptA)
           
 void setConceptB(java.lang.String conceptB)
           
 void setDirected(boolean directed)
           
 void setLinkingWord(java.lang.String linkingWord)
           
 
Methods inherited from class tml.vectorspace.operations.results.AbstractResult
getHeaders, getValues
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelationshipExtractionResult

public RelationshipExtractionResult()
Method Detail

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