Class LabelTag

  • All Implemented Interfaces:
    Tag<String>

    public class LabelTag
    extends Object
    implements Tag<String>
    A label tag associated to a BabelSynset.
    • Constructor Detail

      • LabelTag

        public LabelTag​(it.uniroma1.lcl.jlt.util.Language language,
                        String label)
        Creates a new instance of LabelTag.
        Parameters:
        language - the language of the tag
        label - the label tag
    • Method Detail

      • getValue

        public String getValue()
        Description copied from interface: Tag
        Returns the tag value.
        Specified by:
        getValue in interface Tag<String>
        Returns:
        the tag value
      • getLanguage

        public it.uniroma1.lcl.jlt.util.Language getLanguage()
        Gets the language of this LabelTag.
        Returns:
        the language of this LabelTag.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object