Class SimilarTerm

java.lang.Object
com.basistech.rosette.dm.BaseAttribute
com.basistech.rosette.dm.SimilarTerm
All Implemented Interfaces:
Serializable

public class SimilarTerm extends BaseAttribute implements Serializable
A term with some semantic similarity to an AnnotatedText.
See Also:
  • Constructor Details

    • SimilarTerm

      protected SimilarTerm(String term, Double similarity)
  • Method Details

    • getTerm

      public String getTerm()
      Returns the text of this term
      Returns:
      the text of this term
    • getSimilarity

      public Double getSimilarity()
      Returns the similarity between this term and the document
      Returns:
      the similarity between this term and the document
    • toString

      public String toString()
      Overrides:
      toString in class BaseAttribute