org.apache.lucene.analysis.morfologik

Interface MorphosyntacticTagsAttribute

    • Method Detail

      • setTags

        void setTags(List<StringBuilder> tags)
        Set the POS tag. The default value (no-value) is null.
        Parameters:
        tags - A list of POS tags corresponding to current lemma.
      • getTags

        List<StringBuildergetTags()
        Returns the POS tag of the term. A single word may have multiple POS tags, depending on the interpretation (context disambiguation is typically needed to determine which particular tag is appropriate).
      • clear

        void clear()
        Clear to default value.