Package 

Class HotWord


  • 
    public final class HotWord
    
                        

    Hot word for STT.

    协议说明(API 文档 §5.1.5):

    • 仅高性能听写引擎(sttEngineId=5)支持会话级热词,且 language ≠ auto

    • weight 取值范围 0.0, 4.0,超出范围将返回 CONFIG_PARAMETER_ERROR

    • 重复词汇不会自动去重,建议在业务侧保证传入词汇的唯一性

    • Method Summary

      Modifier and Type Method Description
      final String getWord()
      final Double getWeight()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait