org.apache.lucene.analysis.morfologik

## Interface MorphosyntacticTagsAttribute

- All Superinterfaces:
    Attribute
  All Known Implementing Classes:
    MorphosyntacticTagsAttributeImpl

      public interface MorphosyntacticTagsAttribute
      extends Attribute

  Morfologik provides morphosyntactic annotations for surface forms. For the exact format and description of these, see the project's documentation.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `clear()` Clear to default value.
    `List<StringBuilder>` | `getTags()` Returns the POS tag of the term.
    `void` | `setTags(List<StringBuilder> tags)` Set the POS tag.

- - ### 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<StringBuilder> getTags()

      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.

Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.