java.lang.Object
com.alibaba.dashscope.legacy_2x.audio.tts.timestamp.Sentence

@Deprecated public class Sentence extends Object
Deprecated.
  • Constructor Details

    • Sentence

      public Sentence()
      Deprecated.
  • Method Details

    • from

      public static Sentence from(String message)
      Deprecated.
    • from

      public static Sentence from(com.google.gson.JsonObject json)
      Deprecated.
    • getBeginTime

      public int getBeginTime()
      Deprecated.
      Sentence begin time in milliseconds.
    • getEndTime

      public int getEndTime()
      Deprecated.
      Sentence end time in milliseconds.
    • getIndex

      public int getIndex()
      Deprecated.
    • getWords

      public List<Word> getWords()
      Deprecated.
      Sentence words.
    • setBeginTime

      public void setBeginTime(int beginTime)
      Deprecated.
      Sentence begin time in milliseconds.
    • setEndTime

      public void setEndTime(int endTime)
      Deprecated.
      Sentence end time in milliseconds.
    • setIndex

      public void setIndex(int index)
      Deprecated.
    • setWords

      public void setWords(List<Word> words)
      Deprecated.
      Sentence words.
    • equals

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

      protected boolean canEqual(Object other)
      Deprecated.
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object