- s2t(String) - Method in class com.aispeech.export.itn.JChineseConvertor
-
- s2t(char) - Method in class com.aispeech.export.itn.JChineseConvertor
-
- SAMPLE_RATE_11K - Static variable in class com.aispeech.lite.AISampleRate
-
11025采样率,云端TTS使用
- SAMPLE_RATE_16K - Static variable in class com.aispeech.lite.AISampleRate
-
16000采样率
- SAMPLE_RATE_22K - Static variable in class com.aispeech.lite.AISampleRate
-
22050采样率,云端TTS使用
- SAMPLE_RATE_24K - Static variable in class com.aispeech.lite.AISampleRate
-
24000采样率
- SAMPLE_RATE_32K - Static variable in class com.aispeech.lite.AISampleRate
-
32000采样率
- SAMPLE_RATE_44K - Static variable in class com.aispeech.lite.AISampleRate
-
44100采样率
- SAMPLE_RATE_48K - Static variable in class com.aispeech.lite.AISampleRate
-
48000采样率
- SAMPLE_RATE_8K - Static variable in class com.aispeech.lite.AISampleRate
-
8000采样率
- saveDriveModeData(byte[], int) - Method in class com.aispeech.lite.dmasp.DmaspKernel
-
全车模式保存四合一单路数据
其他驾驶模式保存对应doa单路数据
- Scene - Class in com.aispeech.export.widget
-
- Scene.Builder - Class in com.aispeech.export.widget
-
- scenes - Variable in class com.aispeech.export.config.AILocalWakeupIncrementConfig
-
设置场景
- SDK_INIT_UPDATE_INTERVAL - Static variable in class com.aispeech.common.SharedPreferencesUtil
-
- SDK_INIT_UPDATE_TIME - Static variable in class com.aispeech.common.SharedPreferencesUtil
-
- SDK_VERSION - Static variable in class com.aispeech.common.AIConstant
-
SDK版本
- SEGMENT - Static variable in class com.aispeech.export.widget.callback.ListCallbackWidget
-
分词数据,非必选
- selectRuleThreshold - Variable in class com.aispeech.export.config.AILocalSemanticConfig.Builder
-
- selectRuleThreshold - Variable in class com.aispeech.export.config.AILocalSemanticConfig
-
- semanticType - Variable in class com.aispeech.export.config.AILocalSemanticConfig
-
指定语义引擎类型
- SemanticType - Enum in com.aispeech.lite
-
- SemanticVocabsCfg - Class in com.aispeech.export
-
- SemanticVocabsCfg() - Constructor for class com.aispeech.export.SemanticVocabsCfg
-
- semaphoreP() - Method in class com.aispeech.lite.oneshot.OneshotKernel
-
- semaphoreV() - Method in class com.aispeech.lite.oneshot.OneshotKernel
-
- semDUILuaResFloder - Variable in class com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置离线DUI语义lua资源文件夹
- semDUILuaResFloder - Variable in class com.aispeech.export.config.AILocalSemanticConfig
-
设置离线DUI语义lua资源文件夹
- semDUIResCustomFloder - Variable in class com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置离线DUI Custom资源文件夹
- semDUIResCustomFloder - Variable in class com.aispeech.export.config.AILocalSemanticConfig
-
设置离线DUI custom资源文件夹
- semDUIResFloder - Variable in class com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置离线DUI资源文件夹
- semDUIResFloder - Variable in class com.aispeech.export.config.AILocalSemanticConfig
-
设置离线DUI资源文件夹
- semNaviLuaResFolder - Variable in class com.aispeech.export.config.AILocalSemanticConfig
-
设置离线语义lua资源文件夹
- semNaviResFolder - Variable in class com.aispeech.export.config.AILocalSemanticConfig
-
离线导航语义资源文件夹
- sendMessage(MessageProcess.Handle, Message) - Method in class com.aispeech.lite.MessageProcess
-
- sendMessage(Message) - Method in class com.aispeech.lite.oneshot.OneshotKernel
-
- sendMsgToCallbackMsgQueue(BaseInnerEngine.CallbackMsg, Object) - Method in class com.aispeech.base.BaseInnerEngine
-
callbackInThread true 往子线程发消息
false 往主线程发消息
- sendPing() - Method in class com.aispeech.lite.dm.CloudDmKernel
-
Each frame starts with two bytes of data.
- Session - Class in com.aispeech.lite.dm
-
session
- Session() - Constructor for class com.aispeech.lite.dm.Session
-
- SESSION_ID - Static variable in class com.aispeech.lite.dm.Protocol
-
- set(Context, boolean, String) - Static method in class com.aispeech.common.Audio2RefSetting
-
- set(String) - Method in class com.aispeech.export.engines2.AILocalMdsEngine
-
动态设置部分参数,start之前调用,json格式的String,用于做数据扩展
示例传参
{
//配置输入数据流的方式,0为默认的wav/pcm格式,1为定制的音频格式
"input_order": 0
}
- set(String) - Method in class com.aispeech.lite.sspe.BaseCarSspeKernel
-
- set(String) - Method in class com.aispeech.lite.sspe.BaseSspeKernel
-
- setAcousticResources(String) - Method in class com.aispeech.export.config.AILocalASRConfig.Builder
-
设置声学资源
- setAcousticResources(String) - Method in class com.aispeech.export.config.AILocalASRConfig
-
设置声学资源
- setAction(VprintIntent.Action) - Method in class com.aispeech.export.intent.VprintIntent.Builder
-
Deprecated.
设置声纹工作模式,
若不设置,会抛IllegalArgumentException
异常
- setAction(VprintIntent.Action) - Method in class com.aispeech.lite.vprint.VprintIntent.Builder
-
设置声纹工作模式,
若不设置,会抛IllegalArgumentException
异常
- setAction(VprintLiteIntent.Action) - Method in class com.aispeech.lite.vprintlite.VprintLiteIntent.Builder
-
设置声纹工作模式,
若不设置,会抛IllegalArgumentException
异常
- setAction(VprintLiteIntent.Action) - Method in class com.aispeech.lite.vprintlite.VprintLiteIntent
-
设置声纹工作模式,
若不设置,会抛IllegalArgumentException
异常
- setActiveDecoders(List<String>) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
激活解码网络
注意:如果unregister后,必须更新此列表,否则 start会失败
- setAecChannelNum(int) - Method in class com.aispeech.export.intent.VprintIntent.Builder
-
Deprecated.
多麦模式下设置回声消除后音频通道数,从AIFespCarEngine#getValueOf(String) 获取
- setAecChannelNum(int) - Method in class com.aispeech.export.intent.VprintIntent
-
Deprecated.
- setAecChannelNum(int) - Method in class com.aispeech.lite.vprint.VprintIntent.Builder
-
- setAecChannelNum(int) - Method in class com.aispeech.lite.vprint.VprintIntent
-
- setAecResource(String) - Method in class com.aispeech.AIEchoConfig
-
设置 ECHO 模式的 AEC 资源
- setAecResource(String) - Method in class com.aispeech.export.config.AIFespCarConfig
-
设置aec资源
- setAecResource(String) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
- setAecResource(String) - Method in class com.aispeech.export.config.EchoConfig.Builder
-
Deprecated.
设置 ECHO 模式的 AEC 资源
- setAIEchoConfig(AIEchoConfig) - Method in class com.aispeech.AIEchoConfig
-
- setAiEchoConfig(AIEchoConfig) - Static method in class com.aispeech.echo.EchoKernel
-
- setAiOneshotConfig(AIOneshotConfig) - Method in class com.aispeech.export.intent.AIWakeupIntent
-
Deprecated.
- setAIType(AIType) - Method in class com.aispeech.export.intent.AICloudDMIntent
-
设置AIType 参数
- setAliasKey(String) - Method in class com.aispeech.export.config.AICloudDMConfig.Builder
-
设置请求产品分支
- setAliasKey(String) - Method in class com.aispeech.export.config.AICloudSemanticConfig.Builder
-
设置产品分支,默认 prod
- setAliasKey(String) - Method in class com.aispeech.export.intent.AICloudVprintIntent.Builder
-
- setAliasKey(String) - Method in class com.aispeech.export.intent.AICloudVprintIntent
-
设置当前云端声纹使用的资源版本,可设置为prod
- setAliasKey(String) - Method in class com.aispeech.lite.dm.update.UpdaterImpl.Builder
-
- setAllText(String) - Method in class com.aispeech.common.JSONResultParser
-
- setAntiSpoofResBin(String) - Method in class com.aispeech.export.config.AntiSpoofConfig.Builder
-
设置仿冒攻击资源
若在assets目录下,则指定文件名即可,如vprint.bin
若在外部路径目录下,则需要指定绝对路径,如/sdcard/speech/vprint.bin
- setAntiSpoofSaveDir(String) - Method in class com.aispeech.export.intent.AntiSpoofIntent.Builder
-
设置保存仿冒攻击的音频数据路径
- setAntiSpoofSaveDir(String) - Method in class com.aispeech.export.intent.AntiSpoofIntent
-
设置保存仿冒攻击的音频数据
- setApi(String) - Method in class com.aispeech.export.Command
-
- setApi(String) - Method in class com.aispeech.export.NativeApi
-
- setApiKey(String) - Method in class com.aispeech.DUILiteConfig.Builder
-
- setApiKey(String) - Method in class com.aispeech.export.config.AICloudVoiceCopyConfig.Builder
-
- setApp(JSONObject) - Method in class com.aispeech.export.intent.AICloudVprintIntent.Builder
-
- setAsr(String) - Method in class com.aispeech.export.lasr.LasrSqlEntity
-
- setAsrErrorRate(float) - Method in class com.aispeech.export.intent.AICloudVprintIntent.Env
-
- setAsrErrorRate(float) - Method in class com.aispeech.export.intent.AICloudVprintIntent
-
文本半相关语音文本结果和custom_context的字错误率的百分比阈值 [0,100],结果向下取整,仅用于文本相关的注册和验证,默认值0
- setAsrErrorRate(int) - Method in class com.aispeech.lite.vprintlite.VprintLiteIntent.Builder
-
设置文本半相关语音文本结果和custom_context的字错误率的百分比阈值 [0,100],字错误率大于阈值会报错
- setAsrErrorRate(int) - Method in class com.aispeech.lite.vprintlite.VprintLiteIntent
-
设置文本半相关语音文本结果和custom_context的字错误率的百分比阈值 [0,100],字错误率大于阈值会报错
- setAsrIntent(AILocalASRIntent) - Method in class com.aispeech.export.intent.AILocalSemanticIntent
-
- setAsrPolicy(IAsrPolicy) - Method in class com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置识别仲裁策略
- setAsrppResBin(String) - Method in class com.aispeech.export.config.VprintConfig.Builder
-
Deprecated.
设置asr++资源
若在assets目录下,则指定文件名即可,如asrpp.bin
若在外部路径目录下,则需要指定绝对路径,如/sdcard/speech/asrpp.bin
- setAsrppResBin(String) - Method in class com.aispeech.lite.vprint.VprintConfig.Builder
-
设置asr++资源
若在assets目录下,则指定文件名即可,如asrpp.bin
若在外部路径目录下,则需要指定绝对路径,如/sdcard/speech/asrpp.bin
- setAsrppResource(String) - Method in class com.aispeech.export.config.AILocalAsrppConfig
-
设置性别识别资源
- setAsrRes(String) - Method in class com.aispeech.export.config.AILocalHotWordConfig.Builder
-
设置识别资源
- setAsrRes(String) - Method in class com.aispeech.export.config.AILocalWakeupIncrementConfig.Builder
-
设置识别资源
- setAudio(AICloudVprintIntent.Audio) - Method in class com.aispeech.export.intent.AICloudVprintIntent.Builder
-
- setAudioAdoptAEC(boolean) - Method in class com.aispeech.export.config.NearWakeupConfig
-
就近唤醒是否采用带aec的音频
- setAudioAttributes(int, int) - Method in class com.aispeech.export.intent.AICloudTTSIntent
-
- setAudioAttributes(AudioAttributes) - Method in class com.aispeech.export.intent.AICloudTTSIntent
-
设置音频属性
use {(AudioAttributes)
}
- setAudioAttributes(int, int) - Method in class com.aispeech.export.intent.AILocalTTSIntent
-
- setAudioAttributes(AudioAttributes) - Method in class com.aispeech.export.intent.AILocalTTSIntent
-
- setAudioFileCacheStrategy(int, int) - Method in class com.aispeech.DUILiteConfig.Builder
-
设置全局单音频缓存策略
- setAudioFileTotalSize(int) - Method in class com.aispeech.DUILiteConfig.Builder
-
设置全局总音频缓存总大小
- setAudioId(String) - Method in class com.aispeech.export.lasr.LasrSqlEntity
-
- setAudioParam(AICloudASRSentenceConfig.AudioParam) - Method in class com.aispeech.export.config.AICloudASRSentenceConfig
-
设置音频参数,包含 类型,采样率,取样字节数,通道数 等
- setAudioParam(AICloudLASRConfig.AudioParam) - Method in class com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
音频参数
- setAudioRecorderType(int) - Method in class com.aispeech.DUILiteConfig
-
设置录音机采集数据的方式
- setAudioSource(int) - Method in class com.aispeech.export.config.RecorderConfig.Builder
-
设置audioRecorder的声音源
- setAudioSourceType(int) - Method in class com.aispeech.DUILiteConfig
-
设置audioRecorder的声音源
- setAudioType(String) - Method in class com.aispeech.export.config.AICloudLASRConfig.AudioParam
-
音频类型
- setAudioType(AICloudASRIntent.PCM_ENCODE_TYPE) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
设置 PCM 编码成其它格式,以减小传输大小。
云端识别需要将PCM音频编译成其它音频格式发送给服务器。
- setAudioType(AICloudLASRRealtimeIntent.PCM_ENCODE_TYPE) - Method in class com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
⾳频类型,支持:wav, ogg, ogg_opus, opus, mp3。ogg_opus 服务器无法识别
- setAudioType(String) - Method in class com.aispeech.export.intent.AICloudTTSIntent
-
- setAudioType(String) - Method in class com.aispeech.export.intent.AICloudVprintIntent.Audio
-
- setAuthConfig(AuthConfig) - Method in class com.aispeech.DUILiteConfig.Builder
-
- setAuthRetryTimesForNetworkErr(int) - Method in class com.aispeech.DUILiteConfig
-
授权在网络错误时重试的次数
- setAuthServer(String) - Method in class com.aispeech.DUILiteConfig
-
设置DUI授权url地址
- setAuthServer(String) - Method in class com.aispeech.export.config.AuthConfig.Builder
-
Deprecated.
- setAuthServer(String) - Method in class com.aispeech.export.config.AuthConfig
-
- setAuthTimeout(int) - Method in class com.aispeech.DUILiteConfig
-
授权网络连接超时时间
- setAuthTimeout(int) - Method in class com.aispeech.export.config.AuthConfig.Builder
-
设置联网授权的超时时间,默认 5s
- setAuthTimeout(int) - Method in class com.aispeech.export.config.AuthConfig
-
- setAutoHoldBeamforming(boolean) - Method in class com.aispeech.export.intent.AIFespCarIntent
-
- setAutoSetDriveMode(boolean) - Method in class com.aispeech.export.intent.AILocalSignalAndWakeupIntent
-
车载双麦时才有效。当定位模式时,根据唤醒角度自动设置成主驾模式或者副驾模式。
- setBackResBinArray(String[]) - Method in class com.aispeech.export.config.AILocalTTSConfig.Builder
-
设置assets目录下的后端发音人资源名,若只需要一个发音人,则设置一个即可,初始化时默认以第一个资源名加载进内核
- setBackResBinArray(String[]) - Method in class com.aispeech.export.config.AILocalTTSConfig
-
- setBackResBinPath(String) - Method in class com.aispeech.export.engines2.AILocalTTSEngine
-
Deprecated.
- setBeamformingResource(String) - Method in class com.aispeech.export.config.AIFespCarConfig.Builder
-
- setBeamformingResource(String) - Method in class com.aispeech.export.config.AIFespCarConfig
-
beamforming 资源,beamforming 即波束成形,将多路音频数据 beamforming 成单声道音频,方便后续做唤醒,识别等
- setBeamformingResource(String) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
- setBfChannelNum(int) - Method in class com.aispeech.export.intent.VprintIntent.Builder
-
Deprecated.
多麦模式下设置增强后音频通道数,AIFespCarEngine#getValueOf(String) 获取
- setBfChannelNum(int) - Method in class com.aispeech.export.intent.VprintIntent
-
Deprecated.
- setBfChannelNum(int) - Method in class com.aispeech.lite.vprint.VprintIntent.Builder
-
- setBfChannelNum(int) - Method in class com.aispeech.lite.vprint.VprintIntent
-
- setBlackWords(String[], float[]) - Method in class com.aispeech.export.config.AIDmaspConfig.Builder
-
- setBlackWords(String[]) - Method in class com.aispeech.export.engines2.AILocalWakeupIncrementEngine
-
- setBlackWords(String[]) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
设置热词黑名单
- setBlackWords(String) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
- setBlackWords(String[]) - Method in class com.aispeech.export.intent.AILocalHotWordIntent
-
设置热词黑名单
- setBlackWords(String[]) - Method in class com.aispeech.export.intent.AILocalWakeupIncrementIntent
-
设置热词黑名单
- setBlockSize(int) - Method in class com.aispeech.export.lasr.LasrSqlEntity
-
- setBoost(int) - Method in class com.aispeech.lite.speech.Phrase
-
- setBoundary(int) - Method in class com.aispeech.export.config.AIFespCarConfig.Builder
-
- setBoundary(int) - Method in class com.aispeech.export.engines2.AIFespCarEngine
-
开启/关闭声纹唤醒词截断
- setBuildMulti(boolean) - Method in class com.aispeech.export.intent.AILocalGrammarIntent
-
- setBuiltInSemanticSkillID(String) - Method in class com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置是否内置自定义技能优先
- setButtons(JSONArray) - Method in class com.aispeech.export.widget.callback.ContentCallbackWidget
-
- setCacheAudioTime(int) - Method in class com.aispeech.export.config.AIOneshotConfig.Builder
-
设置回溯音频长度,单位毫秒,默认 1200ms
- setCacheDirectory(String) - Method in class com.aispeech.export.config.AICloudTTSConfig.Builder
-
设置缓存的文件夹
- setCacheDirectory(String) - Method in class com.aispeech.export.config.AILocalTTSConfig.Builder
-
- setCacheDirectory(String) - Method in class com.aispeech.export.config.AILocalTTSConfig
-
- setCacheSize(int) - Method in class com.aispeech.export.config.AICloudTTSConfig.Builder
-
设置tts缓存数量上限,默认为100
- setCacheSize(int) - Method in class com.aispeech.export.config.AICloudTTSConfig
-
- setCacheSize(int) - Method in class com.aispeech.export.config.AILocalTTSConfig.Builder
-
设置tts缓存数量上限,默认为100
- setCacheSize(int) - Method in class com.aispeech.export.config.AILocalTTSConfig
-
- setCacheUploadEnable(boolean) - Method in class com.aispeech.DUILiteConfig
-
设置 sdk 缓存唤醒、预唤醒音频文件,默认不缓存
- setCacheUploadEnable(boolean) - Method in class com.aispeech.export.config.UploadConfig.Builder
-
- setCacheUploadEnable(boolean) - Method in class com.aispeech.export.config.UploadConfig
-
- setCacheUploadMaxNumber(int) - Method in class com.aispeech.DUILiteConfig
-
- setCacheUploadMaxNumber(int) - Method in class com.aispeech.export.config.UploadConfig.Builder
-
- setCacheUploadMaxNumber(int) - Method in class com.aispeech.export.config.UploadConfig
-
- setCacheWordCount(int) - Method in class com.aispeech.export.config.AICloudTTSConfig.Builder
-
设置支持的单词缓存文字个数,默认为200
- setCacheWordCount(int) - Method in class com.aispeech.export.config.AICloudTTSConfig
-
- setCacheWordCount(int) - Method in class com.aispeech.export.config.AILocalTTSConfig.Builder
-
设置单次缓存最大支持的文本字数,默认限制为200
- setCacheWordCount(int) - Method in class com.aispeech.export.config.AILocalTTSConfig
-
- setCallback(String) - Method in class com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
识别完成时的回调HTTP(s)地址。当设置了callback地址,当识别融合后,会把最终结果以POST方式回传(也可以通过/lasr/task/result的方式来主动获取)。
- setCallBackInThread(boolean) - Method in class com.aispeech.DUILiteConfig.Builder
-
- setCallbackInThread(boolean) - Method in class com.aispeech.DUILiteConfig
-
设置 sdk 的回调是否都在子线程里,默认 false
- setCcThreshold(float[]) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
设置唤醒词对应阈值,是唤醒二次判决
- setChannel(int) - Method in class com.aispeech.common.AudioHelper.AudioData
-
- setChannel(int) - Method in class com.aispeech.export.config.AICloudLASRConfig.AudioParam
-
可选,音频通道数,默认1
- setChannel(int) - Method in class com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
音频通道数,default is 1 单声道
目前仅支持1通道数,不支持多通道
- setChannel(int) - Method in class com.aispeech.export.intent.AICloudVprintIntent.Audio
-
- setChannels(int) - Method in class com.aispeech.AIEchoConfig
-
音频总的通道数,1+1,默认为2
- setChannels(int) - Method in class com.aispeech.export.config.AILocalMdsConfig
-
输入音频通道数
- setChannels(int) - Method in class com.aispeech.export.config.EchoConfig.Builder
-
Deprecated.
音频总的通道数,1+1,默认为2
- setChannels(int) - Method in class com.aispeech.export.config.NearWakeupConfig
-
输入音频通道数
- setCheckLength(double) - Method in class com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
音频的时长(单位:秒), 用户校验剩余时长是否充足
- setCInfoServerAddress(String) - Method in class com.aispeech.export.config.AICloudDMConfig.Builder
-
设置 CInfo服务地址,默认不用设置
- setCloudVadEnable(boolean) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
设置是否开启服务端的vad功能,一般近场关闭,远场打开
- setCloudVadPauseTime(int) - Method in class com.aispeech.export.intent.AICloudDMIntent
-
- setCloudVprintVadEnable(boolean) - Method in class com.aispeech.export.intent.AIAsrPlusIntent
-
- setCloudVprintVadEnable(boolean) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
- setCloudVprintVadEnable(boolean) - Method in class com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
- setCloudWakeupCheck(String[], float[], int, int) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
使用云端ASR进行唤醒校验时需要设置 中文唤醒词和高阈值
- setCommand(Command) - Method in class com.aispeech.lite.dm.cache.Cache
-
cache command
- setCommand(Command) - Method in class com.aispeech.lite.dm.Task
-
- setCommonWakeupWord(JSONArray) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
配置自定义唤醒词;等价customWakeupWord
- setComplexity(int) - Method in class com.aispeech.speex.SpeexKernel
-
设置压缩的复杂度 可取值:2,3,4,5,默认为2
- setConnectTimeout(int) - Method in class com.aispeech.export.config.AICloudDMConfig.Builder
-
设置连接超时
- setConnectTimeout(int) - Method in class com.aispeech.export.config.AICloudSemanticConfig.Builder
-
设置连接超时
- setConstantContent(String) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
标记语音中已知的固定的文本内容(如唤醒词),算法会特殊处理被标记的音频。在dp-sr、sti-sr 算法中,会触发使用定制的文本相关模型,替代通用的文本无关模型,提升声纹的识别率。
- setConstantContent(String) - Method in class com.aispeech.lite.vprintlite.VprintLiteIntent.Builder
-
标记语音中已知的固定的文本内容(如唤醒词),算法会特殊处理被标记的音频。
- setConstantContent(String) - Method in class com.aispeech.lite.vprintlite.VprintLiteIntent
-
标记语音中已知的固定的文本内容(如唤醒词),算法会特殊处理被标记的音频。
- setContent(String) - Method in class com.aispeech.export.intent.AILocalGrammarIntent.GrammarBean
-
设置编译的 xbnf 内容
- setContent(String) - Method in class com.aispeech.export.intent.AILocalGrammarIntent
-
设置编译的 xbnf 内容
- setContent(JSONArray) - Method in class com.aispeech.export.widget.callback.ListCallbackWidget
-
- setContent(JSONArray) - Method in class com.aispeech.export.widget.callback.MediaCallbackWidget
-
- setContext(String) - Method in class com.aispeech.common.DDSJSONResultParser.DDSResultParseBean
-
- setContext(String) - Method in class com.aispeech.export.intent.AILocalSemanticIntent
-
设置当前上下文,实现多轮交互
- setContextId(String) - Method in class com.aispeech.common.DDSJSONResultParser.DDSResultParseBean
-
- setContextId(String) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
如果有contextId,服务端认为是同一个验证,会使用保存的cache和新的数据进行加强验证,非必须
- setContextId(String) - Method in class com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
- setContextId(String) - Method in class com.aispeech.export.intent.AICloudVprintIntent.Builder
-
- setContextId(String) - Method in class com.aispeech.export.intent.AICloudVprintIntent
-
如果有contextId,服务端认为是同一个验证,会使用保存的cache和新的数据进行加强验证,仅用于实时验证
- setCurrentPage(int) - Method in class com.aispeech.export.widget.callback.ListCallbackWidget
-
- setCurrentPage(int) - Method in class com.aispeech.export.widget.callback.MediaCallbackWidget
-
- setCustomAudioList(List<CustomAudioBean>) - Method in class com.aispeech.export.config.AILocalTTSConfig.Builder
-
自定义外部录音,列表中的文本使用对应的录音文件播报
- setCustomAudioList(List<CustomAudioBean>) - Method in class com.aispeech.export.config.AILocalTTSConfig
-
- setCustomContent(String) - Method in class com.aispeech.export.intent.AICloudVprintIntent.Env
-
- setCustomContent(String) - Method in class com.aispeech.export.intent.AICloudVprintIntent
-
文本(半)相关时输入的语音文本。使用文本(半)相关时必需设置
- setCustomContent(String) - Method in class com.aispeech.lite.vprintlite.VprintLiteIntent.Builder
-
文本(半)相关时输入的语音文本。
- setCustomContent(String) - Method in class com.aispeech.lite.vprintlite.VprintLiteIntent
-
文本(半)相关时输入的语音文本。
- setCustomDeviceId(String) - Method in class com.aispeech.export.config.AuthConfig.Builder
-
Deprecated.
- setCustomDeviceId(String) - Method in class com.aispeech.export.config.AuthConfig
-
- setCustomDeviceName(String) - Method in class com.aispeech.export.config.AuthConfig.Builder
-
设置deviceName
- setCustomDeviceName(String) - Method in class com.aispeech.export.config.AuthConfig
-
- setCustomLog(CustomLog) - Static method in class com.aispeech.DUILiteSDK
-
- setCustomParams(String[], String[]) - Method in class com.aispeech.export.config.AICloudDMConfig.Builder
-
设置自定义参数
- setCustomThreshold(String[], Double[]) - Method in class com.aispeech.export.engines2.AILocalWakeupIncrementEngine
-
- setCustomThreshold(String[], Double[]) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
自定义单词置信度阈值
- setCustomThreshold(Map<String, Double>) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
- setCustomThreshold(String[], Double[]) - Method in class com.aispeech.export.intent.AILocalHotWordIntent
-
自定义单词置信度阈值
- setCustomThreshold(String[], Double[]) - Method in class com.aispeech.export.intent.AILocalWakeupIncrementIntent
-
自定义单词置信度阈值
- setCustomWakeupScore(int) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
- setCustomWakeupScore(int) - Method in class com.aispeech.export.intent.AICloudDMIntent
-
- setCustomWakeupWord(List<String>, boolean) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
设置自定义唤醒词和 是否过滤句首唤醒词,用于 oneshot 功能。
比如音频输入为"你好小驰,今天天气怎么样",filter 为 true 后识别结果即为"今天天气怎么样"
- setCustomWakeupWord(List<String>) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
设置自定义唤醒词,可用于过滤和指定唤醒词识别比如 ["你好小乐","你好小白"]
- setData(byte[]) - Method in class com.aispeech.common.AudioHelper.AudioData
-
- setData(byte[]) - Method in class com.aispeech.lite.vprint.VprintSqlEntity
-
声纹数据
- setDcheck(int[]) - Method in class com.aispeech.export.config.AIFespCarConfig
-
设置唤醒是否开启校验,"1"表示开启校验,"0"表示不开启校验
- setDcheck(int[]) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
设置唤醒是否开启校验,"1"表示开启校验,"0"表示不开启校验
- setDcheck(int) - Method in class com.aispeech.export.config.WakeupWord
-
设置唤醒是否开启校验
- setDcheck(String[]) - Method in class com.aispeech.export.intent.AIWakeupIntent
-
设置唤醒是否开启校验,"1"表示开启校验,"0"表示不开启校验
- setDcheck(int[]) - Method in class com.aispeech.export.intent.AIWakeupIntent
-
设置唤醒是否开启校验,"1"表示开启校验,"0"表示不开启校验
- setDebounceWnd(int) - Method in class com.aispeech.export.config.NearWakeupConfig
-
防抖窗口期,单位毫秒,范围50-1000,默认450ms。唤醒窗口期结束之后开始进入防抖窗口期,一次唤醒之
后,有可能还有部分设备不落在唤醒窗口期,在防抖窗口期内该设备也不会被唤醒。
- setDebugMode(int, String) - Static method in class com.aispeech.DUILiteSDK
-
Deprecated.
- setDebugMode(int) - Static method in class com.aispeech.DUILiteSDK
-
设置SDK日志级别,默认W-3
{V = 2 , D =3 , I = 4 , W = 5 , E = 6, A = 7}
- setDebugMode(int, int) - Static method in class com.aispeech.DUILiteSDK
-
设置SDK日志级别,默认W-3
{V = 2 , D =3 , I = 4 , W = 5 , E = 6, A = 7}
M
- setDebugPath(String) - Method in class com.aispeech.export.config.NearWakeupConfig
-
中间音频、原始音频的存放路径
- setDefaultScene(boolean) - Method in class com.aispeech.export.widget.Scene.Builder
-
- setDefaultScene(boolean) - Method in class com.aispeech.export.widget.Scene
-
- setDeviceProfileDirPath(String) - Method in class com.aispeech.DUILiteConfig
-
授权文件保存目录的绝对路径
- setDeviceProfileDirPath(String) - Method in class com.aispeech.export.config.AuthConfig.Builder
-
授权文件保存目录的绝对路径,离线授权方案需要同时设置授权文件路径和自定义设备Id
注意:若采用批量激活的方式,将大授权文件 “auth_profile.zip” 放在授权路径下:
取值:绝对路径字符串, e.g./sdard/speech
默认存放目录 /data/data/包名/files/
- setDeviceProfileDirPath(String) - Method in class com.aispeech.export.config.AuthConfig
-
- setDictDb(String) - Method in class com.aispeech.export.config.AILocalTTSConfig.Builder
-
设置assets目录下的合成字典名字
- setDictDb(String, String) - Method in class com.aispeech.export.config.AILocalTTSConfig.Builder
-
- setDictResource(String) - Method in class com.aispeech.export.config.AILocalTTSConfig
-
设置合成字典
- setDictResource(String, String) - Method in class com.aispeech.export.config.AILocalTTSConfig
-
设置assets目录下的合成字典资源名字和对应的md5文件
- setDisResultDataReceived(int) - Method in class com.aispeech.export.config.AIFespCarConfig.Builder
-
设置取消fesp回传,关闭fespcar音频接口回调的抛出
- setDm(JSONObject) - Method in class com.aispeech.common.DDSJSONResultParser.DDSResultParseBean
-
- setDmaspChannelCount(int) - Method in class com.aispeech.export.config.AIDmaspConfig.Builder
-
Dmasp 输出的通道数 支持 4Mic 2Mic
该数据将影响驾驶模式抛出的单路音频
- setDmaspResource(String) - Method in class com.aispeech.export.config.AIDmaspConfig.Builder
-
- setDMError(Error) - Method in class com.aispeech.lite.dm.Task
-
- setDoa(int) - Method in class com.aispeech.export.intent.AILocalMdsIntent
-
说话人角度(多通道输入时使用),可选,根据资源配置而定
- setDoaManually(int) - Method in class com.aispeech.export.engines2.AIDmaspEngine
-
Deprecated.
在定位模式下,手动设置为主驾唤醒或者副驾唤醒
- setDoaManually(int) - Method in class com.aispeech.export.engines2.AIFespCarEngine
-
在定位模式下,手动设置为主驾唤醒或者副驾唤醒
- setDoaManually(int) - Method in class com.aispeech.lite.dmasp.DmaspKernel
-
- setDoaManually(int) - Method in class com.aispeech.lite.dmasp.DmaspProcessor
-
- setDoaManually(int) - Method in interface com.aispeech.lite.function.ICarFunction
-
手动设置唤醒角度
- setDoaManually(int) - Method in class com.aispeech.lite.sspe.BaseCarSspeKernel
-
- setDomain(String) - Method in class com.aispeech.export.engines2.AILocalSemanticEngine
-
设置前一轮对话领域信息,start之前设置生效
- setDomain(String) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
领域(comm/aihome/aitv/aicar/aiphone/airobot/aitranson-cn-16k/aitranson-en-16k),用于asrplus,和res对应,可不设置
- setDomain(String) - Method in class com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
- setDomain(String) - Method in class com.aispeech.export.intent.AICloudVprintIntent.Builder
-
- setDomain(String) - Method in class com.aispeech.export.intent.AICloudVprintIntent
-
领域(comm/aihome/aitv/aicar/aiphone/airobot/aitranson-cn-16k/aitranson-en-16k)
用于注册和实时声纹验证,注册时非必需,实时声纹验证必需设置
- setDomain(String) - Method in class com.aispeech.export.intent.AILocalSemanticIntent
-
设置 buidlin+navi 前一轮的对话领域信息,实现多轮交互
- setDriveMode(int) - Method in class com.aispeech.export.engines2.AIDmaspEngine
-
Deprecated.
设置驾驶模式, 0为定位模式, 按照声源定位;1为主驾模式;2为副驾模式;3为全车模式
- setDriveMode(int, int) - Method in class com.aispeech.export.engines2.AIDmaspEngine
-
Deprecated.
设置驾驶模式,此方法主要为自由组合模式传入wakeupChannelMask参数
- setDriveMode(int) - Method in class com.aispeech.export.engines2.AIFespCarEngine
-
动态设置唤醒env,在其中加入 driveMode 参数
设置模式后,会取消beamforming指向。
- setDriveMode(int, int) - Method in class com.aispeech.export.engines2.AIFespCarEngine
-
- setDriveMode(int) - Method in class com.aispeech.lite.dmasp.DmaspKernel
-
- setDriveMode(int, int) - Method in class com.aispeech.lite.dmasp.DmaspKernel
-
- setDriveMode(int) - Method in class com.aispeech.lite.dmasp.DmaspProcessor
-
- setDriveMode(int, int) - Method in class com.aispeech.lite.dmasp.DmaspProcessor
-
- setDriveMode(int) - Method in interface com.aispeech.lite.function.ICarFunction
-
- setDriveMode(int, int) - Method in interface com.aispeech.lite.function.ICarFunction
-
- setDriveMode(int, int) - Method in class com.aispeech.lite.sspe.BaseCarSspeKernel
-
- setDriveMode(int) - Method in class com.aispeech.lite.sspe.BaseCarSspeKernel
-
- setDumpWakeupAudioPath(String) - Method in class com.aispeech.export.intent.AIDmaspIntent
-
设置dump唤醒音频保存的文件夹,比如/sdcard/speech/dumpwkp。不设置则不dump音频
- setDumpWakeupAudioPath(String) - Method in class com.aispeech.export.intent.AIFespCarIntent
-
设置dump唤醒音频保存的文件夹,比如/sdcard/speech/dumpwkp。不设置则不dump音频
- setDumpWakeupAudioPath(String) - Method in class com.aispeech.export.intent.AILocalSignalAndWakeupIntent
-
设置dump唤醒音频保存的文件夹,比如/sdcard/speech/dumpwkp。不设置则不dump音频
- setDumpWakeupAudioPath(String) - Method in class com.aispeech.export.intent.AIWakeupIntent
-
设置dump唤醒音频保存的文件夹,比如/sdcard/speech/dumpwkp。不设置则不dump音频
- setDumpWakeupTime(int) - Method in class com.aispeech.export.intent.AIDmaspIntent
-
设置dump唤醒点回退音频的时间,默认5000ms。
- setDumpWakeupTime(int) - Method in class com.aispeech.export.intent.AIFespCarIntent
-
设置dump唤醒点回退音频的时间,默认5000ms。
- setDumpWakeupTime(int) - Method in class com.aispeech.export.intent.AILocalSignalAndWakeupIntent
-
设置dump唤醒点回退音频的时间,默认5000ms。
- setDumpWakeupTime(int) - Method in class com.aispeech.export.intent.AIWakeupIntent
-
设置dump唤醒点回退音频时长,默认5000ms。
- setDynamicAlignment(boolean) - Method in class com.aispeech.export.config.AIDmaspConfig.Builder
-
设置多音区是否需要进行动态对齐
- setDynamicList(String) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
- setDynamicList(List<String>) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
设置识别热词列表字符串,比如:"北京市,YOU ARE RIGHT,BLUCE,tfboys,天安门博物馆"
- setDynamicParam(String) - Method in class com.aispeech.export.engines2.AILocalFaspEngine
-
- setDynamicParam(String) - Method in class com.aispeech.export.engines2.AILocalSevcEngine
-
动态设置参数
- setDynamicParam(String[], float[], int[]) - Method in class com.aispeech.export.engines2.AILocalSignalAndWakeupEngine
-
动态调整参数
- setDynamicParam(String[], float[], float[], int[]) - Method in class com.aispeech.export.engines2.AILocalSignalAndWakeupEngine
-
动态调整参数
- setDynamicParam(String[], float[], float[], int[], boolean) - Method in class com.aispeech.export.engines2.AILocalSignalAndWakeupEngine
-
动态设置参数
- setDynamicParam(Map<String, ?>) - Method in class com.aispeech.export.engines2.AILocalSignalAndWakeupEngine
-
动态设置唤醒参数,可以在引擎初始化成功后动态设置
- setDynamicParam(String) - Method in class com.aispeech.export.engines2.AILocalSignalAndWakeupEngine
-
- setDynamicParam(String[], float[]) - Method in class com.aispeech.export.engines2.AIWakeupEngine
-
动态调整参数,只能调整唤醒词的thresh
- setDynamicParam(String) - Method in class com.aispeech.export.engines2.AIWakeupEngine
-
- setDynamicParam(JSONObject) - Method in class com.aispeech.export.engines2.AIWakeupEngine
-
设置唤醒env热更新,可以在引擎初始化成功后动态设置,当前只支持更新thresh
- setDynamicParamEnv(Map<String, ?>) - Method in class com.aispeech.export.engines2.AILocalSignalAndWakeupEngine
-
动态调整参数,可以用来设置唤醒词,阈值等
- setDynamicParamEnv(Map<String, ?>) - Method in class com.aispeech.export.engines2.AIWakeupEngine
-
动态调整参数,具体请参照 demo
- setEchoCallbackBufferSize(int) - Method in class com.aispeech.export.config.EchoConfig.Builder
-
- setEchoChannelNum(int) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
设置参考音路数,默认为0 即不含参考音
- setEchoConfig(AIEchoConfig) - Method in class com.aispeech.DUILiteConfig.Builder
-
设置回声消除参数
- setEchoConfig(AIEchoConfig) - Method in class com.aispeech.DUILiteConfig
-
设置 ECHO 模式的配置,其它模式下无影响
- setEmotion(String) - Method in class com.aispeech.export.intent.AICloudTTSIntent
-
情感,有三种参数类型{"happy","default","sad"},如果不传或者传递错误的类型默认为default
目前仅有两种音色支持情感参数
ryzenm : night
kuayuf : angry/sad/happy
- setEnableAlignment(boolean) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
- setEnableAlignment(boolean) - Method in class com.aispeech.export.intent.AICloudDMIntent
-
设置识别Alignment功能
- setEnableAlignment(boolean) - Method in class com.aispeech.lite.dm.dispather.Dispatcher
-
- setEnableAsrPlus(boolean) - Method in class com.aispeech.export.config.AICloudASRConfig.Builder
-
设置是否使用云端声纹参数
- setEnableAudioDetection(boolean) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
- setEnableAudioDetection(boolean) - Method in class com.aispeech.export.intent.AICloudDMIntent
-
设置打开云端音频检测功能
- setEnableBCDDiscard(boolean) - Method in class com.aispeech.export.intent.AILocalSemanticIntent
-
- setEnableCloudVAD(boolean) - Method in class com.aispeech.export.intent.AICloudDMIntent
-
- setEnableConfidence(boolean) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
设置置信度
- setEnableCount(boolean) - Method in class com.aispeech.lite.hotword.ssl.Counter
-
- setEnableDialectProcess(boolean) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
- setEnableDialectProcessNlurec(boolean) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
- setEnableDoubleVad(boolean) - Method in class com.aispeech.export.config.AICloudASRConfig.Builder
-
设置识别引擎是否使用双VAD,使用双VAD 需要 feed 2通道音频,而
使用非双VAD 则 feed 1 通道的音频。
- setEnableDoubleVad(boolean) - Method in class com.aispeech.export.config.AICloudASRConfig
-
设置识别引擎是否使用双VAD,使用双VAD 需要 feed 2通道音频,而
使用非双VAD 则 feed 1 通道的音频。
- setEnableDoubleVad(boolean) - Method in class com.aispeech.export.config.AILocalASRConfig.Builder
-
设置离线识别引擎是否使用双VAD,使用双VAD 需要 feed 2通道音频,而
使用非双VAD 则 feed 1 通道的音频。
- setEnableDoubleVad(boolean) - Method in class com.aispeech.export.config.AILocalASRConfig
-
设置离线识别引擎是否使用双VAD,使用双VAD 需要 feed 2通道音频,而
使用非双VAD 则 feed 1 通道的音频。
- setEnableEmotion(boolean) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
是否开启情感识别
- setEnableEmotion(boolean) - Method in class com.aispeech.export.intent.AICloudDMIntent
-
设置打开识别结果情绪识别功能,同时抛出情绪,年龄,性别结果
emotion 取值范围 : [sad, happy, angry,neutral]
gender 取值范围 : [female, male]
age 取值范围 : [child,adult, elder]
- setEnableFirstDec(boolean) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
首字延时优化
- setEnableFirstDecForce(boolean) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
vad=false时强制开首字优化
- setEnableLanguageClassifier(boolean) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
- setEnableNBest(boolean) - Method in class com.aispeech.export.intent.AICloudSemanticIntent
-
设置是否返回语义 Nbest 结果 , 默认 false
- setEnableNbestConfi(Boolean) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
nbest 按字confidence功能
- setEnableNluFormatV2(boolean) - Method in class com.aispeech.export.config.AILocalSemanticConfig.Builder
-
- setEnableNumberConvert(boolean) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
设置是否启用识别结果汉字数字转阿拉伯数字功能
- setEnableNumberConvert(boolean) - Method in class com.aispeech.export.intent.AICloudDMIntent
-
识别结果中文转阿拉伯数字,如:三点半---3点半
- setEnableNumberConvert(boolean) - Method in class com.aispeech.export.intent.AICloudSemanticIntent
-
识别结果中文转阿拉伯数字,如:三点半---3点半
- setEnableOptimization(boolean) - Method in class com.aispeech.export.config.AILocalTTSConfig.Builder
-
设置是否开启cpu优化,默认开启为true。
若某些机器合成速度慢,可以关闭cpu优化功能,设置为false
- setEnableOptimization(boolean) - Method in class com.aispeech.export.config.AILocalTTSConfig
-
设置是否开启cpu优化
若某些机器合成速度慢,可以关闭cpu优化功能,设置为false
- setEnablePunctuation(boolean) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
设置是否启用标点符号识别
- setEnablePunctuation(boolean) - Method in class com.aispeech.export.intent.AICloudDMIntent
-
设置是否启用标点符号
- setEnablePunctuation(boolean) - Method in class com.aispeech.export.intent.AICloudSemanticIntent
-
设置是否启动标点符号,默认true
- setEnableRealBackFastend(Boolean) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
在实时反馈的基础上支持rec快出,必须在realback=true时生效 default is
- setEnableRecUppercase(boolean) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
输出英文字母转成大写,true 为转大写,false 为不转大写。默认 true
- setEnableRecUppercase(boolean) - Method in class com.aispeech.export.intent.AICloudDMIntent
-
识别结果英文转大写
- setEnableRecUppercase(boolean) - Method in class com.aispeech.export.intent.AICloudSemanticIntent
-
识别结果英文转大写
- setEnableRuleCorrect(Boolean) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
识别结果规则矫正
- setEnableSensitiveWdsNorm(boolean) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
敏感词过滤
true 是开启,false 是关闭 默认是开启
- setEnableSeparateNBest(Boolean) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
开启后,将把每一路的nbest分开
- setEnableShowText(boolean) - Method in class com.aispeech.export.intent.AICloudDMIntent
-
- setEnableSNTime(boolean) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
设置rec结果增加对齐信息,默认为false,关闭
- setEnableSpeakerAntiSpoofing(boolean) - Method in class com.aispeech.export.intent.AICloudVprintIntent.Env
-
- setEnableSpeakerAntiSpoofing(boolean) - Method in class com.aispeech.export.intent.AICloudVprintIntent
-
语音活体检测,仅用于离线验证
- setEnableTone(boolean) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
设置音调功能,默认为false,关闭
- setEnableTone(boolean) - Method in class com.aispeech.export.intent.AICloudDMIntent
-
- setEnableTxtSmooth(Boolean) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
支持口语顺滑开关
- setEnableVAD(boolean) - Method in class com.aispeech.export.intent.AICloudDMIntent
-
设置是否使用识别服务内置的vad模块检测
- setEnableVad(boolean) - Method in class com.aispeech.export.intent.AICloudVprintIntent.Env
-
- setEnableVad(boolean) - Method in class com.aispeech.export.intent.AICloudVprintIntent
-
文本无关vad开关,默认为true
- setEnableVocabsConvert(boolean) - Method in class com.aispeech.export.intent.AICloudDMIntent
-
词库识别、语义是否开启转换
开启后,对含英文、数字、特殊字符等词库统一加工后送识别,得到识别结果后还原原始词库
- setEnableVocabsConvert(boolean) - Method in class com.aispeech.export.intent.AICloudSemanticIntent
-
词库识别、语义是否开启转换
开启后,对含英文、数字、特殊字符等词库统一加工后送识别,得到识别结果后还原原始词库
- setEnableWordConfi(Boolean) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
1best的按字confidence随 alignment的接口出。
- setEncryptCustomDeviceName(boolean) - Method in class com.aispeech.DUILiteConfig
-
- setEncryptCustomDeviceName(boolean) - Method in class com.aispeech.export.config.AuthConfig.Builder
-
设置是否需要对customDeviceName进行明文加密
- setEndSkillDm(boolean) - Method in class com.aispeech.export.DmInfo
-
- setEndSkillDm(boolean) - Method in class com.aispeech.lite.dm.Task
-
- setEnglishThreshold(double) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
- setEnglishThreshold(double) - Method in class com.aispeech.export.intent.AILocalHotWordIntent
-
- setEnglishThreshold(double) - Method in class com.aispeech.export.intent.AILocalWakeupIncrementIntent
-
- setEnhanceRegister(boolean) - Method in class com.aispeech.export.intent.AICloudVprintIntent.Env
-
- setEnhanceRegister(boolean) - Method in class com.aispeech.export.intent.AICloudVprintIntent
-
注册增强,仅用于注册,默认false
- setEnhanceRegister(boolean) - Method in class com.aispeech.lite.vprintlite.VprintLiteIntent.Builder
-
注册增强,仅用于声纹注册
- setEnhanceRegister(boolean) - Method in class com.aispeech.lite.vprintlite.VprintLiteIntent
-
注册增强,仅用于声纹注册
- setEnv(String) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
- setEnv(AICloudVprintIntent.Env) - Method in class com.aispeech.export.intent.AICloudVprintIntent.Builder
-
- setEnv(String) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
env
- setEof(int) - Method in class com.aispeech.common.DDSJSONResultParser.DDSResultParseBean
-
- setEof(int) - Method in class com.aispeech.lite.dm.cache.CacheLastAsrResult
-
- setErrId(int) - Method in exception com.aispeech.AIError
-
- setErrId(String) - Method in exception com.aispeech.AIError
-
- setErrId(String) - Method in class com.aispeech.export.DmInfo
-
- setErrId(String) - Method in class com.aispeech.lite.dm.Error
-
- setErrMsg(String) - Method in class com.aispeech.lite.dm.Error
-
- setError(String) - Method in exception com.aispeech.AIError
-
- setError(JSONObject) - Method in class com.aispeech.common.DDSJSONResultParser.DDSResultParseBean
-
- setEventMap(Map<Object, Object>) - Method in exception com.aispeech.AIError
-
- setExcludeDispatch(AIUpdateListener, String[], String) - Method in class com.aispeech.export.engines2.AICloudDMEngine
-
指定技能调度黑名单列表,DM中控调度时对于指定的技能不参与调度
- setExpandFnJson(String) - Method in class com.aispeech.export.widget.Scene
-
- setExpandFnJsonPath(String) - Method in class com.aispeech.export.widget.Scene
-
- setExpandFnPath(String) - Method in class com.aispeech.export.config.AILocalWakeupIncrementConfig.Builder
-
设置 net.bin资源名
- setExpandFnPath(String) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
ExpandFn 文件路径,用于动态拆分net.bin文件
start 之前传入有效
- setExt(String) - Method in exception com.aispeech.AIError
-
- setExternalAudioRecordProvider(DUILiteConfig.ExternalAudioRecordProvider) - Static method in class com.aispeech.DUILiteConfig
-
- setExtra(JSONObject) - Method in class com.aispeech.export.widget.callback.CallbackWidget
-
- setExtraParam(Map<String, Object>) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
设置额外的参数
- setExtraParameter(String, String) - Method in class com.aispeech.DUILiteConfig
-
参数设置,主要用于设置devicename和deviceID,其中,devicename是设备计量的标识,可以根据需要自行设置
如果不设置,服务器会生成一个devicename。
//设置deviceName
setExtraParameter("DEVICE_NAME","deviceName");
//也可以使用deviceID作为设备的唯一标识符
setExtraParameter("DEVICE_ID","deviceId");
setExtraParameter("DEVICE_NAME_TYPE", "deviceId");
//使用预分配方案
setExtraParameter("LICENSE_ID", "licenseId");
需在init前调用生效
- setExtraParameter(String, int) - Method in class com.aispeech.DUILiteConfig
-
参数设置
需在init前调用生效
- setFespcarDataReceivedEnable(int) - Method in class com.aispeech.lite.sspe.BaseCarSspeKernel
-
设置取消fesp回传,关闭fespcar音频接口回调的抛出
- setFespxEngine(IFespxEngine) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
设置关联 IFespxEngine 实例,只在使用内部录音机且多麦模式下才需要设置
- setFespxEngine(IFespxEngine) - Method in class com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
- setFespxEngine(IFespxEngine) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
设置关联的信号处理引擎AILocalSignalAndWakeupEngine实例,只在使用内部录音机且多麦模式下才需要设置
- setFespxEngine(IFespxEngine) - Method in class com.aispeech.export.intent.AILocalAsrppIntent
-
设置关联的信号处理引擎AILocalSignalAndWakeupEngine实例,只在使用内部录音机且多麦模式下才需要设置
- setFespxEngine(IFespxEngine) - Method in class com.aispeech.export.intent.AILocalLASRIntent
-
设置关联的信号处理引擎AILocalSignalAndWakeupEngine实例,只在使用内部录音机且多麦模式下才需要设置
- setFileLen(int) - Method in class com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
音频文件长度。单位:byte
- setFileLength(long) - Method in class com.aispeech.export.lasr.LasrSqlEntity
-
- setFillerPenaltyScore(float) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
- setFillerPenaltyScore(double) - Method in class com.aispeech.export.intent.AILocalWakeupIncrementIntent
-
根据误唤醒集合设置的值
- setForwardAddresses(String) - Method in class com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
当参数不为空时,启动转发模式。 当有转写结果时,会往注册的WebSocket地址实时推送转写结果。
- setFourHost(boolean) - Method in class com.aispeech.export.config.AIFespCarConfig.Builder
-
- setFourHost(boolean) - Method in class com.aispeech.export.config.AIFespCarConfig
-
- setFrontBinResource(String) - Method in class com.aispeech.export.config.AILocalTTSConfig
-
设置 FrontBinResource,包含文本归一化,分词的,韵律等
- setFrontBinResource(String, String) - Method in class com.aispeech.export.config.AILocalTTSConfig
-
设置assets目录下的合成前端资源的名字和对应的md5文件,包含文本归一化,分词的,韵律等
- setFrontResBin(String) - Method in class com.aispeech.export.config.AILocalTTSConfig.Builder
-
设置assets目录下的合成前端资源,包含文本归一化,分词的,韵律等
- setFrontResBin(String, String) - Method in class com.aispeech.export.config.AILocalTTSConfig.Builder
-
- setFullDuplex(boolean) - Method in class com.aispeech.lite.dm.update.UpdaterImpl.Builder
-
- setGlobalAudioSaveEnable(boolean) - Static method in class com.aispeech.DUILiteSDK
-
Deprecated.
- setGlobalAudioSaveEngines(int) - Static method in class com.aispeech.DUILiteSDK
-
设置要保存音频的模块,其他模块则不会保存音频
支持多个模块配置 例如 setGlobalAudioSaveEngines(SpeechParams.Engine.ECHO | SpeechParams.Engine.CLOUD_ASR);
默认是全开,多次设置或配置setGlobalDisableAudioSaveEngines会覆盖
- setGlobalAudioSavePath(String) - Static method in class com.aispeech.DUILiteSDK
-
Deprecated.
- setGlobalDisableAudioSaveEngines(int) - Static method in class com.aispeech.DUILiteSDK
-
设置不保存音频的模块,其他模块则会保存音频
支持多个模块配置
多次设置会覆盖,注意同时设置setGlobalAudioSaveEngine会覆盖
- setGlobalLogLevel(int) - Static method in class com.aispeech.DUILiteSDK
-
设置 LiteSDK 全局日志等级 默认 android.util.Log.WARN
{V = 2 , D =3 , I = 4 , W = 5 , E = 6, A = 7}
- setGrammarBeanList(List<AILocalGrammarIntent.GrammarBean>) - Method in class com.aispeech.export.intent.AILocalGrammarIntent
-
- setGrammarRes(String) - Method in class com.aispeech.export.config.AILocalWakeupIncrementConfig.Builder
-
设置grammar资源
- setGroupId(String) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
- setGroupId(String) - Method in class com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
- setGroupId(String) - Method in class com.aispeech.export.intent.AICloudVprintIntent.Builder
-
- setGroupId(String) - Method in class com.aispeech.export.intent.AICloudVprintIntent
-
users和groupId,二选一,或者2个都填(按最小集),仅用于离线声纹验证
- setHost(String) - Method in class com.aispeech.export.config.AICloudVoiceCopyConfig.Builder
-
- setHost(String) - Method in class com.aispeech.export.config.AICloudVprintConfig
-
- setHotwords(List<String>) - Method in class com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
自定义的热词列表。每个词用英文逗号分割,中文必须使用utf-8编码,单个词必须在2 ~10个汉字之间,热词列表不能超过1000个词。
- setHotWords(String[]) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
设置产品级热词,比如"你好小驰"设置之后,识别的同音词都会被识别为 你好小驰 ["你好小驰","思必驰"]
- setHotwords(JSONObject) - Method in class com.aispeech.export.intent.AILocalSemanticIntent
-
设置词库
热词结构 {“词库名”:["词条名"]}
{"sys.联系人":["十二饭点","新梅华", "香椿炒蛋", "你好"], "对象":["新梅华", "香椿炒蛋", "你好"]}
- setHotwordsMax(int) - Method in class com.aispeech.export.intent.AILocalSemanticIntent
-
设置截取txt的热词条数
热词词条限制,默认为0,不截取;如果配置2 则截取txt的前两条
- setId(int) - Method in class com.aispeech.export.lasr.LasrSqlEntity
-
- setId(String) - Method in class com.aispeech.lite.vprint.VprintSqlEntity
-
声纹的id,就是用户名+唤醒词,例如:"小明你好小驰"
- setIgnoreEmptyResult(boolean) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
设置忽略无结果的返回值,如果设置为true,则遇到返回值为空则会自动重启引擎,直接进入下一轮识别
- setIgnoreEmptyResult(boolean, int) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
设置忽略无结果的返回值,如果设置为true,则遇到返回值为空则会自动重启引擎,直接进入下一轮识别
- setIgnoreLogin(boolean) - Method in class com.aispeech.DUILiteConfig
-
设置是否优化授权速度
- setIllegalPingyinCheck(boolean) - Method in class com.aispeech.DUILiteConfig.Builder
-
- setIllegalPingyinCheck(boolean) - Method in class com.aispeech.DUILiteConfig
-
- setImageUrl(String) - Method in class com.aispeech.export.widget.callback.ContentCallbackWidget
-
- setImageUrl(String) - Method in class com.aispeech.export.widget.feedback.ContentFeedbackWidget
-
设置图片资源地址
- setImplAgcCk(boolean) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
设置是否输出经过前端信号处理放大后的agc音频数据
- setImplBfCk(boolean) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
设置是否输出Beamforming音频
- setImplDoaCk(boolean) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
设置是否输出doa
- setImplEchoCk(boolean) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
设置是否输出消除回路之后的音频 数据
- setImplEchoVoipCk(boolean) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
设置是否输出经过回声消除的送给VoIP使用的音频数据
- setImplInputCk(boolean) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
设置是否回调输出送入内核的参考音频
- setImplMultiBfCk(boolean) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
设置是否回调输出多路beamforming音频
- setImplOutputCk(boolean) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
设置是否回调输出output音频回调,返回内核定制资源输出的音频数据
- setImplSevcDoaCk(boolean) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
设置是否输出信号处理后语音通信的beam index信息
- setImplSevcNoiseCk(boolean) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
设置是否输出信号处理估计噪声最大的beam index 信息和该方向的音量信息,为 json 字符串
- setImplVadCk(boolean) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
设置是否回调输出vad结果
- setImplVprintCutCk(boolean) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
设置是否输出用于声纹的音频
- setImplWakeupCk(boolean) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
设置是否回调输出唤醒回调,如果关掉了则无法唤醒
- setInput(String) - Method in class com.aispeech.export.SkillIntent
-
设置输入信息
- setInputContinuousAudio(boolean) - Method in class com.aispeech.export.intent.AIFespCarIntent
-
设置是否输入实时的长音频,默认接受长音频为true(如果是一二级唤醒,即每个唤醒词独立且非实时,则需要设置为false,如果不设置会影响性能)
当设置为false时,每次送一段音频段都会给予是否唤醒的反馈,如果没有被唤醒,则抛出wakeupWord:null, confidence:0的信息
- setInputContinuousAudio(boolean, boolean) - Method in class com.aispeech.export.intent.AIFespCarIntent
-
设置是否输入实时的长音频,默认接受长音频为true(如果是一二级唤醒,即每个唤醒词独立且非实时,则需要设置为false,如果不设置会影响性能)
- setInputContinuousAudio(boolean) - Method in class com.aispeech.export.intent.AILocalSignalAndWakeupIntent
-
设置是否输入实时的长音频,默认接受长音频为true(如果是一二级唤醒,即每个唤醒词独立且非实时,则需要设置为false,如果不设置会影响性能)
当设置为false时,每次送一段音频段都会给予是否唤醒的反馈,如果没有被唤醒,则抛出wakeupWord:null, confidence:0的信息
- setInputContinuousAudio(boolean, boolean) - Method in class com.aispeech.export.intent.AILocalSignalAndWakeupIntent
-
设置是否输入实时的长音频,默认接受长音频为true(如果是一二级唤醒,即每个唤醒词独立且非实时,则需要设置为false,如果不设置会影响性能)
- setInputContinuousAudio(boolean) - Method in class com.aispeech.export.intent.AIWakeupIntent
-
设置是否输入实时的长音频,默认接受长音频为true(如果是一二级唤醒,即每个唤醒词独立且非实时,则需要设置为false,如果不设置会影响性能)
- setInputContinuousAudio(boolean, boolean) - Method in class com.aispeech.export.intent.AIWakeupIntent
-
设置是否输入实时的长音频,默认接受长音频为true(如果是一二级唤醒,即每个唤醒词独立且非实时,则需要设置为false,如果不设置会影响性能)
- setInputJson(JSONObject) - Method in exception com.aispeech.AIError
-
- setInputOrder(int) - Method in class com.aispeech.export.engines2.AILocalMdsEngine
-
配置输入数据流的方式
- setIntent(String) - Method in class com.aispeech.export.MultiModal
-
设置意图名称
- setIntentName(String) - Method in class com.aispeech.export.Command
-
- setIntentName(String) - Method in class com.aispeech.export.NativeApi
-
- setIntentName(String) - Method in class com.aispeech.export.SkillIntent
-
设置意图名称
- setIntentName(String) - Method in class com.aispeech.export.widget.callback.CallbackWidget
-
- setIntervalTime(int) - Method in class com.aispeech.DUILiteConfig
-
设置录音机录音间隔,单位ms
- setIntervalTime(int) - Method in class com.aispeech.export.config.RecorderConfig.Builder
-
设置录音机采集数据间隔
- setIntervalTimeThresh(int) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
- setIp(String) - Method in class com.aispeech.export.config.NearWakeupConfig
-
设备ip地址(必须是真实联网IP地址,127.0.0.1不参与组网)
- setIsIgnoreThreshold(boolean) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
设置是否忽略阈值,不管kernel返回的结果是大于还是小于阈值,都将结果返回给上层
- setIsIgnoreThreshold(boolean) - Method in class com.aispeech.export.intent.AILocalHotWordIntent
-
设置是否忽略阈值,不管kernel返回的结果是大于还是小于阈值,都将结果返回给上层
- setIsIgnoreThreshold(boolean) - Method in class com.aispeech.export.intent.AILocalWakeupIncrementIntent
-
设置是否忽略阈值,不管kernel返回的结果是大于还是小于阈值,都将结果返回给上层
- setItemsPerPage(int) - Method in class com.aispeech.export.widget.callback.ListCallbackWidget
-
- setItemsPerPage(int) - Method in class com.aispeech.export.widget.callback.MediaCallbackWidget
-
- setItnLuaResFolderName(String) - Method in class com.aispeech.export.config.AILocalASRConfig.Builder
-
设置Itn numLex 资源目录路径
可设置 assets 下的相对路径 或 / 开头的绝对路径
- setItnUpperCase(boolean) - Method in class com.aispeech.export.config.AILocalASRConfig.Builder
-
设置是否开启英文首字母转换大写,默认为true 转换 please call 911 --> Please call 911
- setItnUpperCase(boolean) - Method in class com.aispeech.export.config.AILocalASRConfig
-
设置是否开启英文首字母转换大写,默认为true 转换 please call 911 --> Please call 911
- setJavaLiteLogLevel(int) - Static method in class com.aispeech.DUILiteSDK
-
设置 Java lite层日志等级 默认 android.util.Log.WARN
{V = 2 , D =3 , I = 4 , W = 5 , E = 6, A = 7}
- setJChinesePath(String) - Method in class com.aispeech.export.itn.Convert
-
- setJso(JSONObject) - Method in class com.aispeech.common.DDSJSONResultParser.DDSResultParseBean
-
- setKey(String) - Method in class com.aispeech.lite.dm.cache.Item
-
- setLabel(String) - Method in class com.aispeech.export.widget.callback.ContentCallbackWidget
-
- setLabel(String) - Method in class com.aispeech.export.widget.feedback.ContentFeedbackWidget
-
设置标签数据,建议以 "," 作为分隔
- setLang(String) - Method in class com.aispeech.export.config.AICloudASRSentenceConfig
-
识别的语言
- setLang(String) - Method in class com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
语种支持。
- setLang(String) - Method in class com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
- setLanguage(Languages) - Method in class com.aispeech.export.config.AIFespCarConfig.Builder
-
设置唤醒词语种
- setLanguage(Languages) - Method in class com.aispeech.export.config.AIFespCarConfig
-
设置唤醒词语种
- setLanguage(int) - Method in class com.aispeech.export.config.AILocalTTSConfig.Builder
-
方言选项,用于支持粤语、上海话、四川话等音色,默认为 0,可选。
- setLanguage(int) - Method in class com.aispeech.export.config.AILocalTTSConfig
-
方言选项,用于支持粤语、上海话、四川话等音色,默认为 0,可选。
- setLanguage(String) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
指定语种,默认中文("zh-cn")。需要 res 支持语种
- setLanguage(String) - Method in class com.aispeech.export.intent.AICloudTTSIntent
-
设置合成方言,当前 chuxif音色支持
- setLanguage(int) - Method in class com.aispeech.export.intent.AILocalTTSIntent
-
方言选项,用于支持粤语、上海话、四川话等音色,默认为 0,可选。
- setLanguages(Languages) - Method in class com.aispeech.export.config.AILocalASRConfig.Builder
-
设置语言类型
- setLanguages(Languages) - Method in class com.aispeech.export.config.AILocalASRConfig
-
- setLanguages(Languages) - Method in class com.aispeech.export.config.AILocalHotWordConfig.Builder
-
- setLanguages(Languages) - Method in class com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置语种
- setLanguages(Languages) - Method in class com.aispeech.export.config.AILocalWakeupIncrementConfig.Builder
-
- setLanguages(Languages) - Method in class com.aispeech.export.config.AIWakeupConfig.Builder
-
- setLanguages(Languages) - Method in class com.aispeech.export.engines2.AILocalSemanticEngine
-
- setLasrInfo(String, String, String) - Method in class com.aispeech.export.engines2.AICloudASREngine
-
提供给实时长语音引擎使用
- setLast(boolean) - Method in class com.aispeech.AIResult
-
- setLicenceId(String) - Method in class com.aispeech.export.config.AuthConfig.Builder
-
设置licenceId
- setLicenceId(String) - Method in class com.aispeech.export.config.AuthConfig
-
- setLinkUrl(String) - Method in class com.aispeech.export.widget.callback.ContentCallbackWidget
-
- setLinkUrl(String) - Method in class com.aispeech.export.widget.feedback.ContentFeedbackWidget
-
设置跳转地址
- setListener(FespxKernelListener) - Method in class com.aispeech.lite.sspe.BaseMultibfCallback
-
- setLmargin(int) - Method in class com.aispeech.export.intent.AILocalTTSIntent
-
设置合成音频头部静音时间,范围5-20,默认是5,单位ms
- setLmId(String) - Method in class com.aispeech.export.config.AICloudASRSentenceConfig
-
要使用的二路模型LMID。默认:"", 表示不使用二路资源。如需训练二路模型,请联系商务或项目经理获取服务。
- setLmid(String) - Method in class com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
自训练模型文件LMID。对应的二路模型文件在:CUSTOME_LM_FILES_ROOT/productId/lmid/latest/lm.pat
- setLmId(String) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
设置识别lmid
- setLmList(String[]) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
设置用户定制的语言模型列表
- setLocalSaveAudioPath(String) - Method in class com.aispeech.DUILiteConfig
-
- setLocalSaveAudioPath(String, boolean) - Method in class com.aispeech.DUILiteConfig
-
- setLocalSavedEnabled(boolean) - Static method in class com.aispeech.DUILiteSDK
-
- setLocalVadEnable(boolean) - Method in class com.aispeech.export.config.AICloudASRConfig.Builder
-
设置是否启用本地vad,一般都会打开,需要在init之前调用
- setLocalVadEnable(boolean) - Method in class com.aispeech.export.config.AICloudASRConfig
-
设置是否启用本地vad,一般都会打开,
- setLocalVadEnable(Boolean) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
- setLogLevel(int) - Method in class com.aispeech.export.config.NearWakeupConfig
-
设置就近唤醒的日志级别
用来设置 decision 模块日志级别, 对应的数值越小可打印日志级别越多;
反之至越少。数值 5 为不打印日志;默认数值是 1,打印大于等于 1 级别的日志。
- setLowThreshold(float[]) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
设置大音量场景下的预唤醒阈值,是否需要设置和唤醒资源有关系
- setLowThreshold(float) - Method in class com.aispeech.export.config.WakeupWord
-
设置大音量场景下的唤醒阈值,是否需要设置和唤醒资源有关系
- setMac(String) - Method in class com.aispeech.export.config.NearWakeupConfig
-
设备mac地址
- setMajor(int) - Method in class com.aispeech.export.config.WakeupWord
-
设置唤醒词的major,即主副唤醒词,主唤醒词唤醒后会回滚唤醒音频
- setMajors(int[]) - Method in class com.aispeech.export.intent.AIWakeupIntent
-
设置唤醒词的major,主唤醒词为1,副唤醒词为0
- setMaxMessageQueueSize(int) - Method in class com.aispeech.DUILiteConfig.Builder
-
- setMaxMessageQueueSize(int) - Method in class com.aispeech.DUILiteConfig
-
设置消息队列最大长度,
- setMaxMessageQueueSize(int) - Method in class com.aispeech.export.config.AICloudASRConfig.Builder
-
- setMaxMessageQueueSize(int) - Method in class com.aispeech.export.config.AICloudASRConfig
-
- setMaxMessageQueueSize(int) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
- setMaxSpeechTime(int) - Method in class com.aispeech.export.intent.AILocalHotWordIntent
-
设置音频最大录音时长,达到该值将取消语音引擎并抛出异常
允许的最大录音时长 单位秒
0 表示无最大录音时长限制
默认大小为10S
须在start之前设置才生效
- setMaxSpeechTime(int) - Method in class com.aispeech.export.intent.AILocalWakeupIncrementIntent
-
设置音频最大录音时长,达到该值将取消语音引擎并抛出异常
允许的最大录音时长 单位秒
0 表示无最大录音时长限制
默认大小为10S
须在start之前设置才生效
- setMaxSpeechTimeS(int) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
设置音频最大录音时长,达到该值将取消语音引擎并抛出异常
允许的最大录音时长 单位秒
0 表示无最大录音时长限制
默认大小为60S
- setMaxSpeechTimeS(int) - Method in class com.aispeech.export.intent.AICloudDMIntent
-
设置单次允许的最大录音时长
- setMaxSpeechTimeS(int) - Method in class com.aispeech.export.intent.AICloudSemanticIntent
-
设置音频最大录音时长,默认大小为60S , 达到该值将取消语音引擎并抛出异常
0 表示无最大录音时长限制
- setMaxSpeechTimeS(int) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
设置音频最大录音时长,达到该值将取消语音引擎并抛出异常
允许的最大录音时长 单位秒,取值范围 1-60秒,默认60秒
- setMaxSpeechTimeS(int) - Method in class com.aispeech.export.intent.AILocalAsrppIntent
-
设置音频最大录音时长,达到该值将取消语音引擎并抛出异常
允许的最大录音时长 单位秒
0 表示无最大录音时长限制
默认大小为60S
- setMaxVolumeMode(boolean) - Method in class com.aispeech.DUILiteConfig
-
设置开启线性四麦大音量检测模式
- setMaxWaitingTimeout(int) - Method in class com.aispeech.export.intent.AILocalSemanticIntent
-
- setMdsResource(String) - Method in class com.aispeech.export.config.AILocalMdsConfig
-
设置mds资源
- setMdsResource(String) - Method in class com.aispeech.export.config.NearWakeupConfig
-
mds 资源
- setMicNumber(int) - Method in class com.aispeech.AIEchoConfig
-
mic数,默认为1
- setMicNumber(int) - Method in class com.aispeech.export.config.EchoConfig.Builder
-
Deprecated.
mic数,默认为1
- setMicType(int) - Method in class com.aispeech.AIEchoConfig
-
设置启用麦克风阵列类型
- setMicType(int) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
设置启用麦克风阵列类型。默认以录音机类型进行加载相应的模块
- setMicType(int) - Method in class com.aispeech.export.config.EchoConfig.Builder
-
Deprecated.
设置启用麦克风阵列类型
- setMicType(int) - Method in class com.aispeech.export.config.EchoConfig
-
Deprecated.
设置启用麦克风阵列类型
- setMiddleTime(int) - Method in class com.aispeech.export.config.AIOneshotConfig.Builder
-
设置唤醒后到检测人声时间长度,单位毫秒,默认600ms
- setMinSpeechLength(float) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
最小有效音频长度,单位秒,当前服务配置:
sti-sr 1s
lti-sr 500ms
sdk默认1s,不要使用小于服务器配置的值
- setMinSpeechLength(float) - Method in class com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
- setMinSpeechLength(float) - Method in class com.aispeech.export.intent.AICloudVprintIntent.Env
-
- setMinSpeechLength(float) - Method in class com.aispeech.export.intent.AICloudVprintIntent
-
最小有效音频长度,单位秒,默认注册声纹,离线验证0.4s,验证声纹sti-sr 1s, lti-sr 500ms
- setMode(AICloudVprintConfig.Mode) - Method in class com.aispeech.export.config.AICloudVprintConfig
-
注册声纹的类型, default is 文本半相关(数字串)(dp-sr)
- setMode(ASRMode) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
设置引擎模式
- setModelBin(byte[][]) - Method in class com.aispeech.lite.vprint.VprintQueryData
-
- setModelSize(int[]) - Method in class com.aispeech.lite.vprint.VprintQueryData
-
- setMonitorEnable(boolean) - Method in class com.aispeech.AIEchoConfig
-
- setMonitorEnable(boolean) - Method in class com.aispeech.export.config.EchoConfig.Builder
-
Deprecated.
是否开启AEC健康检查,默认关闭
- setMonitorPeriod(int) - Method in class com.aispeech.AIEchoConfig
-
- setMonitorPeriod(int) - Method in class com.aispeech.export.config.EchoConfig.Builder
-
Deprecated.
设置健康检查运行周期,默认200ms
- setMonitorUploadEnable(boolean) - Method in class com.aispeech.DUILiteConfig
-
设置 SDK信息(异常监控信息)是否上传,默认上传
- setMp3Quality(String) - Method in class com.aispeech.export.intent.AICloudTTSIntent
-
- setName(String) - Method in class com.aispeech.export.widget.Scene.Builder
-
- setName(String) - Method in class com.aispeech.export.widget.Scene
-
- setName(String) - Method in class com.aispeech.lite.speech.Phrase
-
- setNativeApi(NativeApi) - Method in class com.aispeech.lite.dm.Task
-
- setNativeApiTimeout(int) - Method in class com.aispeech.export.config.AICloudDMConfig.Builder
-
设置native api 响应超时时间,单位 毫秒
- setNativeLogLevel(int) - Static method in class com.aispeech.DUILiteSDK
-
设置 SDK 内核层日志等级 默认 android.util.Log.WARN
{V = 2 , D =3 , I = 4 , W = 5 , E = 6, A = 7}
- setNbest(int) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
设置 nbest
- setNearWakeupConfig(NearWakeupConfig) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
就近唤醒的配置,包含 net 和 mds 的配置
- setNeedCopyFeedData(boolean) - Method in class com.aispeech.lite.base.BaseIntent
-
自行feed数据的时候,是否需要对数据进行拷贝,默认会进行拷贝
- setNeedCopyResultData(boolean) - Method in class com.aispeech.lite.base.BaseIntent
-
对外抛出的数据是否进行拷贝,默认拷贝
- setNegSelected(boolean) - Method in class com.aispeech.export.config.NearWakeupConfig
-
控制在决策失败时(即当前设备没有最优的snr值)是否抛出唤醒结果,默认值为false(remoteJudge开启时有效)
为false时,不抛出
为true时抛出,(fespx_cb输出)如果唤醒成功在结果中包含 {"nwtkType", "neglected" },唤醒失败时包含 { "nwtkType", "selected" }
- setNetBin(String) - Method in class com.aispeech.export.config.AILocalASRConfig.Builder
-
设置网络资源,可设置 assets 下的相对路径 或 / 开头的绝对路径
须在init之前设置才生效
- setNetBin(String) - Method in class com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置本地net.bin 识别资源
- setNetBinPath(String) - Method in class com.aispeech.export.widget.Scene.Builder
-
- setNetBinPath(String) - Method in class com.aispeech.export.widget.Scene
-
- setNetbinResource(String) - Method in class com.aispeech.export.config.AILocalASRConfig.Builder
-
设置网络资源
- setNetbinResource(String) - Method in class com.aispeech.export.config.AILocalASRConfig
-
设置网络资源
- setNgramBin(String) - Method in class com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置离线通用识别资源
- setNgramConf(double) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
设置置信度
- setNgramSlotRes(String) - Method in class com.aispeech.export.config.AILocalASRConfig.Builder
-
设置ngram编译需要的资源名,可设置 assets 下的相对路径 或 / 开头的绝对路径
须在init之前设置才生效
- setNgramSlotRes(String) - Method in class com.aispeech.export.config.AILocalASRConfig
-
设置ngram编译需要的资源名,可设置 assets 下的相对路径 或 / 开头的绝对路径
须在init之前设置才生效
- setNlg(String) - Method in class com.aispeech.export.Speaker
-
- setNlu(JSONObject) - Method in class com.aispeech.common.DDSJSONResultParser.DDSResultParseBean
-
- setNoSpeechTime(int) - Method in class com.aispeech.export.intent.AILocalHotWordIntent
-
设置启动识别后无人声输入最大录音时常,到达该值后将跑出异常
默认 0 s ,热词引擎不开启此配置
- setNoSpeechTime(int) - Method in class com.aispeech.export.intent.AILocalWakeupIncrementIntent
-
设置启动识别后无人声输入最大录音时常,到达该值后将跑出异常
默认 0 s ,热词引擎不开启此配置
- setNoSpeechTimeOut(int) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
设置无语音超时时长,单位毫秒,默认值为5000ms ;如果达到该设置值时,自动停止录音
设置为0表示不进行语音超时判断
- setNoSpeechTimeOut(int) - Method in class com.aispeech.export.intent.AICloudDMIntent
-
设置无语音超时时长
- setNoSpeechTimeOut(int) - Method in class com.aispeech.export.intent.AICloudSemanticIntent
-
设置无语音超时时长,单位毫秒,默认值为 5000 ms ,如达到该设置值时,自动停止录音
设置为0表示不进行语音超时判断
- setNoSpeechTimeOut(int) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
设置无语音超时时长,单位毫秒,默认值为5000ms ;如果达到该设置值时,自动停止录音并放弃请求识别内核
- setNoSpeechTimeOut(int) - Method in class com.aispeech.export.intent.AILocalAsrppIntent
-
设置无语音超时时长,单位毫秒,默认值为5000ms ;如果达到该设置值时,自动停止录音并放弃请求识别内核
- setNumBinPath(String) - Method in class com.aispeech.export.config.AILocalASRConfig.Builder
-
设置Itn NumBin 文件路径,传入后将支持文本转数字功能
可设置 assets 下的相对路径 或 / 开头的绝对路径
- setNWakeupEnable(boolean) - Method in class com.aispeech.lite.dmasp.DmaspKernel
-
唤醒模块的单独控制开关
- setNWakeupEnable(boolean) - Method in class com.aispeech.lite.dmasp.DmaspProcessor
-
单独唤醒开关
- setOfflineProfileName(String) - Method in class com.aispeech.DUILiteConfig
-
assets目录下的离线授权文件名
- setOfflineProfileName(String) - Method in class com.aispeech.export.config.AuthConfig.Builder
-
assets目录下的离线授权文件名
- setOfflineProfileName(String) - Method in class com.aispeech.export.config.AuthConfig
-
- setOmitCheck(boolean) - Method in class com.aispeech.export.intent.AILocalHotWordIntent
-
- setOmitConf(float) - Method in class com.aispeech.export.intent.AILocalHotWordIntent
-
自定义奖惩阈值
- setOmitTime(int) - Method in class com.aispeech.export.intent.AILocalHotWordIntent
-
设置后置filler缺少的时间阈值(int 默认 550)
- setOneshotCache(OneshotCache<byte[]>) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
- setOneshotCache(OneshotCache) - Method in class com.aispeech.export.intent.AICloudDMIntent
-
设置oneshot cache 音频数据
- setOneShotCache(OneshotCache<byte[]>) - Method in class com.aispeech.lite.dm.CloudDmKernel
-
- setOneshotCacheTime(int) - Method in class com.aispeech.common.CacheUtil
-
- setOneShotCacheTime(int) - Method in class com.aispeech.export.config.AIWakeupConfig.Builder
-
- setOneShotCacheTime(int) - Method in class com.aispeech.export.config.AIWakeupConfig
-
设置oneshot功能下需要缓存的音频时长,根据具体的硬件性能和唤醒词长度调节。
- setOneshotConfig(AIOneshotConfig) - Method in class com.aispeech.export.config.AIFespCarConfig.Builder
-
- setOneshotConfig(AIOneshotConfig) - Method in class com.aispeech.export.config.AIFespCarConfig
-
- setOneshotConfig(AIOneshotConfig) - Method in class com.aispeech.export.config.AIWakeupConfig.Builder
-
- setOneshotOptimization(boolean) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
初始化前设置有效,oneshot 功能优化,当用户说 唤醒词+命令词 时,vad在唤醒词后即结束,导致asr识别结果是空,
可打开此功能,此功能会保留唤醒词后vad结束后的音频,即命令词的音频,然后重新asr识别
- setOneshotOptimization(boolean, String[]) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
初始化前设置有效,oneshot 功能优化,当用户说 唤醒词+命令词 时,vad在唤醒词后即结束,导致asr识别结果是空,
可打开此功能,此功能会保留唤醒词后vad结束后的音频,即命令词的音频,然后重新asr识别。
- setOption(String) - Method in class com.aispeech.export.ProductContext.Builder
-
配置操作,支持配置的删除,设定操作。可选操作,默认 #OPTION_SET
- setOption(String) - Method in class com.aispeech.export.SkillContext.Builder
-
- setOrganization(String) - Method in class com.aispeech.export.intent.AIAsrPlusIntent
-
- setOrganization(String) - Method in class com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
- setOrganization(String) - Method in class com.aispeech.export.intent.AICloudVprintIntent.Builder
-
- setOrganization(String) - Method in class com.aispeech.export.intent.AICloudVprintIntent
-
用户所在的公司,项目,非必需
- setOutChannelNum(int) - Method in class com.aispeech.export.intent.VprintIntent.Builder
-
Deprecated.
设置声纹音频输入通道数,表示使用几个通道作为声纹输入,通常为1或回声消除后音频通道数,
单麦不需要设置,只在多麦模式下才需要设置,视项目而定,思必驰会给出具体值
- setOutChannelNum(int) - Method in class com.aispeech.export.intent.VprintIntent
-
Deprecated.
- setOutChannelNum(int) - Method in class com.aispeech.lite.vprint.VprintIntent.Builder
-
设置声纹音频输入通道数,表示使用几个通道作为声纹输入,通常为1或回声消除后音频通道数,
单麦不需要设置,只在多麦模式下才需要设置,视项目而定,思必驰会给出具体值
- setOutChannelNum(int) - Method in class com.aispeech.lite.vprint.VprintIntent
-
- setOutputPath(String) - Method in class com.aispeech.export.intent.AILocalGrammarIntent.GrammarBean
-
设置编译语法后生成的本地识别所需要的资源的输出文件路径
须在start之前设置才生效
- setOutputPath(String) - Method in class com.aispeech.export.intent.AILocalGrammarIntent
-
设置编译语法后生成的本地识别所需要的资源的输出文件路径
须在start之前设置才生效
- setParam(JSONObject) - Method in class com.aispeech.export.Command
-
- setParam(JSONObject) - Method in class com.aispeech.export.NativeApi
-
- setPath(String) - Method in class com.aispeech.export.itn.JChineseConvertor
-
- setPauseTime(int) - Method in class com.aispeech.export.config.AILocalVadConfig.Builder
-
设置VAD右边界
需要在init之前调用
- setPauseTime(int) - Method in class com.aispeech.export.config.AILocalVadConfig
-
- setPauseTime(int) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
设置VAD右边界
- setPauseTime(int) - Method in class com.aispeech.export.intent.AICloudDMIntent
-
vad右边界
- setPauseTime(int) - Method in class com.aispeech.export.intent.AICloudSemanticIntent
-
设置内置vad的右边界时常,默认 300 ms
- setPauseTime(int) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
设置VAD右边界
- setPauseTime(int) - Method in class com.aispeech.export.intent.AILocalVadIntent
-
- setPhraseFileId(String) - Method in class com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
用户的热词文件ID。 绝对路径为: PHRASE_FILES_ROOT/phrase_file_id/v1.txt
- setPhraseHints(PhraseHints[]) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
- setPhraseParams(PhraseParams[]) - Method in class com.aispeech.export.intent.AILocalLASRIntent
-
热词词表
- setPhrasesList(Phrase[]) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
- setPinyin(String) - Method in class com.aispeech.export.intent.AILocalSemanticIntent
-
- setPinyin(String) - Method in class com.aispeech.lite.dm.cache.CacheLastAsrResult
-
- setPitchChange(int) - Method in class com.aispeech.export.intent.AICloudTTSIntent
-
设置语调
- setPlayerState(String) - Method in class com.aispeech.export.MultiModal
-
设置客户端播报状态
- setPlaySampleRate(AISampleRate) - Method in class com.aispeech.export.intent.AILocalTTSIntent
-
- setPreWakeupOn(boolean) - Method in class com.aispeech.export.config.AIWakeupConfig.Builder
-
- setProcessDoaInformation(boolean) - Method in class com.aispeech.export.intent.AIFespCarIntent
-
doa信息可能为30、90、180角度信息,可能为 1、2 等主副驾信息
- setProductId(String) - Method in class com.aispeech.DUILiteConfig.Builder
-
- setProductId(String) - Method in class com.aispeech.export.config.AICloudVoiceCopyConfig.Builder
-
- setProductKey(String) - Method in class com.aispeech.DUILiteConfig.Builder
-
- setProductSecret(String) - Method in class com.aispeech.DUILiteConfig.Builder
-
- setProgress(int) - Method in class com.aispeech.export.lasr.LasrSqlEntity
-
- setQuality(int) - Method in class com.aispeech.speex.SpeexKernel
-
设置压缩后ogg音频质量,取值范围:1~10,越大质量越好,cpu占用越高。默认为:8
- setRangesWords(List<String>) - Method in class com.aispeech.lite.dmasp.DmaspKernel
-
- setRangesWords(List<String>) - Method in interface com.aispeech.lite.function.ICarFunction
-
设置定位模式下唤醒后不切换音区的唤醒词
- setRangesWords(List<String>) - Method in class com.aispeech.lite.sspe.BaseCarSspeKernel
-
- setRealback(boolean) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
设置是否使用实时反馈功能
- setRealBack(boolean) - Method in class com.aispeech.export.intent.AICloudTTSIntent
-
设置是否开启实时反馈,默认开启为true
- setRecChannel(int) - Method in class com.aispeech.AIEchoConfig
-
默认为1,即左通道为rec录音音频,右通道为play参考音频(播放音频)
若设置为2, 通道会互换,即左通道为play参考音频(播放音频),右通道为rec录音音频
- setRecChannel(int) - Method in class com.aispeech.export.config.EchoConfig.Builder
-
Deprecated.
默认为1,即左通道为rec录音音频,右通道为play参考音频(播放音频)
若设置为2, 通道会互换,即左通道为play参考音频(播放音频),右通道为rec录音音频
- setRecommendations(JSONArray) - Method in class com.aispeech.export.widget.callback.CallbackWidget
-
- setRecorderConfig(RecorderConfig) - Method in class com.aispeech.DUILiteConfig.Builder
-
- setRecorderType(int) - Method in class com.aispeech.export.config.RecorderConfig.Builder
-
设置录音机类型
- setRecordId(String) - Method in exception com.aispeech.AIError
-
- setRecordId(String) - Method in class com.aispeech.AIResult
-
- setRecordId(String) - Method in class com.aispeech.common.DDSJSONResultParser.DDSResultParseBean
-
- setRecordId(String) - Method in class com.aispeech.export.DmInfo
-
- setRecordId(String) - Method in class com.aispeech.export.SkillIntent
-
设置录音id
- setRecordId(String) - Method in class com.aispeech.lite.dm.cache.CacheLastAsrResult
-
- setRecPinyinWhenLast(String, String) - Method in class com.aispeech.common.JSONResultParser
-
语音结束时rec为空,把上一次的结果放进来
- setRecWords(String) - Method in class com.aispeech.lite.vprintlite.VprintLiteIntent.Builder
-
- setRecWords(String) - Method in class com.aispeech.lite.vprintlite.VprintLiteIntent
-
- setRefText(String) - Method in class com.aispeech.export.intent.AICloudDMIntent
-
- setRefText(String) - Method in class com.aispeech.export.intent.AICloudSemanticIntent
-
设置识别文本
- setRefText(String) - Method in class com.aispeech.export.intent.AILocalSemanticIntent
-
- setRejectAfterDispatch(AIUpdateListener, String[], boolean) - Method in class com.aispeech.export.engines2.AICloudDMEngine
-
开启调度后过滤;技能都参与调度,命中技能在该名单中,则过滤该 skillId,如:闲聊
- setRememberToken(String) - Method in class com.aispeech.export.config.AICloudVoiceCopyConfig.Builder
-
- setRemoteJudge(boolean) - Method in class com.aispeech.export.config.NearWakeupConfig
-
(慎改)是否开启自组网服务(就近唤醒开关),默认值为 true
为 true 时设备之间会自动组网,并且自动选择,唤醒时自动决策出最优唤醒设备
为false时唤醒结果会抛出,(fespx_cb输出)同时在结果中新增一个"snr"值
- setRequestId(String) - Method in class com.aispeech.export.intent.AICloudVprintIntent.Builder
-
- setRequestId(String) - Method in class com.aispeech.export.intent.AICloudVprintIntent
-
标记一次请求,可选, 如果不存在则服务端会生成一个
非必需
- setRequestId(String) - Method in class com.aispeech.lite.dm.cache.CacheLastAsrResult
-
- setRes(String) - Method in class com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
资源场景支持
- setRes(String) - Method in class com.aispeech.export.config.AILocalGrammarConfig.Builder
-
设置语法编译所需的资源文件名,适用于资源放在assets目录的情况
须在init之前设置才生效
- setRes(String) - Method in class com.aispeech.export.intent.AICloudDMIntent
-
设置识别引擎的资源类型,默认为aicar
- setRes(String) - Method in class com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
res=lasr-cn-en使用中英文混合,不设置res字段使用中文在线
- setResBin(String) - Method in class com.aispeech.export.config.AILocalASRConfig.Builder
-
设置声学资源,可设置 assets 下的相对路径 或 / 开头的绝对路径
须在init之前设置才生效, 适用于声学资源放在assets目录下
- setResBin(String) - Method in class com.aispeech.export.config.AIOneshotConfig.Builder
-
设置vad资源
- setResBin(String, String, boolean) - Method in class com.aispeech.export.engines2.AIFespCarEngine
-
动态设置 sspe(前端信号处理) 与 wakeup(唤醒) 资源
- setResBinName(String) - Method in class com.aispeech.export.config.AIWakeupConfig.Builder
-
- setResEnd(long) - Method in class com.aispeech.export.intent.AntiSpoofIntent.Builder
-
识别结果结束的数据点
- setResEnd(long) - Method in class com.aispeech.export.intent.AntiSpoofIntent
-
当前音频结束的位置
- setResEnd(long) - Method in class com.aispeech.lite.vprintlite.VprintLiteIntent.Builder
-
识别结果结束的数据点
- setResEnd(long) - Method in class com.aispeech.lite.vprintlite.VprintLiteIntent
-
识别结果结束的数据点
- setResource(String) - Method in class com.aispeech.export.config.AILocalFaspConfig
-
- setResourceType(String) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
设置识别引擎的资源类型,默认为comm
通用:comm 车载:aicar 机器人:airobot 家居:aihome 英文:aienglish 中英混:aienglish-mix 电视:aitv
- setResourceType(ResourceType) - Method in class com.aispeech.export.intent.AICloudDMIntent
-
- setResourceType(ResourceType) - Method in class com.aispeech.export.intent.AICloudSemanticIntent
-
设置识别引擎的资源类型,默认为aicar
- setResStart(long) - Method in class com.aispeech.export.intent.AntiSpoofIntent.Builder
-
识别结果开始的数据点
- setResStart(long) - Method in class com.aispeech.export.intent.AntiSpoofIntent
-
识别结果开始的数据点
- setResStart(long) - Method in class com.aispeech.lite.vprintlite.VprintLiteIntent.Builder
-
识别结果开始的数据点
- setResStart(long) - Method in class com.aispeech.lite.vprintlite.VprintLiteIntent
-
识别结果开始的数据点
- setResultObject(Object) - Method in class com.aispeech.AIResult
-
- setResultType(int) - Method in class com.aispeech.AIResult
-
- setReturnPhone(boolean) - Method in class com.aispeech.export.intent.AICloudTTSIntent
-
设置是否返回音素信息
当前只有以下音色支持音素功能,除此之外的音色禁止使用音素:
cyangfp dyb gdfanfp gqlanfp hthy jjingfp jlshim lanyuf lchuam lili1f_yubo lucyfa
lzliafp madoufp_wenrou madoufp_yubo xbekef xijunma xjingfp xyb xynmamp ychanmp yhchu
zhilingfp zhilingfp_huankuai zsmeif dksjif ybyuaf sqksaf zxiyum aningfp lmyanm
wqingf_csn ppangf_csn hchunf_ctn mamif xmguof
- setRightMarginFrame(int) - Method in class com.aispeech.export.config.AIFespCarConfig.Builder
-
- setRightMarginFrame(int) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
- setRmargin(int) - Method in class com.aispeech.export.intent.AILocalTTSIntent
-
设置合成音频尾部静音时间,范围5-20,默认是10,单位ms
- setRollBackTime(int) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
oneshot回退的时间,单位为ms(只有主唤醒词才会回退音频,即major为1)
- setRoute(boolean) - Method in class com.aispeech.export.config.AICloudDMConfig.Builder
-
对话结果透传模式
- setRunSequence(String) - Method in class com.aispeech.export.Command
-
- setSampleBytes(int) - Method in class com.aispeech.export.config.AICloudLASRConfig.AudioParam
-
可选,取样字节数,默认2
- setSampleBytes(int) - Method in class com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
取样字节数,默认2(16bit)
- setSampleBytes(int) - Method in class com.aispeech.export.intent.AICloudVprintIntent.Audio
-
- setSampleRate(int) - Method in class com.aispeech.export.config.AICloudLASRConfig.AudioParam
-
可选,音频文件的采样率。
- setSampleRate(int) - Method in class com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
音频采样率,默认16000
- setSampleRate(int) - Method in class com.aispeech.export.intent.AICloudTTSIntent
-
设置云端tts合成音的采样率
- setSampleRate(int) - Method in class com.aispeech.export.intent.AICloudVprintIntent.Audio
-
- setSampleRate(int) - Method in class com.aispeech.speex.SpeexKernel
-
设置音频采样率:只支持8k和16K,默认为16k
- setSaveAudioFilePath(String) - Method in class com.aispeech.export.intent.AIDmaspIntent
-
设置音频保存路径,会保存原始多声道音频和经过 beamforming 后的单声道音频
如果设置了就会保存,没设置不会保存
- setSaveAudioFilePath(String) - Method in class com.aispeech.export.intent.AIFespCarIntent
-
设置音频保存路径,会保存原始多声道音频和经过 beamforming 后的单声道音频
如果设置了就会保存,没设置不会保存
- setSaveAudioFilePath(String) - Method in class com.aispeech.export.intent.AILocalSignalAndWakeupIntent
-
设置音频保存路径,会保存原始多声道音频和经过 beamforming 后的单声道音频
如果设置了就会保存,没设置不会保存
- setSaveAudioFilePath(String) - Method in class com.aispeech.export.intent.AILocalTTSIntent
-
设置合成音的保存路径
- setSaveAudioFilePath(String) - Method in class com.aispeech.export.intent.AIWakeupIntent
-
- setSaveAudioMaxNumber(int) - Method in class com.aispeech.export.config.NearWakeupConfig
-
可选,设置保存音频文件最大个数,默认是1000个,不可设置为0
- setSaveAudioPath(String, boolean) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
设置保存的音频路径,最终的音频路径为path + recordId + ".ogg"
- setSaveAudioPath(String) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
设置保存的音频路径,最终的音频路径为path + recordId + ".ogg"
- setSaveAudioPath(String) - Method in class com.aispeech.export.intent.AICloudDMIntent
-
设置音频存储路径,用于DEBUG版本,release版本不建议打开此配置
- setSaveAudioPath(String) - Method in class com.aispeech.export.intent.AICloudSemanticIntent
-
设置引擎保存音频路径,默认不保存,不推荐在release版本打开上述配置
- setSaveAudioPath(String) - Method in class com.aispeech.export.intent.AICloudTTSIntent
-
设置合成音的保存路径
- setSaveAudioPath(String) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
设置保存的音频路径,最终的音频路径为path + local_asr_+ recordId + ".pcm"
- setSaveAudioPath(String) - Method in class com.aispeech.export.intent.AILocalHotWordIntent
-
设置音频文件存储路径,release 版本建议关闭
- setSaveAudioPath(String) - Method in class com.aispeech.export.intent.AILocalWakeupIncrementIntent
-
设置音频文件存储路径,release 版本建议关闭
- setSaveAudioPath(String) - Method in class com.aispeech.export.intent.VprintIntent.Builder
-
Deprecated.
设置保存feed进声纹模块音频的保存路径,供debug时候dump音频,不设置则不保存音频
比如"/sdcard/speech/"
- setSaveAudioPath(String) - Method in class com.aispeech.lite.vprint.VprintIntent.Builder
-
设置保存feed进声纹模块音频的保存路径,供debug时候dump音频,不设置则不保存音频
比如"/sdcard/speech/"
- setSavedDirPath(String) - Method in class com.aispeech.AIEchoConfig
-
AEC保存的音频文件目录,
aec之前的原始音频文件格式:echoSavedPath/echo_in_时间戳.pcm,
aec之后的一路音频文件格式:echoSavedPath/echo_out_时间戳.pcm
- setSavedDirPath(String) - Method in class com.aispeech.export.config.EchoConfig.Builder
-
Deprecated.
AEC保存的音频文件目录,
aec之前的原始音频文件格式:echoSavedPath/echo_in_时间戳.pcm,
aec之后的一路音频文件格式:echoSavedPath/echo_out_时间戳.pcm
- setScene(String, String) - Method in class com.aispeech.export.engines2.AILocalWakeupIncrementEngine
-
切换Scene场景,编译传入的xbnf后,把该xbnf插入Scene场景所代表的主xbnf中
- setScenes(Scene[]) - Method in class com.aispeech.export.config.AILocalWakeupIncrementConfig.Builder
-
设置 net.bin资源名
- setSegment(JSONArray) - Method in class com.aispeech.export.widget.callback.ListCallbackWidget
-
- setSelectRuleThreshold(double) - Method in class com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置仲裁阈值
- setSelectRuleThreshold(double) - Method in class com.aispeech.export.engines2.AILocalSemanticEngine
-
设置 grammar 与 ngram 最终输出结果的决策阈值
- setSelfCustomWakeupScore(int) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
自定义唤醒词自定义分数设置,因该参数会影响识别唤醒词的效果同时会增加误识别风险,
建议在专业人士指导下定制自定义分数(建议给-5),
该项可以配合 wakeupWord/customWakeupWord 使用
- setSemanticThreshold(double) - Method in class com.aispeech.export.intent.AILocalSemanticIntent
-
- setSemanticType(SemanticType) - Method in class com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置语义引擎类型
- setSemBuildinLuaResFolder(String) - Method in class com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置根据内置语义lua资源路径
- setSemBuildinResFolder(String) - Method in class com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置根据dui语义生成的内置语义资源路径
- setSemDUILuaResFolder(String) - Method in class com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置语义资源文件夹
- setSemDUIResCustomFolder(String) - Method in class com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置离线DUI custom资源目录文件夹
- setSemDUIResFolder(String) - Method in class com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置离线导DUI语义资源文件夹
- setSemLuaFolder(String) - Method in class com.aispeech.export.engines2.AILocalSemanticEngine
-
设置语义lua资源所在文件夹, 适用于语义lua资源所在文件夹放在assets目录下
须在init之前设置才生效
- setSemLuaFolderPath(String) - Method in class com.aispeech.export.engines2.AILocalSemanticEngine
-
设置语义lua资源所在文件夹自定义路径, 适用于语义lua资源所在文件夹放在自定义路径
须在init之前设置才生效
- setSemNaviLuaResFolder(String) - Method in class com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置语义lua资源文件夹
- setSemNaviResFolder(String) - Method in class com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置离线导航语义资源文件夹
- setSemResFolder(String) - Method in class com.aispeech.export.engines2.AILocalSemanticEngine
-
设置语义资源文件夹,名 适用于语义资源文件夹放在assets目录下
须在init之前设置才生效
- setSemResFolderPath(String) - Method in class com.aispeech.export.engines2.AILocalSemanticEngine
-
设置语义资源文件夹自定义路径, 适用于语义资源文件夹放在自定义路径
须在init之前设置才生效
- setSensitiveFileId(String) - Method in class com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
用户的敏感词文件ID。绝对路径为: SENSITIVE_FILES_ROOT/sensitive_file_id/v1.txt
- setSensitivityLevel(int) - Method in class com.aispeech.export.intent.VprintIntent.Builder
-
Deprecated.
敏感度设置,取值范围是 0-totalSensitivityLevel 。默认为0,对应cfg中的第一组阈值。
- setSensitivityLevel(int) - Method in class com.aispeech.lite.vprint.VprintIntent.Builder
-
敏感度设置,取值范围是 0-totalSensitivityLevel 。默认为0,对应cfg中的第一组阈值。
- setServer(String) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
设置服务器地址,默认不用设置
- setServer(String) - Method in class com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
服务器地址
- setServer(String) - Method in class com.aispeech.export.intent.AICloudTTSIntent
-
设置云端tts合成请求地址
- setServerAddress(String) - Method in class com.aispeech.export.config.AICloudDMConfig.Builder
-
设置服务器地址,默认不用设置
- setServerAddress(String) - Method in class com.aispeech.export.config.AICloudSemanticConfig.Builder
-
设置服务地址,默认地址: wss://dds.dui.ai/dds/v2/
- setServerApiKey(String) - Method in class com.aispeech.DUILiteConfig.Builder
-
- setServerName(String) - Method in class com.aispeech.export.config.NearWakeupConfig
-
服务点名称,相同的服务名才能相互发现和连接。用于不同设备间的隔离,服务名
不同无法组网交换信息。默认 "" ,就是普通的字符串。
- setServerName(String) - Method in class com.aispeech.export.intent.AIAsrPlusIntent
-
- setServerName(String) - Method in class com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
- setSessionId(String) - Method in class com.aispeech.common.DDSJSONResultParser.DDSResultParseBean
-
- setSessionId(String) - Method in class com.aispeech.export.DmInfo
-
- setSessionId(String) - Method in class com.aispeech.export.intent.AICloudDMIntent
-
设置对话sessionId,服务端通过相同的sessionId关联多轮请求的上下文,首轮对话请求不需要携带;
非首轮对话请求取值是上一轮服务端返回结果中的sessionId
- setSessionId(String) - Method in class com.aispeech.export.intent.AICloudSemanticIntent
-
设置对话sessionId,服务端通过相同的sessionId关联多轮请求的上下文,首轮对话请求不需要携带;
非首轮对话请求取值是上一轮服务端返回结果中的sessionId
- setSessionId(String) - Method in class com.aispeech.export.MultiModal
-
设置会话id
- setSessionId(String) - Method in class com.aispeech.export.SkillIntent
-
设置会话 id
- setSessionId(String) - Method in class com.aispeech.lite.dm.cache.CacheLastAsrResult
-
- setSetting(Setting) - Method in class com.aispeech.export.ProductContext.Builder
-
- setSetting(Setting) - Method in class com.aispeech.export.SkillContext.Builder
-
- setSettings(List<Setting>) - Method in class com.aispeech.export.ProductContext.Builder
-
- setSettings(List<Setting>) - Method in class com.aispeech.export.SkillContext.Builder
-
- setShouldEndSession(boolean) - Method in class com.aispeech.lite.dm.cache.Cache
-
cache shouldEndSession
- setShouldListen(boolean) - Method in class com.aispeech.lite.dm.cache.Cache
-
cache shouldListen
- setSkill(String) - Method in class com.aispeech.export.DmInfo
-
- setSkill(String) - Method in class com.aispeech.export.SkillIntent
-
设置技能名称
- setSkillId(String) - Method in class com.aispeech.common.DDSJSONResultParser.DDSResultParseBean
-
- setSkillId(String) - Method in class com.aispeech.export.Command
-
- setSkillId(String) - Method in class com.aispeech.export.DmInfo
-
- setSkillID(String) - Method in class com.aispeech.export.engines2.AILocalSemanticEngine
-
设置SKILLID
- setSkillId(String) - Method in class com.aispeech.export.intent.AICloudSemanticIntent
-
在非首轮中可能用到,用于指定调用端使用了上一轮nbest结果中的哪一个skill
- setSkillID(String) - Method in class com.aispeech.export.intent.AILocalSemanticIntent
-
- setSkillId(String) - Method in class com.aispeech.export.MultiModal
-
设置技能id
- setSkillId(String) - Method in class com.aispeech.export.NativeApi
-
- setSkillId(String) - Method in class com.aispeech.export.SkillContext.Builder
-
- setSkillId(String) - Method in class com.aispeech.export.SkillIntent
-
设置技能id
- setSkillId(String) - Method in class com.aispeech.export.widget.callback.CallbackWidget
-
- setSkillMapping(String) - Method in class com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置离线内置语义的skill映射表
- setSkip_saving(boolean) - Method in class com.aispeech.export.intent.AICloudVprintIntent.Builder
-
- setSkip_saving(boolean) - Method in class com.aispeech.export.intent.AICloudVprintIntent
-
为true不保存音频,默认false,非必需设置
- setSleepTime(int) - Method in class com.aispeech.export.intent.AILocalTTSIntent
-
表示 CPU 睡眠时间
配置了 optimization 为 true 时,此选项才生效。取值范围为 0-500,
默认为 0,可选。
- setSliceIndex(int) - Method in class com.aispeech.export.lasr.LasrSqlEntity
-
- setSliceNum(int) - Method in class com.aispeech.export.lasr.LasrSqlEntity
-
- setSlots(Slots) - Method in class com.aispeech.export.MultiModal
-
设置语义槽
- setSlots(String) - Method in class com.aispeech.export.SkillIntent
-
- setSlots(Slots) - Method in class com.aispeech.export.SkillIntent
-
设置语义槽
- setSlots(ArrayList<String>) - Method in class com.aispeech.export.widget.Scene.Builder
-
- setSlots(ArrayList<String>) - Method in class com.aispeech.export.widget.Scene
-
- setSnrRate(float) - Method in class com.aispeech.export.intent.AICloudVprintIntent.Env
-
- setSnrThresh(float) - Method in class com.aispeech.export.intent.VprintIntent.Builder
-
Deprecated.
- setSnrThresh(float) - Method in class com.aispeech.lite.vprint.VprintIntent.Builder
-
- setSpeak(Speaker) - Method in class com.aispeech.lite.dm.Task
-
- setSpeaker(String) - Method in class com.aispeech.export.intent.AICloudTTSIntent
-
设置合成音类型
- setSpeakerNumber(int) - Method in class com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
否
发音人个数,可选值:-1-8。0:表示跳过说话人聚类 。大于0:音频里发音人个数。默认值:-1:盲分。备注:
跳过说话人聚类时,任务的最终result里,没有speaker信息。
跳过说话人聚类时,任务的最终metrics指标里,没有diarizated_t。
- setSpeakerRate(int) - Method in class com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
说话人聚类使用的采样率。
- setSpeakingStyle(String) - Method in class com.aispeech.export.intent.AICloudTTSIntent
-
情感,有三种参数类型{"happy","default","sad"},如果不传或者传递错误的类型默认为default
目前仅有两种音色支持情感参数
ryzenm : night
kuayuf : angry/sad/happy
- setSpeakUrl(String) - Method in class com.aispeech.export.Speaker
-
- setSpeechState(String) - Method in class com.aispeech.export.intent.AntiSpoofIntent
-
用于标识当前feed的音频是静音段还是有人声的
其中,静音段传入 silence,人声段传入 speech
- setSpeechState(String) - Method in class com.aispeech.lite.vprintlite.VprintLiteIntent.Builder
-
用于标识当前feed的音频是静音段还是有人声的
其中,静音段传入 silence,人声段传入 speech
- setSpeechState(String) - Method in class com.aispeech.lite.vprintlite.VprintLiteIntent
-
- setSpeed(String) - Method in class com.aispeech.export.intent.AICloudTTSIntent
-
设置合成音语速
- setSpeed(float) - Method in class com.aispeech.export.intent.AICloudTTSIntent
-
- setSpeed(float) - Method in class com.aispeech.export.intent.AILocalTTSIntent
-
设置语音合成的速度
- setSpeexSavedPath(String) - Method in class com.aispeech.speex.SpeexKernel
-
设置SPEEX保存的音频文件目录
speex压缩之前的原始pcm音频文件格式:speexSavedPath/speex_in_时间戳.pcm
speex压缩之后的ogg音频文件格式:speexSavedPath/speex_out_时间戳.ogg
- setSspeBinResource(String) - Method in class com.aispeech.export.config.AILocalSevcConfig
-
- setSspeResource(String) - Method in class com.aispeech.export.config.AIFespCarConfig
-
sspe 资源, 包含 AEC BSS 等,不同项目含义有所差别
- setSspeResource(String) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
sspe 资源, 包含 AEC BSS 等,不同项目含义有所差别
- setSspeType(int) - Method in class com.aispeech.export.config.AIFespCarConfig.Builder
-
设置FespCar类型
- setSspeType(int) - Method in class com.aispeech.export.config.AIFespCarConfig
-
设置FespCar类型
- setStateFrame(int) - Method in class com.aispeech.export.config.AIFespCarConfig.Builder
-
- setStateFrame(int) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
- setStreamType(int) - Method in class com.aispeech.export.intent.AICloudTTSIntent
-
设置音频流通道
- setStreamType(int) - Method in class com.aispeech.export.intent.AILocalTTSIntent
-
- setSubTitle(String) - Method in class com.aispeech.export.widget.callback.ContentCallbackWidget
-
- setSubTitle(String) - Method in class com.aispeech.export.widget.feedback.ContentFeedbackWidget
-
设置副标题
- setTagSuffix(String) - Method in class com.aispeech.export.config.AICloudASRConfig.Builder
-
- setTagSuffix(String) - Method in class com.aispeech.export.config.AICloudDMConfig.Builder
-
- setTagSuffix(String) - Method in class com.aispeech.export.config.AICloudTTSConfig.Builder
-
- setTagSuffix(String) - Method in class com.aispeech.export.config.AIFespCarConfig.Builder
-
- setTagSuffix(String) - Method in class com.aispeech.export.config.AILocalASRConfig.Builder
-
- setTagSuffix(String) - Method in class com.aispeech.export.config.AILocalHotWordConfig.Builder
-
- setTagSuffix(String) - Method in class com.aispeech.export.config.AILocalSemanticConfig.Builder
-
- setTagSuffix(String) - Method in class com.aispeech.export.config.AILocalTTSConfig.Builder
-
- setTagSuffix(String) - Method in class com.aispeech.export.config.AILocalVadConfig.Builder
-
- setTagSuffix(String) - Method in class com.aispeech.export.config.AIWakeupConfig.Builder
-
- setTagSuffix(String) - Method in class com.aispeech.export.config.EchoConfig.Builder
-
Deprecated.
- setTagSuffix(String) - Method in class com.aispeech.lite.base.BaseConfig.Builder
-
设置引擎实例tag后缀,用于区分不同场景
- setTagSuffix(String) - Method in class com.aispeech.lite.base.BaseConfig
-
设置引擎实例tag后缀,用于区分不同场景
- setTask(String) - Method in class com.aispeech.export.engines2.AILocalSemanticEngine
-
设置前一轮的对话task信息,start之前设置生效
- setTask(String) - Method in class com.aispeech.export.intent.AICloudSemanticIntent
-
在非首轮中可能用到,用于指定调用端使用了上一轮nbest结果中的哪一个task
- setTask(String) - Method in class com.aispeech.export.intent.AILocalSemanticIntent
-
设置dui语义前一轮的对话task,实现多轮交互
- setTask(String) - Method in class com.aispeech.export.MultiModal
-
设置任务名称
- setTaskId(String) - Method in class com.aispeech.export.lasr.LasrSqlEntity
-
- setTaskName(String) - Method in class com.aispeech.export.Command
-
- setTaskName(String) - Method in class com.aispeech.export.NativeApi
-
- setTaskName(String) - Method in class com.aispeech.export.SkillIntent
-
设置任务名称
- setTaskName(String) - Method in class com.aispeech.export.widget.callback.CallbackWidget
-
- setTaskName(String) - Method in class com.aispeech.lite.dm.Task
-
- setTaskType(int) - Method in class com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
任务类型,1:机器转写任务(1小时音频,5分钟之内),默认值。2:人机混合任务(1小时音频,15分钟之内)。3:人工转写任务(1小时音频,24小时之内)
- setText(String) - Method in class com.aispeech.common.DDSJSONResultParser.DDSResultParseBean
-
- setText(String) - Method in class com.aispeech.export.widget.callback.TextCallbackWidget
-
- setText(String) - Method in class com.aispeech.export.widget.feedback.TextFeedbackWidget
-
设置输出文本
- setText(String) - Method in class com.aispeech.lite.dm.cache.CacheLastAsrResult
-
- setTextType(String) - Method in class com.aispeech.export.intent.AICloudTTSIntent
-
设置合成的文本类型
- setThreadAffinity(int) - Method in class com.aispeech.DUILiteConfig.Builder
-
- setThreadAffinity(int) - Method in class com.aispeech.DUILiteConfig
-
设置算法绑定线程开关,降低CPU占用,默认值:0
取值:具体的核id
- setThresh(float) - Method in class com.aispeech.export.intent.VprintIntent.Builder
-
Deprecated.
默认不用设置
- setThresh(float) - Method in class com.aispeech.lite.vprint.VprintIntent.Builder
-
默认不用设置
- setThreshold(float[]) - Method in class com.aispeech.export.config.AIFespCarConfig
-
设置唤醒词对应阈值,是否需要设置和唤醒资源有关系
- setThreshold(float[]) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
设置唤醒词对应阈值,是否需要设置和唤醒资源有关系
- setThreshold(float) - Method in class com.aispeech.export.config.WakeupWord
-
设置唤醒词对应阈值,是否需要设置和唤醒资源有关系
- setThreshold(double) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
设置置信度阈值
- setThreshold(double) - Method in class com.aispeech.export.intent.AILocalHotWordIntent
-
设置置信度阈值
- setThreshold(double) - Method in class com.aispeech.export.intent.AILocalWakeupIncrementIntent
-
设置置信度阈值
- setThreshold(float[]) - Method in class com.aispeech.export.intent.AIWakeupIntent
-
设置唤醒阈值
- setThrowEmptySemantic(boolean) - Method in class com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置是否抛出空语义
- setTimeout(int) - Method in class com.aispeech.lite.dm.Timer
-
设置计时器超时时间
- setTimestamp(Long) - Method in exception com.aispeech.AIError
-
- setTimestamp(long) - Method in class com.aispeech.AIResult
-
设置时间戳
- setTimestamp(String) - Method in class com.aispeech.export.lasr.LasrSqlEntity
-
- setTimestamp(long) - Method in class com.aispeech.lite.vprint.VprintSqlEntity
-
时间戳,精确到毫秒
- Setting - Class in com.aispeech.export
-
配置类
- Setting(String, String) - Constructor for class com.aispeech.export.Setting
-
- Setting(String, int) - Constructor for class com.aispeech.export.Setting
-
- Setting(String, double) - Constructor for class com.aispeech.export.Setting
-
- Setting(String, boolean) - Constructor for class com.aispeech.export.Setting
-
- Setting(String, float) - Constructor for class com.aispeech.export.Setting
-
- Setting(String, long) - Constructor for class com.aispeech.export.Setting
-
- Setting(String, JSONObject) - Constructor for class com.aispeech.export.Setting
-
- Setting(String, JSONArray) - Constructor for class com.aispeech.export.Setting
-
- setTitle(String) - Method in class com.aispeech.export.widget.callback.ContentCallbackWidget
-
- setTitle(String) - Method in class com.aispeech.export.widget.feedback.ContentFeedbackWidget
-
设置标题
- setToken(String) - Method in class com.aispeech.export.config.AICloudVoiceCopyConfig.Builder
-
- setTopic(String) - Method in class com.aispeech.AIResult
-
- setTopic(String) - Method in class com.aispeech.lite.dm.cache.CacheLastAsrResult
-
- setTopN(int) - Method in class com.aispeech.export.intent.AICloudVprintIntent.Builder
-
- setTopN(int) - Method in class com.aispeech.export.intent.AICloudVprintIntent
-
1:N按照score排序,输出前n个得分,若不配置该选项,会在result字段中返回所有得分,开启该选项后会在topN字段中返回得分排名靠前的最多N个得分.仅用于离线验证
- setTopN(int) - Method in class com.aispeech.lite.vprintlite.VprintLiteIntent.Builder
-
1:N按照score排序,输出前n个得分,若不配置该选项,会在result字段中返回所有得分,开启该选项后会在topN字段中返回得分排名靠前的最多N个得分
- setTopN(int) - Method in class com.aispeech.lite.vprintlite.VprintLiteIntent
-
1:N按照score排序,输出前n个得分,若不配置该选项,会在result字段中返回所有得分,开启该选项后会在topN字段中返回得分排名靠前的最多N个得分
- setTotalPages(int) - Method in class com.aispeech.export.widget.callback.ListCallbackWidget
-
- setTotalPages(int) - Method in class com.aispeech.export.widget.callback.MediaCallbackWidget
-
- setTrainNum(int) - Method in class com.aispeech.export.intent.VprintIntent.Builder
-
Deprecated.
- setTrainNum(int) - Method in class com.aispeech.lite.vprint.VprintIntent.Builder
-
- setTtsCacheDir(String) - Method in class com.aispeech.DUILiteConfig.Builder
-
- setType(AuthType) - Method in class com.aispeech.export.config.AuthConfig.Builder
-
设置授权类型
- setType(AuthType) - Method in class com.aispeech.export.config.AuthConfig
-
- setType(AIType) - Method in class com.aispeech.export.intent.AICloudSemanticIntent
-
设置AIType 参数
- setType(int) - Method in class com.aispeech.export.lasr.LasrSqlEntity
-
- setType(int) - Method in class com.aispeech.export.widget.callback.CallbackWidget
-
- setType(String) - Method in class com.aispeech.export.widget.feedback.FeedbackWidget
-
设置widget类型
- setUid(String) - Method in class com.aispeech.lite.vprintlite.VprintLiteIntent.Builder
-
设置声纹ID
- setuId(String) - Method in class com.aispeech.lite.vprintlite.VprintLiteIntent
-
设置声纹ID
- setUpdateTrailProfileToOnlineProfile(boolean) - Method in class com.aispeech.DUILiteConfig
-
当试用授权文件认证检查时,是否尝试更新为在线授权文件。default is true
- setUpdateTrailProfileToOnlineProfile(boolean) - Method in class com.aispeech.export.config.AuthConfig.Builder
-
当试用授权文件认证检查时,是否尝试更新为在线授权文件。
- setUpdateTrailProfileToOnlineProfile(boolean) - Method in class com.aispeech.export.config.AuthConfig
-
- setUploadAudioDelayTime(int) - Method in class com.aispeech.export.config.UploadConfig.Builder
-
- setUploadAudioDelayTime(int) - Method in class com.aispeech.export.config.UploadConfig
-
- setUploadAudioLevel(int) - Method in class com.aispeech.DUILiteConfig
-
- setUploadAudioLevel(int, int) - Method in class com.aispeech.DUILiteConfig
-
- setUploadAudioLevel(int) - Method in class com.aispeech.export.config.UploadConfig.Builder
-
- setUploadAudioLevel(int) - Method in class com.aispeech.export.config.UploadConfig
-
- setUploadAudioMaxLength(long) - Method in class com.aispeech.export.config.UploadConfig.Builder
-
设置单个上传的音频文件的最大长度,默认10M
- setUploadAudioPath(String) - Method in class com.aispeech.DUILiteConfig
-
设置大数据上传唤醒音频的本地存储路径,如果不设置,默认存储在sd卡的cache目录
- setUploadAudioPath(String) - Method in class com.aispeech.export.config.UploadConfig.Builder
-
- setUploadAudioPath(String) - Method in class com.aispeech.export.config.UploadConfig
-
- setUploadAudioTime(int) - Method in class com.aispeech.export.config.UploadConfig.Builder
-
- setUploadConfig(UploadConfig) - Method in class com.aispeech.DUILiteConfig.Builder
-
- setUploadConfig(UploadConfig) - Method in class com.aispeech.DUILiteConfig
-
- setUploadEnable(boolean) - Method in class com.aispeech.export.config.UploadConfig.Builder
-
- setUploadEnable(boolean) - Method in class com.aispeech.export.config.UploadConfig
-
- setUploadLogEnable(boolean) - Method in class com.aispeech.export.config.UploadConfig.Builder
-
- setUploadUrl(String) - Method in class com.aispeech.DUILiteConfig
-
设置大数据上传url地址
- setUploadUrl(String) - Method in class com.aispeech.export.config.UploadConfig.Builder
-
- setUploadUrl(String) - Method in class com.aispeech.export.config.UploadConfig
-
- setUri(String) - Method in class com.aispeech.export.lasr.LasrSqlEntity
-
- setUrl(String) - Method in class com.aispeech.export.widget.callback.WebCallbackWidget
-
- setUrl(String) - Method in class com.aispeech.export.widget.feedback.WebFeedbackWidget
-
设置url地址
- setUseAux(boolean) - Method in class com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
是否返回情绪(emotion) / 年龄(age) / 性别(gender)信息。
默认值:false, 不返回。
设置为true时,返回值里回增加emotion, age, gender字段。
- setUseCache(boolean) - Method in class com.aispeech.export.config.AICloudTTSConfig.Builder
-
设置是否使用缓存,默认为true
缓存TTS缓存信息和音频文件,存放在应用外部缓存目录下的 ttsCache 文件夹下。
- setUseCache(boolean) - Method in class com.aispeech.export.config.AICloudTTSConfig
-
设置是否使用缓存,默认为true
缓存TTS缓存信息和音频文件,存放在应用外部缓存目录下的 ttsCache 文件夹下。
- setUseCache(boolean, String) - Method in class com.aispeech.export.config.AICloudTTSConfig
-
设置是否使用缓存和缓存的文件夹
- setUseCache(boolean) - Method in class com.aispeech.export.config.AILocalTTSConfig.Builder
-
设置是否使用缓存,默认为true
缓存TTS缓存信息和音频文件,存放在应用外部缓存目录下的 ttsCache 文件夹下。
- setUseCache(boolean) - Method in class com.aispeech.export.config.AILocalTTSConfig
-
设置是否使用缓存,默认为true
缓存TTS缓存信息和音频文件,存放在应用外部缓存目录下的 ttsCache 文件夹下。
- setUseCache(boolean, String) - Method in class com.aispeech.export.config.AILocalTTSConfig
-
设置是否使用缓存和缓存的文件夹
- setUseCache(boolean) - Method in class com.aispeech.export.engines2.AILocalTTSEngine
-
- setUseConf(boolean) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
设置是否开启置信度
- setUseContinuousRecognition(boolean) - Method in class com.aispeech.export.intent.AILocalHotWordIntent
-
设置是否开启连续识别,默认 true
start之前设置有效
- setUseContinuousRecognition(boolean) - Method in class com.aispeech.export.intent.AILocalWakeupIncrementIntent
-
设置是否开启连续识别,默认 true
start之前设置有效
- setUseCustomFeed(boolean) - Method in class com.aispeech.export.config.AICloudSemanticConfig.Builder
-
是否自定义feed音频
- setUseCustomFeed(boolean, boolean) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
设置是否自行feed数据,不使用内部录音机(包括MockRecord和AIAudioRecord)
feed 的音频如果不是pcm音频,则不能使用 vad 功能
- setUseCustomFeed(boolean, boolean) - Method in class com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
设置是否自行feed数据,不使用内部录音机(包括MockRecord和AIAudioRecord)
feed 的音频如果不是pcm音频,则不能使用 vad 功能
- setUseCustomFeed(boolean) - Method in class com.aispeech.export.intent.AILocalSignalAndWakeupIntent
-
设置是否自行feed数据
- setUseCustomFeed(boolean) - Method in class com.aispeech.lite.base.BaseIntent
-
设置是否自行feed数据,不使用内部录音机(包括MockRecord和AIAudioRecord)
- setUseDatabaseStorage(boolean, String) - Method in class com.aispeech.export.config.VprintConfig.Builder
-
Deprecated.
设置是否使用数据库方式存储声纹信息,以及数据库的路径
- setUseDatabaseStorage(boolean, String) - Method in class com.aispeech.lite.vprint.VprintConfig.Builder
-
设置是否使用数据库方式存储声纹信息,以及数据库的路径
// 也直接查询数据库里的数据,可以和云端等其它地方的声纹数据合并等操作
VprintDatabaseManager dbManager = new VprintDatabaseManager("/sdcard/speech/vprint.db");
Log.d(TAG, "dbManager.queryAll() " + dbManager.queryAll().toString());
dbManager.close();
- setUseDelimiter(String) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
添加识别结果分割符,如设置 "," 识别结果显示 : "打,开,天,窗"
start 之前设置生效
- setUseDmAsr(boolean, JSONObject) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
- setUseDmAsr(boolean, JSONObject, String) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
是否是对话用的ASR,用于对话使用,使用单独的请求参数
- setUseDoubleVad(boolean) - Method in class com.aispeech.DUILiteConfig.Builder
-
- setUseDoubleVad(boolean) - Method in class com.aispeech.DUILiteConfig
-
- setUseDoubleVad(boolean) - Method in class com.aispeech.export.config.AILocalVadConfig.Builder
-
设置是否启动双VAD模式
初始化参数,init之前设置生效
- setUseDoubleVad(boolean) - Method in class com.aispeech.export.config.AILocalVadConfig
-
- setUseE2EFusion(boolean) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
开启融合,
并且active_decoder_list需要激活e2e和ngram
- setUseFiller(boolean) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
设置是否开启 Filler,用于减少误识别。
- setUseFiller(boolean, float) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
设置是否开启 Filler,用于减少误识别。
- setUseFiller(boolean) - Method in class com.aispeech.export.intent.AILocalWakeupIncrementIntent
-
设置是否使用解码网络里增加的filler路径
- setUseFormat(boolean) - Method in class com.aispeech.export.config.AILocalSemanticConfig.Builder
-
- setUseFormat(boolean) - Method in class com.aispeech.export.engines2.AILocalSemanticEngine
-
设置是否开启语义格式归一化,默认 false
- setUseFrameSplit(boolean) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
Deprecated.
- setUseFullDuplex(boolean) - Method in class com.aispeech.export.config.AICloudDMConfig.Builder
-
是否启用全双工模式
- setUseFullDuplexNoSpeechTimeOut(boolean) - Method in class com.aispeech.export.config.AICloudDMConfig.Builder
-
是否在全双工模式下未检测到语音超时反馈语播报
- setUseFullMode(boolean) - Method in class com.aispeech.export.config.AILocalVadConfig.Builder
-
设置是否启用vad常开模式
初始化参数,init之前设置生效
- setUseFullMode(boolean) - Method in class com.aispeech.export.config.AILocalVadConfig
-
- setUseFullstop(boolean) - Method in class com.aispeech.export.config.AICloudASRSentenceConfig
-
是否使用中文句号来进行分句。开启后处理时才有效,后处理默认开启。
- setUseFullstop(boolean) - Method in class com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
是否以中文句号作为分句。默认值:false
- setUseHarshDiscard(boolean) - Method in class com.aispeech.export.intent.AILocalSemanticIntent
-
- setUseHoldConf(boolean) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
设置是否开启ngram置信度
- setUseInverseTxt(boolean) - Method in class com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
逆文本转换开关。false:不使用,true:使用(默认)。
- setUseItn(boolean) - Method in class com.aispeech.export.config.AICloudASRSentenceConfig
-
开启后处理时,是否启用逆文本转换,即中文转阿拉伯数字,默认:false。
- setUseItn(boolean) - Method in class com.aispeech.export.config.AILocalASRConfig.Builder
-
开启Itn功能 对ASR识别后的文字进行功能转化
- setUseOneShot(boolean, int) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
设置是否使用oneshot功能,以及oneshot功能的唤醒词和命令词之间的时间间隔阈值,
如果小于该阈值,就认为不是oneshot,如果大于该阈值,就认为是oneshot
- setUseOneShot(boolean) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
是否使用oneshot功能,default is false
true 使用one shot功能,唤醒后立马起识别
false 不使用oneshot,合成后启动识别,或只是启动识别
- setUseOneShot(boolean) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
是否使用oneshot功能,default is false
true 使用one shot功能,唤醒后立马起识别
false 不使用oneshot,合成后启动识别,或只是启动识别
- setUseOneShot(boolean, int) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
设置是否使用oneshot功能,以及oneshot功能的唤醒词和命令词之间的时间间隔阈值,
如果小于该阈值,就认为不是oneshot,如果大于该阈值,就认为是oneshot
- setUseOneShot(boolean) - Method in class com.aispeech.export.intent.AIWakeupIntent
-
设置是否使用 oneshot 功能,default is false
- setUseOneshotJson(boolean) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
- setUseParagraph(boolean) - Method in class com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
是否在分词结果中增加语义分段标志。默认值:false。值为true时开启,本参数仅限useSegment=true时有效
- setUsePhrase(boolean) - Method in class com.aispeech.export.intent.AILocalLASRIntent
-
是否启用热词
- setUsePinyin(boolean) - Method in class com.aispeech.export.config.AICloudASRSentenceConfig
-
开启后处理时,是否返回每个句子和词的拼音,默认:false。只对中文生效
- setUsePinyin(boolean) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
设置是否开启拼音输出
- setUsePinyin(boolean) - Method in class com.aispeech.export.intent.AILocalSemanticIntent
-
- setUsePost(boolean) - Method in class com.aispeech.export.config.AICloudASRSentenceConfig
-
是否启用所有后处理功能。 默认:true。如果关闭,会以原始的asr结果返回。
- setUsePuctuation(boolean) - Method in class com.aispeech.export.config.AICloudASRSentenceConfig
-
开启后处理时,是否启用标点符号,默认:true。 只对中文生效
- setUseRawRec(boolean) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
- setUserDictResource(String) - Method in class com.aispeech.export.config.AILocalTTSConfig
-
用户自定义词典,用于修复离线合成问题,如多音字发音、停顿和数字字母符号读法错误等
- setUseRealback(boolean) - Method in class com.aispeech.export.intent.AICloudDMIntent
-
设置是否启用实时识别结果
- setUseRealBack(boolean) - Method in class com.aispeech.export.intent.AICloudSemanticIntent
-
设置是否启用实时反馈,默认true
- setUseRealBack(boolean) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
设置是否开启实时反馈
- setUseRecUppercase(int) - Method in class com.aispeech.export.intent.AILocalLASRIntent
-
英文大小写
AILocalLASRIntent.USE_REC_NATIVE 和资源词表的大小写相同
AILocalLASRIntent.USE_REC_LOW rec结果为小写
AILocalLASRIntent.USE_REC_UPPERCASE rec结果为大写
- setUseRefText(boolean) - Method in class com.aispeech.export.config.AICloudDMConfig.Builder
-
是否启用纯语义模式
- setUseRefText(boolean) - Method in class com.aispeech.export.config.AICloudSemanticConfig.Builder
-
是否启用纯语义模式
- setUseRefText(boolean) - Method in class com.aispeech.export.config.AILocalSemanticConfig.Builder
-
是否启用离线语义纯语义模式,该模式下feed 文本,输出语义
- setUseRefText(boolean) - Method in class com.aispeech.export.engines2.AILocalSemanticEngine
-
设置是否关闭识别并只传入语义文本功能,
- setUseRefTextLength(int) - Method in class com.aispeech.export.intent.AILocalSemanticIntent
-
- setUserId(String) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
设置用户标示
- setUserId(String) - Method in class com.aispeech.export.intent.AICloudDMIntent
-
- setUserId(String) - Method in class com.aispeech.export.intent.AICloudSemanticIntent
-
- setUserId(String) - Method in class com.aispeech.export.intent.AICloudTTSIntent
-
设置发音人ID,用于声音复刻生成的自定义声音ID
- setUserId(String) - Method in class com.aispeech.export.intent.AICloudVprintIntent.Builder
-
- setUserId(String) - Method in class com.aispeech.export.intent.AICloudVprintIntent
-
声纹ID,用户ID在系统中应该是唯一的
注册时非必需,不设置服务端会生成一个
注销时必须设置
仅用于注册和注销
- setUserId(String) - Method in class com.aispeech.export.intent.VprintIntent.Builder
-
Deprecated.
- setUserId(String) - Method in class com.aispeech.lite.vprint.VprintIntent.Builder
-
- setUsers(List<String>) - Method in class com.aispeech.export.intent.AIAsrPlusIntent
-
- setUsers(List<String>) - Method in class com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
- setUsers(String[]) - Method in class com.aispeech.export.intent.AICloudVprintIntent.Builder
-
- setUsers(List<String>) - Method in class com.aispeech.export.intent.AICloudVprintIntent
-
要对比的用户id列表。若users列表为空,择选取organization所有的id做1:N比对,仅用于验证
- setUseSegment(boolean) - Method in class com.aispeech.export.config.AICloudASRSentenceConfig
-
是否返回详细的分词结果。如果开启,返回的result会以词为单位返回。
- setUseSegment(boolean) - Method in class com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
是否返回每个分词的信息。默认值:false, 不返回。
- setUseSelectRule(boolean) - Method in class com.aispeech.export.config.AILocalSemanticConfig.Builder
-
是否启用内部语义仲裁规则
- setUseSelectRule(boolean) - Method in class com.aispeech.export.engines2.AILocalSemanticEngine
-
设置是否使用SDK内部的 grammar 与 ngram 决策规则,默认 false
- setUseSensitiveWdsNorm(boolean) - Method in class com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
是否使用内置敏感词
- setUseSpeechDns(boolean) - Method in class com.aispeech.DUILiteConfig
-
设置是否使用思必驰的DNS
- setUseSSL(boolean) - Method in class com.aispeech.export.config.AILocalHotWordConfig.Builder
-
设置是否启用ssl功能,启用该功能,需要外部自行feed 4通道音频数据。
- setUseSSL(boolean) - Method in class com.aispeech.export.config.AILocalWakeupIncrementConfig.Builder
-
设置是否启用ssl功能,启用该功能,需要外部自行feed 4通道音频数据。
- setUseSSML(boolean) - Method in class com.aispeech.export.intent.AILocalTTSIntent
-
设置是否使用ssml 默认不使用为false
- setUseSspe(boolean) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
Deprecated.
- setUseStopCallback(boolean) - Method in class com.aispeech.export.config.AICloudTTSConfig.Builder
-
设置是否在stop之后回调 onSpeechFinish ,默认是true 回调
- setUseStopCallback(boolean) - Method in class com.aispeech.export.config.AICloudTTSConfig
-
- setUseStopCallback(boolean) - Method in class com.aispeech.export.config.AILocalTTSConfig.Builder
-
设置是否在stop之后回调 onSpeechFinish ,默认是true 回调
- setUseStopCallback(boolean) - Method in class com.aispeech.export.config.AILocalTTSConfig
-
- setUseStreamType(boolean) - Method in class com.aispeech.export.intent.AICloudTTSIntent
-
- setUseStreamType(boolean) - Method in class com.aispeech.export.intent.AILocalTTSIntent
-
- setUseStrongWakeupVisible(boolean) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
default is
使用场景:开启oneShot功能,开启实时返回,识别结果会有唤醒词或者是唤醒词前面有其他杂音情况。
目前出现此类问题是sspe送回来的音频回滚时间较长
或者三方送入的音频唤醒词前音频较长,导致唤醒词前面数据也会带入
开启此功能,云端进行过滤,xxx(唤醒词)
0.
- setUseSystemDns(boolean) - Method in class com.aispeech.DUILiteConfig.Builder
-
- setUseTimeStamp(boolean) - Method in class com.aispeech.export.intent.AILocalTTSIntent
-
设置音子时间戳
- setUseTProcess(boolean) - Method in class com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
逆文本,将识别的中文数字改成阿拉伯数字
- setUseTprocess(boolean) - Method in class com.aispeech.export.intent.AILocalLASRIntent
-
逆文本,将识别的中文数字改成阿拉伯数字
- setUseTxtSmooth(boolean) - Method in class com.aispeech.export.config.AICloudASRSentenceConfig
-
开启后处理时,是否启用口语顺滑,默认:false。
- setUseTxtSmooth(boolean) - Method in class com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
口语顺滑开关。false:不使用,true:使用(默认)。
- setUseTxtSmooth(boolean) - Method in class com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
是否启用口语顺滑
- setUseTxtSmooth(boolean) - Method in class com.aispeech.export.intent.AILocalLASRIntent
-
是否启用口语顺滑
- setUseVad(boolean) - Method in class com.aispeech.export.config.AICloudASRSentenceConfig
-
是否启用VAD功能。默认:true。如果关闭,会跳过音频分割,直接进入识别流程。
- setUseVad(boolean) - Method in class com.aispeech.export.config.AICloudDMConfig.Builder
-
是否启用内置vad,启用该项配置,需语音在产品高级配置界面打开 空帧识别结果过滤 配置
- setUseVad(boolean) - Method in class com.aispeech.export.config.AICloudSemanticConfig.Builder
-
是否启用内置vad
- setUseVad(boolean) - Method in class com.aispeech.export.config.AILocalHotWordConfig.Builder
-
设置是否启用vad
- setUseVad(boolean) - Method in class com.aispeech.export.config.AILocalWakeupIncrementConfig.Builder
-
设置是否启用vad
- setUseVprint(boolean) - Method in class com.aispeech.export.config.AICloudASRConfig
-
- setUseXbnfRec(boolean) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
设置是否启用基于语法的语义识别
- setUuid(String) - Method in class com.aispeech.export.lasr.LasrSqlEntity
-
- setV1Host(String) - Method in class com.aispeech.lite.dm.update.UpdaterImpl.Builder
-
- setVad(boolean) - Method in class com.aispeech.export.config.AIFespCarConfig
-
- setVad(boolean) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
设置前端信号处理内核是否使用vad功能
- setVadCacheTime(int) - Method in class com.aispeech.common.CacheUtil
-
- setVadEnable(boolean) - Method in class com.aispeech.export.config.AILocalASRConfig.Builder
-
设置是否启用vad,默认为true
- setVadEnable(boolean) - Method in class com.aispeech.export.config.AILocalASRConfig
-
设置是否启用vad,默认为true
- setVadEnable(boolean) - Method in class com.aispeech.export.config.AILocalAsrppConfig
-
设置是否启用本地vad
- setVadEnable(boolean) - Method in class com.aispeech.export.intent.AICloudDMIntent
-
- setVadEnable(Boolean) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
- setVadEnable(boolean) - Method in class com.aispeech.export.intent.AILocalVadIntent
-
- setVadEnable(boolean) - Method in class com.aispeech.export.intent.AIWakeupIntent
-
设置是否启动vad功能,需要资源配合。在资源支持vad功能的情况下,默认启动vad。
vad 需引擎 stop 后重新 start 才能生效
- setVadPause(int) - Method in class com.aispeech.export.config.AICloudASRSentenceConfig
-
切割间隔时间 默认值:500,单位:毫秒。
- setVadPauseTime(int) - Method in class com.aispeech.export.config.AILocalASRConfig.Builder
-
设置VAD右边界
- setVadPauseTime(int) - Method in class com.aispeech.export.config.AILocalAsrppConfig
-
设置VAD右边界
- setVadPauseTime(int) - Method in class com.aispeech.export.config.AILocalWakeupIncrementConfig.Builder
-
设置vad的pauseTime
- setVadRes(String) - Method in class com.aispeech.export.config.AICloudDMConfig.Builder
-
设置vad资源
- setVadRes(String) - Method in class com.aispeech.export.config.AICloudSemanticConfig.Builder
-
设置vad 资源
- setVadRes(String) - Method in class com.aispeech.export.config.AILocalASRConfig.Builder
-
设置VAD资源名,可设置 assets 下的相对路径 或 / 开头的绝对路径
须在init之前设置才生效
- setVadRes(String) - Method in class com.aispeech.export.config.AILocalHotWordConfig.Builder
-
设置vad res
- setVadRes(String) - Method in class com.aispeech.export.config.AILocalWakeupIncrementConfig.Builder
-
设置vad res
- setVadResource(String) - Method in class com.aispeech.export.config.AICloudASRConfig.Builder
-
设置VAD资源名字
需要在init之前调用
- setVadResource(String) - Method in class com.aispeech.export.config.AICloudASRConfig
-
设置本地vad资源
- setVadResource(String) - Method in class com.aispeech.export.config.AILocalASRConfig.Builder
-
设置本地vad资源
- setVadResource(String) - Method in class com.aispeech.export.config.AILocalASRConfig
-
设置本地vad资源
- setVadResource(String) - Method in class com.aispeech.export.config.AILocalAsrppConfig
-
设置本地vad资源
- setVadResource(String) - Method in class com.aispeech.export.config.AILocalVadConfig.Builder
-
设置VAD资源路径
需要在init之前调用
- setVadResource(String) - Method in class com.aispeech.export.config.AILocalVadConfig
-
- setValue(Object) - Method in class com.aispeech.lite.dm.cache.Item
-
- setVar(String) - Method in class com.aispeech.common.DDSJSONResultParser.DDSResultParseBean
-
- setVocabsCfgFolder(String) - Method in class com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置product.cfg 文件所在目录
- setVocabsCfgPath(String) - Method in class com.aispeech.export.SemanticVocabsCfg
-
设置项目product.cfg 配置文件路径
- setVocabsTextPath(String) - Method in class com.aispeech.export.SemanticVocabsCfg
-
设置需要更新的词库文本路径
- setVolume(String) - Method in class com.aispeech.export.intent.AICloudTTSIntent
-
设置音量大小
- setVolume(int) - Method in class com.aispeech.export.intent.AICloudTTSIntent
-
- setVolume(int) - Method in class com.aispeech.export.intent.AILocalTTSIntent
-
设置语音合成的音量
- setVprintAudioPath(String) - Method in class com.aispeech.export.engines2.AICloudVprintEngine
-
设置生成音频路径
- setVprintAudioPath(String) - Method in class com.aispeech.lite.vprint.CloudVprintKernel
-
- setVprintCutSaveDir(String) - Method in class com.aispeech.export.intent.VprintIntent.Builder
-
Deprecated.
设置保存唤醒内核给声纹的音频数据
- setVprintCutSaveDir(String) - Method in class com.aispeech.lite.vprint.VprintIntent.Builder
-
设置保存唤醒内核给声纹的音频数据
- setVprintInfo(String, List<String>, String) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
设置要验证的声纹信息
- setVprintLiteSaveDir(String) - Method in class com.aispeech.lite.vprintlite.VprintLiteIntent.Builder
-
设置保存唤醒内核给声纹的音频数据
- setVprintLiteSaveDir(String) - Method in class com.aispeech.lite.vprintlite.VprintLiteIntent
-
设置保存唤醒内核给声纹的音频数据
- setVprintModelPath(String) - Method in class com.aispeech.export.config.VprintConfig.Builder
-
Deprecated.
设置声纹模型保存路径,包含文件名,如/sdcard/speech/vprint.model
- setVprintModelPath(String) - Method in class com.aispeech.lite.vprint.VprintConfig.Builder
-
设置声纹模型保存路径,包含文件名,如/sdcard/speech/vprint.model
- setVprintModelPath(String) - Method in class com.aispeech.lite.vprintlite.VprintLiteConfig.Builder
-
设置声纹模型保存路径,包含文件名,如/sdcard/speech/vprint.model
- setVprintResBin(String) - Method in class com.aispeech.export.config.VprintConfig.Builder
-
Deprecated.
设置声纹资源
若在assets目录下,则指定文件名即可,如vprint.bin
若在外部路径目录下,则需要指定绝对路径,如/sdcard/speech/vprint.bin
- setVprintResBin(String) - Method in class com.aispeech.lite.vprint.VprintConfig.Builder
-
设置声纹资源
若在assets目录下,则指定文件名即可,如vprint.bin
若在外部路径目录下,则需要指定绝对路径,如/sdcard/speech/vprint.bin
- setVprintResBin(String) - Method in class com.aispeech.lite.vprintlite.VprintLiteConfig.Builder
-
设置声纹资源
若在assets目录下,则指定文件名即可,如vprint.bin
若在外部路径目录下,则需要指定绝对路径,如/sdcard/speech/vprint.bin
- setVprintType(String) - Method in class com.aispeech.lite.vprintlite.VprintLiteConfig.Builder
-
设置声纹类型
- setVprintWord(String) - Method in class com.aispeech.export.intent.VprintIntent.Builder
-
Deprecated.
- setVprintWord(String...) - Method in class com.aispeech.export.intent.VprintIntent.Builder
-
Deprecated.
- setVprintWord(String) - Method in class com.aispeech.lite.vprint.VprintIntent.Builder
-
- setVprintWord(String...) - Method in class com.aispeech.lite.vprint.VprintIntent.Builder
-
- setWaitingTimeout(int) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
设置等待识别结果超时时间 单位毫秒,小于或等于0则不设置超时,默认5000ms.
- setWaitingTimeout(int) - Method in class com.aispeech.export.intent.AICloudTTSIntent
-
等待合成结果超时时间 单位毫秒,默认是3000,default is ms
- setWakeupResource(String) - Method in class com.aispeech.export.config.AIDmaspConfig.Builder
-
- setWakeupResource(String) - Method in class com.aispeech.export.config.AIFespCarConfig.Builder
-
- setWakeupResource(String) - Method in class com.aispeech.export.config.AIFespCarConfig
-
唤醒资源
- setWakeupResource(String) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
唤醒资源
- setWakeupResource(String) - Method in class com.aispeech.export.config.AIWakeupConfig
-
设置唤醒资源
- setWakeupWord(AIDmaspConfig.WakeupWord) - Method in class com.aispeech.export.config.AIDmaspConfig.Builder
-
- setWakeupWord(AIFespCarConfig.WakeupWord) - Method in class com.aispeech.export.config.AIFespCarConfig.Builder
-
- setWakeupWord(String[], int[]) - Method in class com.aispeech.export.config.AIFespCarConfig
-
设置唤醒词以及是否作为主唤醒词,主唤醒词为1,副唤醒词为0
- setWakeupWord(String[], int[]) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
设置唤醒词以及是否作为主唤醒词,主唤醒词为1,副唤醒词为0
- setWakeupWord(String[], int[], int[]) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
设置唤醒词,以及是否是主副唤醒词,以及是否是半字唤醒
- setWakeupword(List<WakeupWord>) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
- setWakeupword(WakeupWord...) - Method in class com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
设置唤醒词信息config.setWakeupword(new WakeupWord("ni hao xiao le", 0.34f, 0.25f, 1, 0));
- setWakeupWord(String) - Method in class com.aispeech.export.config.NearWakeupConfig
-
config.setWakeupWord("ni hao xiao yi, ni hao xiao chi")
- setWakeupWord(String) - Method in class com.aispeech.export.config.WakeupWord
-
设置唤醒词,例:"ni hao xiao chi"
- setWakeupword(List<WakeupWord>) - Method in class com.aispeech.export.engines2.AILocalSignalAndWakeupEngine
-
- setWakeupword(WakeupWord...) - Method in class com.aispeech.export.engines2.AILocalSignalAndWakeupEngine
-
动态设置唤醒词
- setWakeupWord(String) - Method in class com.aispeech.export.intent.AICloudASRIntent
-
配置自定义唤醒词功能;配合唤醒词分数使用可增强唤醒词识别,同时结果中过滤所传唤醒词;
如果同时设置commonWakeupWord,仍会过滤唤醒词,但唤醒词的增强识别会生效
- setWakeupWord(String[], float[]) - Method in class com.aispeech.export.intent.AIWakeupIntent
-
设置唤醒词列表
- setWakeupWords(String[], float[], int[]) - Method in class com.aispeech.export.engines2.AIDmaspEngine
-
Deprecated.
动态调整参数,具体请参照 demo
- setWakeupWords(String[], float[]) - Method in class com.aispeech.export.engines2.AIFespCarEngine
-
设置唤醒词
- setWakeupWords(String[], float[], int[]) - Method in class com.aispeech.export.engines2.AIFespCarEngine
-
设置唤醒词
- setWakeupWords(String[], float[], int[], int[]) - Method in class com.aispeech.export.engines2.AIFespCarEngine
-
设置唤醒词
- setWakeupWords(String[]) - Method in class com.aispeech.export.engines2.AILocalASREngine
-
设置唤醒词列表,用于oneshot过滤唤醒词
- setWakeupWords(String[], float[], int[]) - Method in class com.aispeech.export.engines2.AIWakeupEngine
-
- setWakeupWords(String[]) - Method in class com.aispeech.export.intent.AICloudDMIntent
-
设置唤醒词,用于oneshot场景识别过滤唤醒词。如:"你好小弛,你好小乐"
- setWakeupWords(String) - Method in class com.aispeech.export.intent.AICloudSemanticIntent
-
设置唤醒词,用于oneshot场景使用。如:"你好小弛,你好小乐"
- setWakeupWords(String[]) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
设置唤醒词列表,用于oneshot过滤唤醒词
- setWakeupWords(String[]) - Method in class com.aispeech.export.intent.AIWakeupIntent
-
设置唤醒词列表
- setWavFilePath(String) - Method in class com.aispeech.export.intent.AICloudVprintIntent.Builder
-
- setWavFilepath(String) - Method in class com.aispeech.export.intent.AICloudVprintIntent
-
用于注册和验证声纹的音频文件路径,必需设置
- setWebSocketBuilder(OkHttpClient.Builder) - Method in class com.aispeech.DUILiteConfig.Builder
-
- setWebSocketHost(String) - Method in class com.aispeech.lite.dm.update.UpdaterImpl.Builder
-
- setWeight(double) - Method in class com.aispeech.export.config.NearWakeupConfig
-
(慎改)选举权重,默认值1.0。取值范围大于等于0,值越大选举时优势越大
- setWidget(JSONObject) - Method in class com.aispeech.export.widget.callback.CustomCallbackWidget
-
- setWkpWnd(int) - Method in class com.aispeech.export.config.NearWakeupConfig
-
单次决策窗口期,单位毫秒,范围50-800,默认350ms。不同设备唤醒时间点有差异,且网络传输延
时导致一次唤醒存在时间差,在窗口期范围之内,同一唤醒词的唤醒被合并为同一个唤醒,从中选出
最优设备
- setWords(String[]) - Method in class com.aispeech.export.config.AIOneshotConfig.Builder
-
设置oneshot检测词汇列表
- setWords(String[]) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
设置词表
- setWords(String) - Method in class com.aispeech.export.intent.AILocalASRIntent
-
直接按照内核既定格式设置词表如: \"打开副屏,打开今日头条\"
- setWords(String[]) - Method in class com.aispeech.export.intent.AILocalHotWordIntent
-
设置词表
- setWords(String) - Method in class com.aispeech.export.intent.AILocalHotWordIntent
-
直接按照内核既定格式设置词表如: \"打开副屏,打开今日头条\"
- setWords(String[]) - Method in class com.aispeech.export.intent.AILocalWakeupIncrementIntent
-
设置词表
- setWords(String) - Method in class com.aispeech.export.intent.AILocalWakeupIncrementIntent
-
直接按照内核既定格式设置词表如: \"打开副屏,打开今日头条\"
- setWords(String[]) - Method in class com.aispeech.lite.speech.Phrase
-
- setWsPort(int) - Method in class com.aispeech.export.config.NearWakeupConfig
-
(慎改)服务绑定的端口号
- SevcKernel - Class in com.aispeech.lite.sevc
-
输入多路数据,输出一路数据。内部这个数据流向: aec bbs nr agc
- SevcKernel(SevcListener) - Constructor for class com.aispeech.lite.sevc.SevcKernel
-
- SevcListener - Interface in com.aispeech.lite.sevc
-
- SevcProcessor - Class in com.aispeech.lite.sevc
-
- SevcProcessor() - Constructor for class com.aispeech.lite.sevc.SevcProcessor
-
- SharedPreferencesUtil - Class in com.aispeech.common
-
- SharedPreferencesUtil() - Constructor for class com.aispeech.common.SharedPreferencesUtil
-
- SharedPrefsUtil - Class in com.aispeech.common
-
- SharedPrefsUtil() - Constructor for class com.aispeech.common.SharedPrefsUtil
-
- showErrorMessage(ProfileState) - Method in class com.aispeech.base.BaseInnerEngine
-
- showErrorMessage(ProfileState) - Method in class com.aispeech.lite.oneshot.OneshotKernel
-
- simplifiedToTraditional(String) - Method in class com.aispeech.export.itn.Convert
-
简体转繁体
- size() - Method in class com.aispeech.common.NotifyLimitQueue
-
队列容量
- SKILL - Static variable in class com.aispeech.lite.dm.Protocol
-
- SKILL_ID - Static variable in class com.aispeech.lite.dm.Protocol
-
- SKILL_PRIORITY - Static variable in class com.aispeech.export.Setting
-
技能优先级
- SkillContext - Class in com.aispeech.export
-
可以对技能配置进行增删改
- SkillContext(String, String, List<Setting>) - Constructor for class com.aispeech.export.SkillContext
-
- SkillContext.Builder - Class in com.aispeech.export
-
- skillId - Variable in class com.aispeech.export.widget.callback.CallbackWidget
-
skill id
- skillIdsWhiteList - Variable in class com.aispeech.export.itn.Advanced
-
限定技能白名单内的才会decode,默认为空。一般上传联系人前,设置当前技能id
- SkillIntent - Class in com.aispeech.export
-
Created by yu on 2018/12/20.
- SkillIntent() - Constructor for class com.aispeech.export.SkillIntent
-
技能意图类构造方法
- SkillIntent(String, String, String, String) - Constructor for class com.aispeech.export.SkillIntent
-
技能意图类构造方法
- skillMapping - Variable in class com.aispeech.export.config.AILocalSemanticConfig.Builder
-
离线内置语义与在线语义的映射表,如外部配置,sdk内部会对齐在线skill名和补充离线skillId
- skillMapping - Variable in class com.aispeech.export.config.AILocalSemanticConfig
-
离线内置语义与在线语义的映射表,如果外部配置,sdk内部会对齐在线skill名和补充离线skillId
- Slots - Class in com.aispeech.export
-
语义slots
- slotsBlackList - Variable in class com.aispeech.export.itn.Advanced
-
限定槽位黑名单内,在skillsWhiteList前提下,黑名单内的slot不会被还原
- SOURCE_AIDUI - Static variable in interface com.aispeech.common.AIConstant.Nlu
-
离线内置语义
- SOURCE_BCDV2 - Static variable in interface com.aispeech.common.AIConstant.Nlu
-
离线bcdv2语义
- SOURCE_DUI - Static variable in interface com.aispeech.common.AIConstant.Nlu
-
离线dui语义
- SOURCE_NAVI - Static variable in interface com.aispeech.common.AIConstant.Nlu
-
离线导航语义
- SP_KEY_DRIVER_MODEL - Static variable in interface com.aispeech.lite.function.ICarFunction
-
- SP_NAME_CAR_CACHE - Static variable in interface com.aispeech.lite.function.ICarFunction
-
sp 名字
- speak(AICloudTTSIntent, String, String) - Method in class com.aispeech.export.engines2.AICloudTTSEngine
-
合成并播放
- speak(AILocalTTSIntent, String, String) - Method in class com.aispeech.export.engines2.AILocalTTSEngine
-
合成并播放
- SPEAK_URL - Static variable in class com.aispeech.lite.dm.Protocol
-
- Speaker - Class in com.aispeech.export
-
播报文本内容
- Speaker() - Constructor for class com.aispeech.export.Speaker
-
- speakUrl - Variable in class com.aispeech.export.Speaker
-
语音播报nlg的url链接,非必选,优先播报 speakUrl
- SpeechInterceptor - Class in com.aispeech.export.interceptor
-
- SpeechInterceptor() - Constructor for class com.aispeech.export.interceptor.SpeechInterceptor
-
- SpeexKernel - Class in com.aispeech.speex
-
pcm 转 ogg
- SpeexKernel(SpeexKernelListener) - Constructor for class com.aispeech.speex.SpeexKernel
-
- SpeexKernelListener - Interface in com.aispeech.speex
-
- spiltText(String, int) - Static method in class com.aispeech.common.TextSplitter
-
将长文本分割为短句,每间隔spiltIndex个字符进行一次分割
- spiltTextByPunctuation(String, int) - Static method in class com.aispeech.common.TextSplitter
-
将长文本分割为短句,每超过 spiltUnit 个字符向后寻找标点符号进行断句
- splitOriginalChannel(byte[], int, int) - Static method in class com.aispeech.common.AudioHelper
-
从多路原始音频中裁取指定路音频数据
- SSLByVadEngine - Class in com.aispeech.lite.hotword.ssl
-
借助vad实现的声源定位方案
- SSLByVadEngine() - Constructor for class com.aispeech.lite.hotword.ssl.SSLByVadEngine
-
- SSLKernel - Class in com.aispeech.lite.hotword.ssl
-
4音区声源定位
- SSLKernel(SSLKernelListener) - Constructor for class com.aispeech.lite.hotword.ssl.SSLKernel
-
- SSLKernelListener - Interface in com.aispeech.lite.hotword.ssl
-
- SSLListener - Interface in com.aispeech.lite.hotword.ssl
-
doa selector 回调
- SSPE_TYPE_CAR_FOUR - Static variable in interface com.aispeech.lite.sspe.SspeConstant
-
- SSPE_TYPE_CAR_TWO - Static variable in interface com.aispeech.lite.sspe.SspeConstant
-
- SspeConstant - Interface in com.aispeech.lite.sspe
-
Description:
Author: junlong.huang
CreateTime: 2023/1/30
- SspeKernel - Class in com.aispeech.lite.sspe
-
Description:
Author: junlong.huang
CreateTime: 2023/3/28
- SspeKernel(FespxKernelListener) - Constructor for class com.aispeech.lite.sspe.SspeKernel
-
- SspeKernelFactory - Class in com.aispeech.lite.sspe
-
Description:
Author: junlong.huang
CreateTime: 2023/2/27
- SspeKernelFactory() - Constructor for class com.aispeech.lite.sspe.SspeKernelFactory
-
- start(AICloudASRIntent) - Method in class com.aispeech.export.engines2.AICloudASREngine
-
启动录音,开始语音识别
- start(AICloudDMIntent) - Method in class com.aispeech.export.engines2.AICloudDMEngine
-
创建对话
- start() - Method in class com.aispeech.export.engines2.AICloudDMEngine
-
创建对话,使用默认的对话配置
- start(AICloudLASRRealtimeIntent) - Method in class com.aispeech.export.engines2.AICloudLASRRealtimeEngine
-
- start(AICloudSemanticIntent) - Method in class com.aispeech.export.engines2.AICloudSemanticEngine
-
Deprecated.
启动引擎
- start(AIDmaspIntent) - Method in class com.aispeech.export.engines2.AIDmaspEngine
-
Deprecated.
开启唤醒
- start(AIFespCarIntent) - Method in class com.aispeech.export.engines2.AIFespCarEngine
-
启动信号处理模块和唤醒引擎
- start(AntiSpoofIntent) - Method in class com.aispeech.export.engines2.AILocalAntiSpoofingEngine
-
启动仿冒攻击引擎
- start(AILocalASRIntent) - Method in class com.aispeech.export.engines2.AILocalASREngine
-
启动录音,开始语音识别
- start(AILocalAsrppIntent) - Method in class com.aispeech.export.engines2.AILocalAsrppEngine
-
启动录音,开始语音识别
- start() - Method in class com.aispeech.export.engines2.AILocalEchoEngine
-
- start(AILocalEchoIntent) - Method in class com.aispeech.export.engines2.AILocalEchoEngine
-
- start(boolean) - Method in class com.aispeech.export.engines2.AILocalFaspEngine
-
- start(AILocalHotWordIntent) - Method in class com.aispeech.export.engines2.AILocalHotWordsEngine
-
启动本地热词引擎
- start(AILocalLASRIntent) - Method in class com.aispeech.export.engines2.AILocalLASREngine
-
启动引擎
- start(AILocalMdsIntent) - Method in class com.aispeech.export.engines2.AILocalMdsEngine
-
启动引擎
- start() - Method in class com.aispeech.export.engines2.AILocalNREngine
-
启动本地nr引擎
- start() - Method in class com.aispeech.export.engines2.AILocalSemanticEngine
-
- start(AILocalSemanticIntent) - Method in class com.aispeech.export.engines2.AILocalSemanticEngine
-
识别+语义模式启动引擎
- start(AILocalSevcIntent) - Method in class com.aispeech.export.engines2.AILocalSevcEngine
-
启动引擎
- start(AILocalSignalAndWakeupIntent) - Method in class com.aispeech.export.engines2.AILocalSignalAndWakeupEngine
-
启动信号处理模块和唤醒引擎
- start() - Method in class com.aispeech.export.engines2.AILocalVadEngine
-
启动本地vad引擎
- start(AILocalVadIntent) - Method in class com.aispeech.export.engines2.AILocalVadEngine
-
启动本地vad
- start(VprintIntent) - Method in class com.aispeech.export.engines2.AILocalVprintEngine
-
启动声纹引擎
- start(VprintLiteIntent) - Method in class com.aispeech.export.engines2.AILocalVprintLiteEngine
-
启动声纹引擎
- start(AILocalWakeupIncrementIntent) - Method in class com.aispeech.export.engines2.AILocalWakeupIncrementEngine
-
启动热词引擎
n
- start(AIWakeupIntent) - Method in class com.aispeech.export.engines2.AIWakeupEngine
-
开启唤醒,如果使用内部录音机的话一并开启
- start(VprintLiteIntent) - Method in interface com.aispeech.export.function.IAILocalVprintLite
-
- start(T) - Method in interface com.aispeech.export.function.IEngine
-
- start() - Method in class com.aispeech.lite.base.BaseEngine
-
- start(SpeechParams, VadParams) - Method in class com.aispeech.lite.dm.CloudDmFullDuplexProcessor
-
- start(SpeechParams, VadParams) - Method in class com.aispeech.lite.dm.CloudDmProcessor
-
- start(SpeechParams, VadParams) - Method in interface com.aispeech.lite.dm.IDmProcessor
-
启动对话
- start(String, TimerTask) - Method in class com.aispeech.lite.dm.Timer
-
启动定时器任务
- start(String, TimerTask, int) - Method in class com.aispeech.lite.dm.Timer
-
启动定时器任务
- start(DmaspParams) - Method in class com.aispeech.lite.dmasp.DmaspProcessor
-
- start(EchoParams) - Method in class com.aispeech.lite.echo.LocalEchoProcessor
-
- start(SpeechParams) - Method in class com.aispeech.lite.fasp.FaspProcessor
-
- start(LocalAsrParams, VadParams) - Method in class com.aispeech.lite.hotword.HotWordsProcessor
-
启动引擎
- start(SpeechParams) - Method in interface com.aispeech.lite.hotword.ssl.ISSL
-
启动
- start() - Method in interface com.aispeech.lite.hotword.ssl.n.INRms
-
启动
- start(SpeechParams) - Method in interface com.aispeech.lite.hotword.ssl.n.INVad
-
启动
- start() - Method in class com.aispeech.lite.hotword.ssl.n.NRmsEngine
-
- start(SpeechParams) - Method in class com.aispeech.lite.hotword.ssl.n.NVadEngine
-
- start(SpeechParams) - Method in class com.aispeech.lite.hotword.ssl.SSLByVadEngine
-
- start(SpeechParams) - Method in class com.aispeech.lite.mds.MdsProcessor
-
- start(SpeechParams) - Method in class com.aispeech.lite.sevc.SevcProcessor
-
- start(VprintLiteParams) - Method in class com.aispeech.lite.vprintlite.VprintLiteProcessor
-
- start(LocalAsrParams, VadParams) - Method in class com.aispeech.lite.wakeupincrement.WakeupIncrementProcessor
-
启动引擎
- startBuild(String, String) - Method in class com.aispeech.export.engines2.AILocalGrammarEngine
-
- startFeedData(byte[]) - Method in class com.aispeech.export.engines2.AICloudVprintEngine
-
传入数据,在不使用SDK录音机时调用
- startFeedData(byte[], int) - Method in class com.aispeech.lite.vprint.CloudVprintKernel
-
- startKernel() - Method in class com.aispeech.echo.EchoKernel
-
- startKernel(EchoParams) - Method in class com.aispeech.echo.EchoKernel
-
启动echo内核
- startKernel() - Method in class com.aispeech.lite.dmasp.DmaspKernel
-
启动Dmasp内核
- startKernel() - Method in class com.aispeech.speex.SpeexKernel
-
启动speex内核
- startNWakeup() - Method in class com.aispeech.export.engines2.AIDmaspEngine
-
Deprecated.
开启唤醒,仅仅开启唤醒,并且是在前端信号处理正常的情况下开启唤醒
- startRecord(AICloudVprintConfig.Mode, String, AICloudVprintListener.AudioToolListener) - Method in class com.aispeech.export.engines2.AICloudVprintEngine.AudioTool
-
- startRecording() - Method in class com.aispeech.lite.dm.CloudDmFullDuplexProcessor
-
- startRecording() - Method in class com.aispeech.lite.dm.CloudDmProcessor
-
- startRecording() - Method in interface com.aispeech.lite.dm.IDmProcessor
-
- startWithRecording() - Method in class com.aispeech.export.engines2.AILocalSemanticEngine
-
- startWithText(String) - Method in class com.aispeech.export.engines2.AILocalSemanticEngine
-
- startWithText(String, String) - Method in class com.aispeech.export.engines2.AILocalSemanticEngine
-
启动引擎,输入文本和拼音,拼音可从识别结果中获取
- startWithText(SpeechParams, VadParams) - Method in class com.aispeech.lite.dm.CloudDmFullDuplexProcessor
-
- startWithText(SpeechParams, VadParams) - Method in class com.aispeech.lite.dm.CloudDmProcessor
-
- startWithText(SpeechParams, VadParams) - Method in interface com.aispeech.lite.dm.IDmProcessor
-
通过纯语义模式启动对话
- stop() - Method in class com.aispeech.export.engines2.AICloudASREngine
-
停止录音,等待识别结果
- stop() - Method in class com.aispeech.export.engines2.AICloudDMEngine
-
主动结束对话
- stop() - Method in class com.aispeech.export.engines2.AICloudLASRRealtimeEngine
-
- stop() - Method in class com.aispeech.export.engines2.AICloudSemanticEngine
-
Deprecated.
主动结束语义
- stop() - Method in class com.aispeech.export.engines2.AICloudTTSEngine
-
- stop() - Method in class com.aispeech.export.engines2.AIDmaspEngine
-
Deprecated.
关闭前端信号处理和唤醒,如果使用内部录音机的话一并关闭
- stop() - Method in class com.aispeech.export.engines2.AIFespCarEngine
-
停止信号处理模块和唤醒引擎
该方法会停止接收录音数据和停止信号处理,唤醒,程序退出时可以调用
- stop() - Method in class com.aispeech.export.engines2.AILocalAntiSpoofingEngine
-
停止引擎
- stop() - Method in class com.aispeech.export.engines2.AILocalASREngine
-
停止录音,等待识别结果
- stop() - Method in class com.aispeech.export.engines2.AILocalAsrppEngine
-
停止录音,等待识别结果
- stop() - Method in class com.aispeech.export.engines2.AILocalEchoEngine
-
- stop() - Method in class com.aispeech.export.engines2.AILocalFaspEngine
-
停止引擎
- stop() - Method in class com.aispeech.export.engines2.AILocalHotWordsEngine
-
- stop() - Method in class com.aispeech.export.engines2.AILocalLASREngine
-
停止引擎
- stop() - Method in class com.aispeech.export.engines2.AILocalMdsEngine
-
停止引擎
- stop() - Method in class com.aispeech.export.engines2.AILocalNREngine
-
停止引擎
- stop() - Method in class com.aispeech.export.engines2.AILocalSemanticEngine
-
- stop() - Method in class com.aispeech.export.engines2.AILocalSevcEngine
-
停止引擎
- stop() - Method in class com.aispeech.export.engines2.AILocalSignalAndWakeupEngine
-
停止信号处理模块和唤醒引擎
该方法会停止接收录音数据和停止信号处理,唤醒,程序退出时可以调用
- stop() - Method in class com.aispeech.export.engines2.AILocalTTSEngine
-
停止合成和播放
- stop() - Method in class com.aispeech.export.engines2.AILocalVadEngine
-
停止本地vad引擎
- stop() - Method in class com.aispeech.export.engines2.AILocalVprintEngine
-
停止声纹引擎,该接口只在通用声纹模式下需要调用,唤醒+声纹不需要调用
- stop() - Method in class com.aispeech.export.engines2.AILocalVprintLiteEngine
-
停止声纹引擎,该接口只在通用声纹模式下需要调用,唤醒+声纹不需要调用
- stop() - Method in class com.aispeech.export.engines2.AILocalWakeupIncrementEngine
-
- stop() - Method in class com.aispeech.export.engines2.AIWakeupEngine
-
关闭唤醒,如果使用内部录音机的话一并关闭
- stop() - Method in interface com.aispeech.export.function.IAILocalVprintLite
-
- stop() - Method in interface com.aispeech.export.function.IEngine
-
- stop() - Method in class com.aispeech.lite.base.BaseEngine
-
- stop() - Method in class com.aispeech.lite.dm.CloudDmFullDuplexProcessor
-
- stop() - Method in interface com.aispeech.lite.dm.IDmProcessor
-
停止录音,等待识别结果
- stop() - Method in interface com.aispeech.lite.hotword.ssl.ISSL
-
停止
- stop() - Method in interface com.aispeech.lite.hotword.ssl.n.INRms
-
停止
- stop() - Method in interface com.aispeech.lite.hotword.ssl.n.INVad
-
通知引擎
- stop() - Method in class com.aispeech.lite.hotword.ssl.n.NRmsEngine
-
- stop() - Method in class com.aispeech.lite.hotword.ssl.n.NVadEngine
-
- stop() - Method in class com.aispeech.lite.hotword.ssl.SSLByVadEngine
-
- stop() - Method in class com.aispeech.lite.voicecopy.CloudVoiceCopyKernel
-
停止声音复刻
- stopFeedData() - Method in class com.aispeech.export.engines2.AICloudVprintEngine
-
结束喂音频
- stopFeedData() - Method in class com.aispeech.lite.vprint.CloudVprintKernel
-
- stopKernel() - Method in class com.aispeech.echo.EchoKernel
-
- stopKernel() - Method in class com.aispeech.lite.dmasp.DmaspKernel
-
- stopKernel() - Method in class com.aispeech.speex.SpeexKernel
-
停止speex内核
- stopNWakeup() - Method in class com.aispeech.export.engines2.AIDmaspEngine
-
Deprecated.
关闭唤醒,仅仅关闭唤醒
- stopRecord() - Method in class com.aispeech.export.engines2.AICloudVprintEngine.AudioTool
-
- stopRecording() - Method in class com.aispeech.export.engines2.AICloudSemanticEngine
-
Deprecated.
停止录音,等待识别结果
- string2Float(String[]) - Static method in class com.aispeech.common.ArrayUtils
-
String数组转float数组
- string2Int(String[]) - Static method in class com.aispeech.common.ArrayUtils
-
String数组转int数组
- stringToJSON(String) - Method in exception com.aispeech.AIError
-
- SUB_TITLE - Static variable in class com.aispeech.export.widget.callback.ContentCallbackWidget
-
副标题
- success() - Method in interface com.aispeech.DUILiteSDK.InitListener
-
- success() - Method in interface com.aispeech.export.listeners.AIUpdateListener
-
上传成功回调
- switchToSpeaker(String) - Method in class com.aispeech.export.intent.AILocalTTSIntent
-
- switchToSpeaker(String, int) - Method in class com.aispeech.export.intent.AILocalTTSIntent
-
- switchVoip(boolean) - Method in class com.aispeech.lite.aecagc.AecAgcKernel
-
开关voip功能,默认为开。
- syncId(String) - Method in class com.aispeech.lite.dm.Session
-
同步sessionId
- synthesize(AICloudTTSIntent, String, String) - Method in class com.aispeech.export.engines2.AICloudTTSEngine
-
只合成,不播放,同时抛出实时合成音频流
- synthesize(AILocalTTSIntent, String, String) - Method in class com.aispeech.export.engines2.AILocalTTSEngine
-
只合成,不播放,同时抛出实时合成音频流
- synthesizeToFile(String, String, String, AILocalTTSIntent) - Method in class com.aispeech.export.engines2.AILocalTTSEngine
-
合成音频到某个文件