Class FullformEntry

  • All Implemented Interfaces:
    Serializable

    public class FullformEntry
    extends Object
    implements Serializable
    a FullformEntry contains earliest year and count of the fullform plus meshTerms of the document where it was seen in last change: now the fullform-string is completely normalized and the FullformEntry contains an additional list (a java Set) of all unnormalized fullforms
    Author:
    tusche
    See Also:
    Serialized Form
    • Field Detail

      • year

        public int year
      • count

        public int count
    • Constructor Detail

      • FullformEntry

        protected FullformEntry()
        trivial constructor
      • FullformEntry

        protected FullformEntry​(int y,
                                Set<String> m,
                                Set<String> f)
        constructor for creating a complete new FullformEntry seen ONCE now (count = 1)
        Parameters:
        y - the year of the document it was seen in
        m - the MeshTerms of the document it was seen in
        f - the unnormalized fullforms seen so far
      • FullformEntry

        protected FullformEntry​(int y,
                                int c,
                                Set<String> m,
                                Set<String> f)
        constructor for creating a FullformEntry, specifying all information
        Parameters:
        y - the year of the document it was seen in
        m - the MeshTerms of the document it was seen in
        f - the unnormalized fullforms seen so far
        c - the number of times the form was seen
    • Method Detail

      • getString

        protected String getString()
        Returns:
        a String representation of this FullformEntry
      • getHTMLString

        protected String getHTMLString​(boolean includeMeshs)
        Returns:
        a html representation of this FullformEntry for including it within a html table row