Class MorphologyResponse

java.lang.Object
com.basistech.rosette.apimodel.Response
com.basistech.rosette.apimodel.MorphologyResponse

public class MorphologyResponse extends Response
Simple API response data model returned by MorphologyRequest
  • Method Details

    • builder

    • getTokens

      public List<String> getTokens()
      Returns:
      list of tokens
    • getPosTags

      public List<String> getPosTags()
      Returns:
      list of part of speech tags, 1:1 with tokens, or null
    • getLemmas

      public List<String> getLemmas()
      Returns:
      list of lemmas, 1:1 with tokens, or null
    • getCompoundComponents

      public List<List<String>> getCompoundComponents()
      Returns:
      list of compound components, 1:1 with tokens, or null
    • getHanReadings

      public List<List<String>> getHanReadings()
      Returns:
      list of Han readings, 1:1 with tokens, or null
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Response
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class Response
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Response