类 WakeupWordIntent
- java.lang.Object
-
- com.aispeech.dui.dds.agent.wakeup.word.WakeupWord
-
- com.aispeech.dui.dds.agent.wakeup.word.WakeupWordIntent
-
- 所有已实现的接口:
IWakeupWord
public class WakeupWordIntent extends WakeupWord
-
-
字段概要
字段 修饰符和类型 字段 说明 protected WakeupTypemWakeupType-
从类继承的字段 com.aispeech.dui.dds.agent.wakeup.word.WakeupWord
action, dcheck, greetingList, incrementWord, major, mCreateEngine, name, pinyin, threshold, threshold2
-
-
构造器概要
构造器 构造器 说明 WakeupWordIntent(WakeupType wakeupType)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 WakeupWordIntentaddGreeting(java.lang.String greeting)添加唤醒词欢迎语WakeupWordIntentsetAction(java.lang.String action)设置唤醒词对应的command命令WakeupWordIntentsetGreetings(java.util.ArrayList<java.lang.String> greetingList)设置唤醒词欢迎语WakeupWordIntentsetPinyin(java.lang.String pinyin)设置唤醒词拼音WakeupWordIntentsetThreshold(java.lang.String threshold)设置唤醒词阈值WakeupWordIntentsetThreshold(java.lang.String threshold, java.lang.String threshold2)设置唤醒词阈值WakeupWordIntentsetWord(java.lang.String word)设置唤醒词汉字-
从类继承的方法 com.aispeech.dui.dds.agent.wakeup.word.WakeupWord
getAction, getCustomNet, getDcheck, getEnableNet, getGreetingList, getIncrementWord, getJson, getJsonObject, getMajor, getName, getPinyin, getPriority, getThreshHigh, getThreshLow, getThreshold, getThreshold2, isIncrementWord, setCreateEngine, setCustomNet, setDcheck, setEnableNet, setIncrementWord, setMajor, setPriority, setThreshHigh, setThreshLow, toString
-
-
-
-
字段详细资料
-
mWakeupType
protected WakeupType mWakeupType
-
-
构造器详细资料
-
WakeupWordIntent
public WakeupWordIntent(WakeupType wakeupType)
-
-
方法详细资料
-
setWord
public WakeupWordIntent setWord(java.lang.String word)
从类复制的说明:WakeupWord设置唤醒词汉字- 覆盖:
setWord在类中WakeupWord- 参数:
word- 唤醒词汉字- 返回:
-
setPinyin
public WakeupWordIntent setPinyin(java.lang.String pinyin)
从类复制的说明:WakeupWord设置唤醒词拼音- 覆盖:
setPinyin在类中WakeupWord- 参数:
pinyin- 唤醒词拼音- 返回:
-
setThreshold
public WakeupWordIntent setThreshold(java.lang.String threshold)
从类复制的说明:WakeupWord设置唤醒词阈值- 覆盖:
setThreshold在类中WakeupWord- 参数:
threshold- 唤醒词阈值- 返回:
-
setThreshold
public WakeupWordIntent setThreshold(java.lang.String threshold, java.lang.String threshold2)
从类复制的说明:WakeupWord设置唤醒词阈值- 覆盖:
setThreshold在类中WakeupWord- 参数:
threshold- 唤醒词阈值threshold2- 唤醒词阈值2- 返回:
-
addGreeting
public WakeupWordIntent addGreeting(java.lang.String greeting)
从类复制的说明:WakeupWord添加唤醒词欢迎语- 覆盖:
addGreeting在类中WakeupWord- 参数:
greeting- 唤醒词欢迎语- 返回:
-
setGreetings
public WakeupWordIntent setGreetings(java.util.ArrayList<java.lang.String> greetingList)
从类复制的说明:WakeupWord设置唤醒词欢迎语- 覆盖:
setGreetings在类中WakeupWord- 参数:
greetingList- 唤醒词欢迎语集合- 返回:
-
setAction
public WakeupWordIntent setAction(java.lang.String action)
从类复制的说明:WakeupWord设置唤醒词对应的command命令- 覆盖:
setAction在类中WakeupWord- 参数:
action- 唤醒词对应的command命令- 返回:
-
-