com.textrazor.annotations
Class Topic

java.lang.Object
  extended by com.textrazor.annotations.Annotation
      extended by com.textrazor.annotations.Topic

public class Topic
extends Annotation


Constructor Summary
Topic()
           
 
Method Summary
 int getId()
           
 java.lang.String getLabel()
           
 double getScore()
           
 java.lang.String getWikiLink()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Topic

public Topic()
Method Detail

getId

public int getId()
Returns:
The ID of this annotation

getLabel

public java.lang.String getLabel()
Returns:
The textual label for this topic.

getWikiLink

public java.lang.String getWikiLink()
Returns:
Link to the Wikipedia page for this Topic, empty if there is no relevant link for this topic.

getScore

public double getScore()
Returns:
The relevance of this topic to the processed document. This score ranges from 0 to 1, with 1 representing the highest relevance of the topic to the processed document.