Class Variant


  • public class Variant
    extends Token
    PUBLIC: Represents a form of a term as it occurred in classified content.
    • Field Detail

      • term

        protected Term term
    • Method Detail

      • getTerm

        public Term getTerm()
        PUBLIC: Returns the term of which this is a variant.
      • getOccurrences

        public int getOccurrences()
        PUBLIC: Returns the number of times this particular variant occurred in the classified content.
      • setTerm

        protected void setTerm​(Term term)
      • replaceTerm

        protected void replaceTerm​(Term term)