- SAMPLE_RATE_16K - 类 中的静态变量com.aispeech.lite.AISampleRate
-
16000采样率
- SAMPLE_RATE_8K - 类 中的静态变量com.aispeech.lite.AISampleRate
-
8000采样率
- SDK_VERSION - 类 中的静态变量com.aispeech.common.AIConstant
-
SDK版本
- semanticType - 类 中的变量com.aispeech.export.config.AILocalSemanticConfig
-
指定语义引擎类型
- SemanticType - com.aispeech.lite中的枚举
-
- semDUILuaResFloder - 类 中的变量com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置离线DUI语义lua资源文件夹
- semDUILuaResFloder - 类 中的变量com.aispeech.export.config.AILocalSemanticConfig
-
设置离线DUI语义lua资源文件夹
- semDUIResCustomFloder - 类 中的变量com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置离线DUI Custom资源文件夹
- semDUIResCustomFloder - 类 中的变量com.aispeech.export.config.AILocalSemanticConfig
-
设置离线DUI custom资源文件夹
- semDUIResFloder - 类 中的变量com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置离线DUI资源文件夹
- semDUIResFloder - 类 中的变量com.aispeech.export.config.AILocalSemanticConfig
-
设置离线DUI资源文件夹
- semNaviLuaResFolder - 类 中的变量com.aispeech.export.config.AILocalSemanticConfig
-
设置离线语义lua资源文件夹
- semNaviResFolder - 类 中的变量com.aispeech.export.config.AILocalSemanticConfig
-
离线导航语义资源文件夹
- sendMessage(MessageProcess.Handle, Message) - 类 中的方法com.aispeech.lite.MessageProcess
-
- set(Context, boolean, String) - 类 中的静态方法com.aispeech.common.Audio2RefSetting
-
- setAcousticResources(String) - 类 中的方法com.aispeech.export.config.AILocalASRConfig
-
设置声学资源
1.
- setAction(String) - 类 中的方法com.aispeech.export.Vocab.Builder
-
设置需要执行的词库操作
- setAction(VprintIntent.Action) - 类 中的方法com.aispeech.lite.vprint.VprintIntent.Builder
-
设置声纹工作模式,
若不设置,会抛IllegalArgumentException
异常
- setAecChannelNum(int) - 类 中的方法com.aispeech.lite.vprint.VprintIntent.Builder
-
- setAecChannelNum(int) - 类 中的方法com.aispeech.lite.vprint.VprintIntent
-
- setAecResource(String) - 类 中的方法com.aispeech.AIEchoConfig
-
设置 ECHO 模式的 AEC 资源
1.
- setAecResource(String) - 类 中的方法com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
设置aec资源
1.
- setAIEchoConfig(AIEchoConfig) - 类 中的方法com.aispeech.AIEchoConfig
-
- setAiEchoConfig(AIEchoConfig) - 类 中的静态方法com.aispeech.echo.EchoKernel
-
- setAllText(String) - 类 中的方法com.aispeech.common.JSONResultParser
-
- setAsr(String) - 类 中的方法com.aispeech.export.lasr.LasrSqlEntity
-
- setAsrErrorRate(float) - 类 中的方法com.aispeech.export.intent.AICloudVprintIntent
-
文本半相关语音文本结果和custom_context的字错误率的百分比阈值 [0,100],结果向下取整,仅用于文本相关的注册和验证,默认值0
- setAsrIntent(AILocalASRIntent) - 类 中的方法com.aispeech.export.intent.AILocalSemanticIntent
-
- setAsrNetBin(String) - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
设置识别网络资源名, 适用于识别网络资源放在assets目录下
须在init之前设置才生效
- setAsrNetBinPath(String) - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
设置识别网络资源自定义路径, 适用于通过语法构建引擎动态生成网络资源或者网络资源放在自定义路径
须在init之前设置才生效
- setAsrPolicy(IAsrPolicy) - 类 中的方法com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置识别仲裁策略
- setAsrppResBin(String) - 类 中的方法com.aispeech.lite.vprint.VprintConfig.Builder
-
设置asr++资源
若在assets目录下,则指定文件名即可,如asrpp.bin
若在外部路径目录下,则需要指定绝对路径,如/sdcard/speech/asrpp.bin
- setAsrppResource(String) - 类 中的方法com.aispeech.export.config.AILocalAsrppConfig
-
设置性别识别资源
1.
- setAsrResBin(String) - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
设置识别声学资源名
须在init之前设置才生效, 适用于识别声学资源放在assets目录下
- setAsrResBinPath(String) - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
设置识别声学资源名
须在init之前设置才生效, 适用于识别声学资源放在自定义目录下
- setAudioAttributes(int, int) - 类 中的方法com.aispeech.export.intent.AICloudTTSIntent
-
- setAudioAttributes(int, int) - 类 中的方法com.aispeech.export.intent.AILocalTTSIntent
-
- setAudioId(String) - 类 中的方法com.aispeech.export.lasr.LasrSqlEntity
-
- setAudioParam(AICloudASRSentenceConfig.AudioParam) - 类 中的方法com.aispeech.export.config.AICloudASRSentenceConfig
-
设置音频参数,包含 类型,采样率,取样字节数,通道数 等
- setAudioParam(AICloudLASRConfig.AudioParam) - 类 中的方法com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
音频参数
- setAudioRecorderType(int) - 类 中的方法com.aispeech.DUILiteConfig
-
设置录音机采集数据的方式
- setAudioSourceType(int) - 类 中的方法com.aispeech.DUILiteConfig
-
设置audioRecorder的声音源
- setAudioType(String) - 类 中的方法com.aispeech.export.config.AICloudLASRConfig.AudioParam
-
音频类型
- setAudioType(AICloudASRIntent.PCM_ENCODE_TYPE) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
设置 PCM 编码成其它格式,以减小传输大小。
- setAudioType(AICloudLASRRealtimeIntent.PCM_ENCODE_TYPE) - 类 中的方法com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
⾳频类型,支持:wav, ogg, ogg_opus, opus, mp3。
- setAudioType(String) - 类 中的方法com.aispeech.export.intent.AICloudTTSIntent
-
- setAuthRetryTimesForNetworkErr(int) - 类 中的方法com.aispeech.DUILiteConfig
-
授权在网络错误时重试的次数
- setAuthServer(String) - 类 中的方法com.aispeech.DUILiteConfig
-
设置DUI授权url地址
取值:字符串
是否必需:否
默认值:https://auth.dui.ai
- setAuthTimeout(int) - 类 中的方法com.aispeech.DUILiteConfig
-
授权网络连接超时时间
单位:毫秒 默认值:5000ms
- setAutoSetDriveMode(boolean) - 类 中的方法com.aispeech.export.intent.AILocalSignalAndWakeupIntent
-
车载双麦时才有效。
- setBeamformingResource(String) - 类 中的方法com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
beamforming 资源,beamforming 即波束成形,将多路音频数据 beamforming 成单声道音频,方便后续做唤醒,识别等
1.
- setBfChannelNum(int) - 类 中的方法com.aispeech.lite.vprint.VprintIntent.Builder
-
- setBfChannelNum(int) - 类 中的方法com.aispeech.lite.vprint.VprintIntent
-
- setBlackWords(String[]) - 类 中的方法com.aispeech.export.intent.AILocalASRIntent
-
设置热词黑名单
- setBlackWords(String) - 类 中的方法com.aispeech.export.intent.AILocalASRIntent
-
- setBlockSize(int) - 类 中的方法com.aispeech.export.lasr.LasrSqlEntity
-
- setCacheUploadMaxNumber(int) - 类 中的方法com.aispeech.DUILiteConfig
-
- setCallback(String) - 类 中的方法com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
识别完成时的回调HTTP(s)地址。
- setCallbackInThread(boolean) - 类 中的方法com.aispeech.DUILiteConfig
-
设置 sdk 的回调是否都在子线程里,默认 false
- setChannel(int) - 类 中的方法com.aispeech.export.config.AICloudLASRConfig.AudioParam
-
可选,音频通道数,默认1
- setChannel(int) - 类 中的方法com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
音频通道数,default is 1 单声道
- setChannels(int) - 类 中的方法com.aispeech.AIEchoConfig
-
音频总的通道数,1+1,默认为2
- setChannels(int) - 类 中的方法com.aispeech.export.config.AILocalMdsConfig
-
输入音频通道数
- setChannels(int) - 类 中的方法com.aispeech.export.config.NearWakeupConfig
-
输入音频通道数
- setCheckLength(double) - 类 中的方法com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
音频的时长(单位:秒), 用户校验剩余时长是否充足
- setCloudVadEnable(boolean) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
设置是否开启服务端的vad功能,一般近场关闭,远场打开
- setCloudVprintVadEnable(boolean) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
- setCloudVprintVadEnable(boolean) - 类 中的方法com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
- setComplexity(int) - 类 中的方法com.aispeech.speex.SpeexKernel
-
设置压缩的复杂度 可取值:2,3,4,5,默认为2
- setContents(List<String>) - 类 中的方法com.aispeech.export.Vocab.Builder
-
设置需要操作的词条列表
若需要上传带同义词的词条,格式如下:"${词条取值}:${同义词1}[,${同义词2}]"。
- setContext(String) - 类 中的方法com.aispeech.common.DDSJSONResultParser.DDSResultParseBean
-
- setContextId(String) - 类 中的方法com.aispeech.common.DDSJSONResultParser.DDSResultParseBean
-
- setContextId(String) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
如果有contextId,服务端认为是同一个验证,会使用保存的cache和新的数据进行加强验证,非必须
- setContextId(String) - 类 中的方法com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
- setContextId(String) - 类 中的方法com.aispeech.export.intent.AICloudVprintIntent
-
如果有contextId,服务端认为是同一个验证,会使用保存的cache和新的数据进行加强验证,仅用于实时验证
- setCustomContent(String) - 类 中的方法com.aispeech.export.intent.AICloudVprintIntent
-
文本(半)相关时输入的语音文本。
- setCustomThreshold(String[], Double[]) - 类 中的方法com.aispeech.export.intent.AILocalASRIntent
-
自定义单词置信度阈值
- setCustomThreshold(Map<String, Double>) - 类 中的方法com.aispeech.export.intent.AILocalASRIntent
-
- setCustomWakeupWord(List<String>, boolean) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
设置自定义唤醒词和 是否过滤句首唤醒词,用于 oneshot 功能。
- setCustomWakeupWord(List<String>) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
设置自定义唤醒词,可用于过滤和指定唤醒词识别比如 ["你好小乐","你好小白"]
- setData(byte[]) - 类 中的方法com.aispeech.lite.vprint.VprintSqlEntity
-
声纹数据
- setDcheck(int[]) - 类 中的方法com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
设置唤醒是否开启校验,"1"表示开启校验,"0"表示不开启校验
- setDcheck(int) - 类 中的方法com.aispeech.export.config.WakeupWord
-
设置唤醒是否开启校验
- setDcheck(String[]) - 类 中的方法com.aispeech.export.intent.AIWakeupIntent
-
设置唤醒是否开启校验,"1"表示开启校验,"0"表示不开启校验
- setDebounceWnd(int) - 类 中的方法com.aispeech.export.config.NearWakeupConfig
-
防抖窗口期,单位毫秒,范围50-1000,默认450ms。
- setDebugMode(int, String) - 类 中的静态方法com.aispeech.DUILiteSDK
-
已过时。
- setDebugMode(int) - 类 中的静态方法com.aispeech.DUILiteSDK
-
设置SDK日志级别,默认W-3
{V = 2 , D =3 , I = 4 , W = 5 , E = 6, A = 7}
- setDebugPath(String) - 类 中的方法com.aispeech.export.config.NearWakeupConfig
-
中间音频、原始音频的存放路径
- setDeviceProfileDirPath(String) - 类 中的方法com.aispeech.DUILiteConfig
-
授权文件保存目录的绝对路径
取值:绝对路径字符串, e.g.
- setDictResource(String) - 类 中的方法com.aispeech.export.config.AILocalTTSConfig
-
设置合成字典
1.
- setDictResource(String, String) - 类 中的方法com.aispeech.export.config.AILocalTTSConfig
-
设置assets目录下的合成字典资源名字和对应的md5文件
- setDm(JSONObject) - 类 中的方法com.aispeech.common.DDSJSONResultParser.DDSResultParseBean
-
- setDoa(int) - 类 中的方法com.aispeech.export.intent.AILocalMdsIntent
-
说话人角度(多通道输入时使用),可选,根据资源配置而定
- setDomain(String) - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
设置前一轮对话领域信息,start之前设置生效
- setDomain(String) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
领域(comm/aihome/aitv/aicar/aiphone/airobot/aitranson-cn-16k/aitranson-en-16k),用于asrplus,和res对应,可不设置
- setDomain(String) - 类 中的方法com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
- setDomain(String) - 类 中的方法com.aispeech.export.intent.AICloudVprintIntent
-
领域(comm/aihome/aitv/aicar/aiphone/airobot/aitranson-cn-16k/aitranson-en-16k)
用于注册和实时声纹验证,注册时非必需,实时声纹验证必需设置
- setDomain(String) - 类 中的方法com.aispeech.export.intent.AILocalSemanticIntent
-
- setDumpWakeupAudioPath(String) - 类 中的方法com.aispeech.export.intent.AILocalSignalAndWakeupIntent
-
设置dump唤醒音频保存的文件夹,比如/sdcard/speech/dumpwkp。
- setDumpWakeupAudioPath(String) - 类 中的方法com.aispeech.export.intent.AIWakeupIntent
-
设置dump唤醒音频保存的文件夹,比如/sdcard/speech/dumpwkp。
- setDumpWakeupTime(int) - 类 中的方法com.aispeech.export.intent.AILocalSignalAndWakeupIntent
-
设置dump唤醒点回退音频的时间,默认5000ms。
- setDumpWakeupTime(int) - 类 中的方法com.aispeech.export.intent.AIWakeupIntent
-
设置dump唤醒点回退音频时长,默认5000ms。
- setDynamicList(String) - 类 中的方法com.aispeech.export.intent.AILocalASRIntent
-
- setDynamicList(List<String>) - 类 中的方法com.aispeech.export.intent.AILocalASRIntent
-
设置识别热词列表字符串,比如:"北京市,YOU ARE RIGHT,BLUCE,tfboys,天安门博物馆"
- setDynamicParam(String) - 类 中的方法com.aispeech.export.engines2.AILocalFaspEngine
-
- setDynamicParam(String) - 类 中的方法com.aispeech.export.engines2.AILocalSevcEngine
-
动态设置参数
- setDynamicParam(String[], float[], int[]) - 类 中的方法com.aispeech.export.engines2.AILocalSignalAndWakeupEngine
-
动态调整参数
mEngine.setDynamicParam(new String[]{"ni hao xiao le"}, new float[]{0.45f}, new int[]{1})
- setDynamicParam(String[], float[], float[], int[]) - 类 中的方法com.aispeech.export.engines2.AILocalSignalAndWakeupEngine
-
动态调整参数
mEngine.setDynamicParam(new String[]{"ni hao xiao le"}, new float[]{0.45f},new float[]{0.32f}, new int[]{1})
- setDynamicParam(String[], float[], float[], int[], boolean) - 类 中的方法com.aispeech.export.engines2.AILocalSignalAndWakeupEngine
-
动态设置参数
mEngine.setDynamicParam(new String[]{"ni hao xiao le"}, new float[]{0.45f},new float[]{0.32f}, new int[]{1}, false)
- setDynamicParam(Map<String, ?>) - 类 中的方法com.aispeech.export.engines2.AILocalSignalAndWakeupEngine
-
动态设置唤醒参数,可以在引擎初始化成功后动态设置
{@code
Map dynamicParam = new HashMap<>();
dynamicParam.put("env", "words=ni hao xiao le;thresh=0.45;major=1;");
// maxVolumeState 用于设置大音量状态,需配置AEC资源。
- setDynamicParam(String) - 类 中的方法com.aispeech.export.engines2.AILocalSignalAndWakeupEngine
-
- setDynamicParam(String[], float[]) - 类 中的方法com.aispeech.export.engines2.AIWakeupEngine
-
动态调整参数,只能调整唤醒词的thresh
- setDynamicParam(String) - 类 中的方法com.aispeech.export.engines2.AIWakeupEngine
-
- setDynamicParamEnv(Map<String, ?>) - 类 中的方法com.aispeech.export.engines2.AILocalSignalAndWakeupEngine
-
- setDynamicParamEnv(Map<String, ?>) - 类 中的方法com.aispeech.export.engines2.AIWakeupEngine
-
动态调整参数,具体请参照 demo
- setEchoChannelNum(int) - 类 中的方法com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
设置参考音路数,默认为0 即不含参考音,配合aec资源使用
- setEchoConfig(AIEchoConfig) - 类 中的方法com.aispeech.DUILiteConfig
-
设置 ECHO 模式的配置,其它模式下无影响
- setEnableConfidence(boolean) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
设置置信度
- setEnableEmotion(boolean) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
是否开启情感识别
- setEnableLanguageClassifier(boolean) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
- setEnableNumberConvert(boolean) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
设置是否启用识别结果汉字数字转阿拉伯数字功能
- setEnableOptimization(boolean) - 类 中的方法com.aispeech.export.config.AILocalTTSConfig
-
设置是否开启cpu优化
若某些机器合成速度慢,可以关闭cpu优化功能,设置为false
- setEnablePunctuation(boolean) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
设置是否启用标点符号识别
- setEnableSNTime(boolean) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
设置rec结果增加对齐信息,默认为false,关闭
- setEnableSpeakerAntiSpoofing(boolean) - 类 中的方法com.aispeech.export.intent.AICloudVprintIntent
-
语音活体检测,仅用于离线验证
- setEnableTone(boolean) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
设置音调功能,默认为false,关闭
- setEnableVad(boolean) - 类 中的方法com.aispeech.export.intent.AICloudVprintIntent
-
文本无关vad开关,默认为true
- setEnhanceRegister(boolean) - 类 中的方法com.aispeech.export.intent.AICloudVprintIntent
-
注册增强,仅用于注册,默认false
- setEof(int) - 类 中的方法com.aispeech.common.DDSJSONResultParser.DDSResultParseBean
-
- setErrId(int) - 异常错误 中的方法com.aispeech.AIError
-
- setErrId(String) - 异常错误 中的方法com.aispeech.AIError
-
- setError(String) - 异常错误 中的方法com.aispeech.AIError
-
- setError(JSONObject) - 类 中的方法com.aispeech.common.DDSJSONResultParser.DDSResultParseBean
-
- setEventMap(Map<Object, Object>) - 异常错误 中的方法com.aispeech.AIError
-
- setExpandFnPath(String) - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
ExpandFn 文件路径,用于动态拆分net.bin文件
start 之前传入有效
- setExpandFnPath(String) - 类 中的方法com.aispeech.export.intent.AILocalASRIntent
-
ExpandFn 文件路径,用于动态拆分net.bin文件
start 之前传入有效
- setExt(String) - 异常错误 中的方法com.aispeech.AIError
-
- setExternalAudioRecordProvider(DUILiteConfig.ExternalAudioRecordProvider) - 类 中的静态方法com.aispeech.DUILiteConfig
-
- setExtraParam(Map<String, Object>) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
设置额外的参数
- setExtraParameter(String, String) - 类 中的方法com.aispeech.DUILiteConfig
-
参数设置,主要用于设置devicename和deviceID,其中,devicename是设备计量的标识,可以根据需要自行设置
如果不设置,服务器会生成一个devicename。
- setExtraParameter(String, int) - 类 中的方法com.aispeech.DUILiteConfig
-
参数设置
需在init前调用生效
- setFespxEngine(IFespxEngine) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
设置关联 IFespxEngine 实例,只在使用内部录音机且多麦模式下才需要设置
- setFespxEngine(IFespxEngine) - 类 中的方法com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
- setFespxEngine(IFespxEngine) - 类 中的方法com.aispeech.export.intent.AILocalASRIntent
-
设置关联的信号处理引擎AILocalSignalAndWakeupEngine实例,只在使用内部录音机且多麦模式下才需要设置
- setFespxEngine(IFespxEngine) - 类 中的方法com.aispeech.export.intent.AILocalAsrppIntent
-
设置关联的信号处理引擎AILocalSignalAndWakeupEngine实例,只在使用内部录音机且多麦模式下才需要设置
- setFileLen(int) - 类 中的方法com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
音频文件长度。
- setFileLength(long) - 类 中的方法com.aispeech.export.lasr.LasrSqlEntity
-
- setFillerPenaltyScore(float) - 类 中的方法com.aispeech.export.intent.AILocalASRIntent
-
- setForwardAddresses(String) - 类 中的方法com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
当参数不为空时,启动转发模式。
- setFrontBinResource(String) - 类 中的方法com.aispeech.export.config.AILocalTTSConfig
-
设置 FrontBinResource,包含文本归一化,分词的,韵律等
1.
- setFrontBinResource(String, String) - 类 中的方法com.aispeech.export.config.AILocalTTSConfig
-
设置assets目录下的合成前端资源的名字和对应的md5文件,包含文本归一化,分词的,韵律等
- setGroupId(String) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
- setGroupId(String) - 类 中的方法com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
- setGroupId(String) - 类 中的方法com.aispeech.export.intent.AICloudVprintIntent
-
users和groupId,二选一,或者2个都填(按最小集),仅用于离线声纹验证
- setHost(String) - 类 中的方法com.aispeech.export.config.AICloudVprintConfig
-
- setHotwords(List<String>) - 类 中的方法com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
自定义的热词列表。
- setHotWords(String[]) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
设置产品级热词,比如"你好小驰"设置之后,识别的同音词都会被识别为 你好小驰 ["你好小驰","思必驰"]
- setId(int) - 类 中的方法com.aispeech.export.lasr.LasrSqlEntity
-
- setId(String) - 类 中的方法com.aispeech.lite.vprint.VprintSqlEntity
-
声纹的id,就是用户名+唤醒词,例如:"小明你好小驰"
- setIgnoreLogin(boolean) - 类 中的方法com.aispeech.DUILiteConfig
-
设置是否优化授权速度
- setInputContinuousAudio(boolean) - 类 中的方法com.aispeech.export.intent.AILocalSignalAndWakeupIntent
-
设置是否输入实时的长音频,默认接受长音频为true(如果是一二级唤醒,即每个唤醒词独立且非实时,则需要设置为false,如果不设置会影响性能)
当设置为false时,每次送一段音频段都会给予是否唤醒的反馈,如果没有被唤醒,则抛出wakeupWord:null, confidence:0的信息
- setInputContinuousAudio(boolean, boolean) - 类 中的方法com.aispeech.export.intent.AILocalSignalAndWakeupIntent
-
设置是否输入实时的长音频,默认接受长音频为true(如果是一二级唤醒,即每个唤醒词独立且非实时,则需要设置为false,如果不设置会影响性能)
当设置为false时,每次送一段音频段都会给予是否唤醒的反馈,如果没有被唤醒,则抛出wakeupWord:null, confidence:0的信息
当 inputContinuousAudio 设置为 false 时,可以设置 addExtraAudioWhenFeedNotContinuousAudio 为 true,
会在段音频尾部再加上一些音频,使本应能够唤醒的音频更容易唤醒
addExtraAudioWhenFeedNotContinuousAudio 设置只有双麦有效
- setInputContinuousAudio(boolean) - 类 中的方法com.aispeech.export.intent.AIWakeupIntent
-
设置是否输入实时的长音频,默认接受长音频为true(如果是一二级唤醒,即每个唤醒词独立且非实时,则需要设置为false,如果不设置会影响性能)
当设置为false时,每次送一段音频段都会给予是否唤醒的反馈,如果没有被唤醒,则抛出wakeupWord:null, confidence:0的信息
- setInputContinuousAudio(boolean, boolean) - 类 中的方法com.aispeech.export.intent.AIWakeupIntent
-
设置是否输入实时的长音频,默认接受长音频为true(如果是一二级唤醒,即每个唤醒词独立且非实时,则需要设置为false,如果不设置会影响性能)
当设置为false时,每次送一段音频段都会给予是否唤醒的反馈,如果没有被唤醒,则抛出wakeupWord:null, confidence:0的信息
当 inputContinuousAudio 设置为 false 时,可以设置 addExtraAudioWhenFeedNotContinuousAudio 为 true,
会在段音频尾部再加上一些音频,使本应能够唤醒的音频更容易唤醒
- setInputJson(JSONObject) - 异常错误 中的方法com.aispeech.AIError
-
- setIntervalTime(int) - 类 中的方法com.aispeech.DUILiteConfig
-
设置录音机录音间隔,单位ms
- setIntervalTimeThresh(int) - 类 中的方法com.aispeech.export.intent.AILocalASRIntent
-
- setIp(String) - 类 中的方法com.aispeech.export.config.NearWakeupConfig
-
设备ip地址(必须是真实联网IP地址,127.0.0.1不参与组网)
- setJso(JSONObject) - 类 中的方法com.aispeech.common.DDSJSONResultParser.DDSResultParseBean
-
- setLang(String) - 类 中的方法com.aispeech.export.config.AICloudASRSentenceConfig
-
识别的语言
- setLang(String) - 类 中的方法com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
语种支持。
- setLang(String) - 类 中的方法com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
- setLanguage(String) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
指定语种,默认中文("zh-cn")。
- setLanguages(Languages) - 类 中的方法com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置语种
- setLanguages(Languages) - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
- setLasrInfo(String, String, String) - 类 中的方法com.aispeech.export.engines2.AICloudASREngine
-
提供给实时长语音引擎使用
- setLast(boolean) - 类 中的方法com.aispeech.AIResult
-
- setLmId(String) - 类 中的方法com.aispeech.export.config.AICloudASRSentenceConfig
-
要使用的二路模型LMID。
- setLmid(String) - 类 中的方法com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
自训练模型文件LMID。
- setLmId(String) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
设置识别lmid
- setLmList(String[]) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
设置用户定制的语言模型列表
- setLocalSaveAudioPath(String) - 类 中的方法com.aispeech.DUILiteConfig
-
设置全局音频文件的保存目录的绝对路径
设置则全局保存音频文件,单项功能如果设置文件保存路径,则以单项功能路径为准;如果单项功能没有设置,则使用全局变量操作
- setLocalSaveAudioPath(String, boolean) - 类 中的方法com.aispeech.DUILiteConfig
-
设置全局音频文件的保存目录的绝对路径
设置则全局保存音频文件,单项功能如果设置文件保存路径,则以单项功能路径为准;如果单项功能没有设置,则使用全局变量操作
- setLocalSavedEnabled(boolean) - 类 中的静态方法com.aispeech.DUILiteSDK
-
- setLocalVadEnable(boolean) - 类 中的方法com.aispeech.export.config.AICloudASRConfig
-
设置是否启用本地vad,一般都会打开,
- setLocalVadEnable(Boolean) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
设置是否启用本地vad。
- setLowThreshold(float[]) - 类 中的方法com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
设置大音量场景下的预唤醒阈值,是否需要设置和唤醒资源有关系
- setLowThreshold(float) - 类 中的方法com.aispeech.export.config.WakeupWord
-
设置大音量场景下的唤醒阈值,是否需要设置和唤醒资源有关系
- setMac(String) - 类 中的方法com.aispeech.export.config.NearWakeupConfig
-
设备mac地址
- setMajor(int) - 类 中的方法com.aispeech.export.config.WakeupWord
-
设置唤醒词的major,即主副唤醒词,主唤醒词唤醒后会回滚唤醒音频
- setMaxMessageQueueSize(int) - 类 中的方法com.aispeech.DUILiteConfig
-
设置消息队列最大长度,
默认0, 0表示不限制长度, 建议大于100
动态库方法运行在一个单独的线程里,通过消息队列依次调用。
- setMaxMessageQueueSize(int) - 类 中的方法com.aispeech.export.config.AICloudASRConfig
-
- setMaxMessageQueueSize(int) - 类 中的方法com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
- setMaxSpeechTimeS(int) - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
设置音频最大录音时长,达到该值将取消语音引擎并抛出异常
允许的最大录音时长 单位秒
0 表示无最大录音时长限制
默认大小为60S
须在start之前设置才生效
- setMaxSpeechTimeS(int) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
设置音频最大录音时长,达到该值将取消语音引擎并抛出异常
允许的最大录音时长 单位秒
0 表示无最大录音时长限制
默认大小为60S
- setMaxSpeechTimeS(int) - 类 中的方法com.aispeech.export.intent.AILocalASRIntent
-
设置音频最大录音时长,达到该值将取消语音引擎并抛出异常
允许的最大录音时长 单位秒,取值范围 1-60秒,默认60秒
- setMaxSpeechTimeS(int) - 类 中的方法com.aispeech.export.intent.AILocalAsrppIntent
-
设置音频最大录音时长,达到该值将取消语音引擎并抛出异常
允许的最大录音时长 单位秒
0 表示无最大录音时长限制
默认大小为60S
- setMaxVolumeMode(boolean) - 类 中的方法com.aispeech.DUILiteConfig
-
设置开启线性四麦大音量检测模式
- setMdsResource(String) - 类 中的方法com.aispeech.export.config.AILocalMdsConfig
-
设置mds资源
1.
- setMdsResource(String) - 类 中的方法com.aispeech.export.config.NearWakeupConfig
-
mds 资源
1.
- setMicNumber(int) - 类 中的方法com.aispeech.AIEchoConfig
-
mic数,默认为1
- setMicType(int) - 类 中的方法com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
设置启用麦克风阵列类型。
- setMinSpeechLength(float) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
最小有效音频长度,单位秒,当前服务配置:
sti-sr 1s
lti-sr 500ms
sdk默认1s,不要使用小于服务器配置的值
- setMinSpeechLength(float) - 类 中的方法com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
- setMinSpeechLength(float) - 类 中的方法com.aispeech.export.intent.AICloudVprintIntent
-
最小有效音频长度,单位秒,默认注册声纹,离线验证0.4s,验证声纹sti-sr 1s, lti-sr 500ms
- setMode(AICloudVprintConfig.Mode) - 类 中的方法com.aispeech.export.config.AICloudVprintConfig
-
注册声纹的类型, default is 文本半相关(数字串)(dp-sr)
- setMode(ASRMode) - 类 中的方法com.aispeech.export.intent.AILocalASRIntent
-
设置引擎模式
- setModelBin(byte[][]) - 类 中的方法com.aispeech.lite.vprint.VprintQueryData
-
- setModelSize(int[]) - 类 中的方法com.aispeech.lite.vprint.VprintQueryData
-
- setMonitorUploadEnable(boolean) - 类 中的方法com.aispeech.DUILiteConfig
-
设置 SDK信息(异常监控信息/音频)是否上传,默认上传
- setMp3Quality(String) - 类 中的方法com.aispeech.export.intent.AICloudTTSIntent
-
- setName(String) - 类 中的方法com.aispeech.export.Vocab.Builder
-
设置词库名称
可以是自定义词库,比如“我的应用”。
- setNbest(int) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
设置 nbest
- setNearWakeupConfig(NearWakeupConfig) - 类 中的方法com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
就近唤醒的配置,包含 net 和 mds 的配置
- setNegSelected(boolean) - 类 中的方法com.aispeech.export.config.NearWakeupConfig
-
控制在决策失败时(即当前设备没有最优的snr值)是否抛出唤醒结果,默认值为false(remoteJudge开启时有效)
为false时,不抛出
为true时抛出,(fespx_cb输出)如果唤醒成功在结果中包含 {"nwtkType", "neglected" },唤醒失败时包含 { "nwtkType", "selected" }
- setNetBin(String) - 类 中的方法com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置本地net.bin 识别资源
- setNetbinResource(String) - 类 中的方法com.aispeech.export.config.AILocalASRConfig
-
设置网络资源
1.
- setNgramBin(String) - 类 中的方法com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置离线通用识别资源
- setNlu(JSONObject) - 类 中的方法com.aispeech.common.DDSJSONResultParser.DDSResultParseBean
-
- setNoSpeechTimeOut(int) - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
设置无语音超时时长,单位毫秒,默认值为5000ms ;如果达到该设置值时,自动停止录音并放弃请求识别内核
须在start之前设置才生效
- setNoSpeechTimeOut(int) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
设置无语音超时时长,单位毫秒,默认值为5000ms ;如果达到该设置值时,自动停止录音
设置为0表示不进行语音超时判断
- setNoSpeechTimeOut(int) - 类 中的方法com.aispeech.export.intent.AILocalASRIntent
-
设置无语音超时时长,单位毫秒,默认值为5000ms ;如果达到该设置值时,自动停止录音并放弃请求识别内核
- setNoSpeechTimeOut(int) - 类 中的方法com.aispeech.export.intent.AILocalAsrppIntent
-
设置无语音超时时长,单位毫秒,默认值为5000ms ;如果达到该设置值时,自动停止录音并放弃请求识别内核
- setOfflineProfileName(String) - 类 中的方法com.aispeech.DUILiteConfig
-
assets目录下的离线授权文件名
取值:授权文件名
是否必需:否
- setOneShotCacheTime(int) - 类 中的方法com.aispeech.export.config.AIWakeupConfig
-
设置oneshot功能下需要缓存的音频时长,根据具体的硬件性能和唤醒词长度调节。
- setOneshotOptimization(boolean) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
初始化前设置有效,oneshot 功能优化,当用户说 唤醒词+命令词 时,vad在唤醒词后即结束,导致asr识别结果是空,
可打开此功能,此功能会保留唤醒词后vad结束后的音频,即命令词的音频,然后重新asr识别
- setOneshotOptimization(boolean, String[]) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
初始化前设置有效,oneshot 功能优化,当用户说 唤醒词+命令词 时,vad在唤醒词后即结束,导致asr识别结果是空,
可打开此功能,此功能会保留唤醒词后vad结束后的音频,即命令词的音频,然后重新asr识别。
- setOrganization(String) - 类 中的方法com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
- setOrganization(String) - 类 中的方法com.aispeech.export.intent.AICloudVprintIntent
-
用户所在的公司,项目,非必需
- setOutChannelNum(int) - 类 中的方法com.aispeech.lite.vprint.VprintIntent.Builder
-
设置声纹音频输入通道数,表示使用几个通道作为声纹输入,通常为1或回声消除后音频通道数,
单麦不需要设置,只在多麦模式下才需要设置,视项目而定,思必驰会给出具体值
- setOutChannelNum(int) - 类 中的方法com.aispeech.lite.vprint.VprintIntent
-
- setPauseTime(int) - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
设置VAD右边界
- setPauseTime(int) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
设置VAD右边界
- setPauseTime(int) - 类 中的方法com.aispeech.export.intent.AILocalASRIntent
-
设置VAD右边界
- setPhraseFileId(String) - 类 中的方法com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
用户的热词文件ID。
- setPhraseHints(PhraseHints[]) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
设置请求级热词,一般和用户的训练集一起搭配使用。
- setPinyin(String) - 类 中的方法com.aispeech.export.intent.AILocalSemanticIntent
-
- setProgress(int) - 类 中的方法com.aispeech.export.lasr.LasrSqlEntity
-
- setQuality(int) - 类 中的方法com.aispeech.speex.SpeexKernel
-
设置压缩后ogg音频质量,取值范围:1~10,越大质量越好,cpu占用越高。
- setRealback(boolean) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
设置是否使用实时反馈功能
- setRealBack(boolean) - 类 中的方法com.aispeech.export.intent.AICloudTTSIntent
-
设置是否开启实时反馈,默认开启为true
- setRecChannel(int) - 类 中的方法com.aispeech.AIEchoConfig
-
默认为1,即左通道为rec录音音频,右通道为play参考音频(播放音频)
若设置为2, 通道会互换,即左通道为play参考音频(播放音频),右通道为rec录音音频
- setRecordId(String) - 异常错误 中的方法com.aispeech.AIError
-
- setRecordId(String) - 类 中的方法com.aispeech.AIResult
-
- setRecordId(String) - 类 中的方法com.aispeech.common.DDSJSONResultParser.DDSResultParseBean
-
- setRecPinyinWhenLast(String, String) - 类 中的方法com.aispeech.common.JSONResultParser
-
语音结束时rec为空,把上一次的结果放进来
- setRefText(String) - 类 中的方法com.aispeech.export.intent.AILocalSemanticIntent
-
- setRemoteJudge(boolean) - 类 中的方法com.aispeech.export.config.NearWakeupConfig
-
(慎改)是否开启自组网服务(就近唤醒开关),默认值为 true
为 true 时设备之间会自动组网,并且自动选择,唤醒时自动决策出最优唤醒设备
为false时唤醒结果会抛出,(fespx_cb输出)同时在结果中新增一个"snr"值
- setRequestId(String) - 类 中的方法com.aispeech.export.intent.AICloudVprintIntent
-
标记一次请求,可选, 如果不存在则服务端会生成一个
非必需
- setRes(String) - 类 中的方法com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
资源场景支持
- setRes(String) - 类 中的方法com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
res=lasr-cn-en使用中英文混合,不设置res字段使用中文在线
- setResource(String) - 类 中的方法com.aispeech.export.config.AILocalFaspConfig
-
- setResourceType(String) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
设置识别引擎的资源类型,默认为comm
- setResultObject(Object) - 类 中的方法com.aispeech.AIResult
-
- setResultType(int) - 类 中的方法com.aispeech.AIResult
-
- setRightMarginFrame(int) - 类 中的方法com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
- setRollBackTime(int) - 类 中的方法com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
oneshot回退的时间,单位为ms(只有主唤醒词才会回退音频,即major为1)
- setSampleBytes(int) - 类 中的方法com.aispeech.export.config.AICloudLASRConfig.AudioParam
-
可选,取样字节数,默认2
- setSampleBytes(int) - 类 中的方法com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
取样字节数,默认2(16bit)
- setSampleRate(int) - 类 中的方法com.aispeech.export.config.AICloudLASRConfig.AudioParam
-
可选,音频文件的采样率。
- setSampleRate(int) - 类 中的方法com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
音频采样率,默认16000
- setSampleRate(int) - 类 中的方法com.aispeech.speex.SpeexKernel
-
设置音频采样率:只支持8k和16K,默认为16k
- setSaveAudioFilePath(String) - 类 中的方法com.aispeech.export.intent.AILocalSignalAndWakeupIntent
-
设置音频保存路径,会保存原始多声道音频和经过 beamforming 后的单声道音频
如果设置了就会保存,没设置不会保存
- setSaveAudioFilePath(String) - 类 中的方法com.aispeech.export.intent.AILocalTTSIntent
-
设置合成的音频的全路径包含文件名
- setSaveAudioFilePath(String) - 类 中的方法com.aispeech.export.intent.AIWakeupIntent
-
- setSaveAudioPath(String) - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
设置保存的音频路径,最终的音频路径为path + local_semantic_+ recordId + ".pcm"
需要在start之前调用
- setSaveAudioPath(String, boolean) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
设置保存的音频路径,最终的音频路径为path + recordId + ".ogg"
- setSaveAudioPath(String) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
设置保存的音频路径,最终的音频路径为path + recordId + ".ogg"
- setSaveAudioPath(String) - 类 中的方法com.aispeech.export.intent.AICloudTTSIntent
-
设置合成音的保存路径
- setSaveAudioPath(String) - 类 中的方法com.aispeech.export.intent.AILocalASRIntent
-
设置保存的音频路径,最终的音频路径为path + local_asr_+ recordId + ".pcm"
- setSaveAudioPath(String) - 类 中的方法com.aispeech.lite.vprint.VprintIntent.Builder
-
设置保存feed进声纹模块音频的保存路径,供debug时候dump音频,不设置则不保存音频
比如"/sdcard/speech/"
- setSavedDirPath(String) - 类 中的方法com.aispeech.AIEchoConfig
-
AEC保存的音频文件目录,
aec之前的原始音频文件格式:echoSavedPath/echo_in_时间戳.pcm,
aec之后的一路音频文件格式:echoSavedPath/echo_out_时间戳.pcm
- setSelectRuleThreshold(double) - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
设置 grammar 与 ngram 最终输出结果的决策阈值
- setSelfCustomWakeupScore(int) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
设置自定义唤醒词得分, 默认为0
- setSemanticType(SemanticType) - 类 中的方法com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置语义引擎类型
- setSemDUILuaResFolder(String) - 类 中的方法com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置语义资源文件夹
- setSemDUIResCustomFolder(String) - 类 中的方法com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置离线DUI custom资源目录文件夹
- setSemDUIResFolder(String) - 类 中的方法com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置离线导DUI语义资源文件夹
- setSemLuaFolder(String) - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
设置语义lua资源所在文件夹, 适用于语义lua资源所在文件夹放在assets目录下
须在init之前设置才生效
- setSemLuaFolderPath(String) - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
设置语义lua资源所在文件夹自定义路径, 适用于语义lua资源所在文件夹放在自定义路径
须在init之前设置才生效
- setSemNaviLuaResFolder(String) - 类 中的方法com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置语义lua资源文件夹
- setSemNaviResFolder(String) - 类 中的方法com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置离线导航语义资源文件夹
- setSemResFolder(String) - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
设置语义资源文件夹,名 适用于语义资源文件夹放在assets目录下
须在init之前设置才生效
- setSemResFolderPath(String) - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
设置语义资源文件夹自定义路径, 适用于语义资源文件夹放在自定义路径
须在init之前设置才生效
- setSensitiveFileId(String) - 类 中的方法com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
用户的敏感词文件ID。
- setSensitivityLevel(int) - 类 中的方法com.aispeech.lite.vprint.VprintIntent.Builder
-
敏感度设置,取值范围是 0-totalSensitivityLevel 。
- setServer(String) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
设置服务器地址,默认不用设置
- setServer(String) - 类 中的方法com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
服务器地址
- setServer(String) - 类 中的方法com.aispeech.export.intent.AICloudTTSIntent
-
设置云端tts合成请求地址
- setServerName(String) - 类 中的方法com.aispeech.export.config.NearWakeupConfig
-
服务点名称,相同的服务名才能相互发现和连接。
- setServerName(String) - 类 中的方法com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
- setSessionId(String) - 类 中的方法com.aispeech.common.DDSJSONResultParser.DDSResultParseBean
-
- setSkillId(String) - 类 中的方法com.aispeech.common.DDSJSONResultParser.DDSResultParseBean
-
- setSkillID(String) - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
设置SKILLID
- setSkillID(String) - 类 中的方法com.aispeech.export.intent.AILocalSemanticIntent
-
- setSkip_saving(boolean) - 类 中的方法com.aispeech.export.intent.AICloudVprintIntent
-
为true不保存音频,默认false,非必需设置
- setSliceIndex(int) - 类 中的方法com.aispeech.export.lasr.LasrSqlEntity
-
- setSliceNum(int) - 类 中的方法com.aispeech.export.lasr.LasrSqlEntity
-
- setSnrThresh(float) - 类 中的方法com.aispeech.lite.vprint.VprintIntent.Builder
-
- setSpeaker(String) - 类 中的方法com.aispeech.export.intent.AICloudTTSIntent
-
设置合成音类型
- setSpeakerNumber(int) - 类 中的方法com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
否
发音人个数,可选值:-1-8。
- setSpeakerRate(int) - 类 中的方法com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
说话人聚类使用的采样率。
- setSpeechLen(int) - 类 中的方法com.aispeech.export.intent.AILocalMdsIntent
-
有效语音的长度,单位为毫秒(ms),可选
- setSpeed(String) - 类 中的方法com.aispeech.export.intent.AICloudTTSIntent
-
设置合成音语速
- setSpeed(float) - 类 中的方法com.aispeech.export.intent.AILocalTTSIntent
-
设置语音合成的速度
- setSpeexSavedPath(String) - 类 中的方法com.aispeech.speex.SpeexKernel
-
设置SPEEX保存的音频文件目录
speex压缩之前的原始pcm音频文件格式:speexSavedPath/speex_in_时间戳.pcm
speex压缩之后的ogg音频文件格式:speexSavedPath/speex_out_时间戳.ogg
- setSspeBinResource(String) - 类 中的方法com.aispeech.export.config.AILocalSevcConfig
-
- setSspeResource(String) - 类 中的方法com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
sspe 资源, 包含 AEC BSS 等,不同项目含义有所差别
1.
- setStateFrame(int) - 类 中的方法com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
- setStreamType(int) - 类 中的方法com.aispeech.export.intent.AICloudTTSIntent
-
设置音频流通道
- setStreamType(int) - 类 中的方法com.aispeech.export.intent.AILocalTTSIntent
-
设置播放器的stream type,默认为AudioManager.STREAM_MUSIC
- setTask(String) - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
设置前一轮的对话task信息,start之前设置生效
- setTask(String) - 类 中的方法com.aispeech.export.intent.AILocalSemanticIntent
-
- setTaskId(String) - 类 中的方法com.aispeech.export.lasr.LasrSqlEntity
-
- setTaskType(int) - 类 中的方法com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
任务类型,1:机器转写任务(1小时音频,5分钟之内),默认值。
- setText(String) - 类 中的方法com.aispeech.common.DDSJSONResultParser.DDSResultParseBean
-
- setTextType(String) - 类 中的方法com.aispeech.export.intent.AICloudTTSIntent
-
设置合成的文本类型
- setThreadAffinity(int) - 类 中的方法com.aispeech.DUILiteConfig
-
设置算法绑定线程开关,降低CPU占用,默认值:0
取值:具体的核id
- setThresh(float) - 类 中的方法com.aispeech.lite.vprint.VprintIntent.Builder
-
默认不用设置
- setThreshold(float[]) - 类 中的方法com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
设置唤醒词对应阈值,是否需要设置和唤醒资源有关系
- setThreshold(float) - 类 中的方法com.aispeech.export.config.WakeupWord
-
设置唤醒词对应阈值,是否需要设置和唤醒资源有关系
- setThreshold(double) - 类 中的方法com.aispeech.export.intent.AILocalASRIntent
-
设置置信度阈值
- setThreshToUploadServer(float) - 类 中的方法com.aispeech.export.intent.AILocalASRIntent
-
上传大数据的阈值,识别后的结果包含置信度,启动上传大数据功能后,如果达不到阈值就会上传大数据
默认为1,即启动上传大数据功能后,所有音频都可以上传大数据
- setTimestamp(Long) - 异常错误 中的方法com.aispeech.AIError
-
- setTimestamp(long) - 类 中的方法com.aispeech.AIResult
-
设置时间戳
- setTimestamp(String) - 类 中的方法com.aispeech.export.lasr.LasrSqlEntity
-
- setTimestamp(long) - 类 中的方法com.aispeech.lite.vprint.VprintSqlEntity
-
时间戳,精确到毫秒
- setTopic(String) - 类 中的方法com.aispeech.AIResult
-
- setTopN(int) - 类 中的方法com.aispeech.export.intent.AICloudVprintIntent
-
1:N按照score排序,输出前n个得分,若不配置该选项,会在result字段中返回所有得分,开启该选项后会在topN字段中返回得分排名靠前的最多N个得分.仅用于离线验证
- setTrainNum(int) - 类 中的方法com.aispeech.lite.vprint.VprintIntent.Builder
-
- setType(int) - 类 中的方法com.aispeech.export.lasr.LasrSqlEntity
-
- setUpdateTrailProfileToOnlineProfile(boolean) - 类 中的方法com.aispeech.DUILiteConfig
-
当试用授权文件认证检查时,是否尝试更新为在线授权文件。
- setUploadAudioLevel(int) - 类 中的方法com.aispeech.DUILiteConfig
-
- setUploadAudioLevel(int, int) - 类 中的方法com.aispeech.DUILiteConfig
-
- setUploadAudioPath(String) - 类 中的方法com.aispeech.DUILiteConfig
-
设置大数据上传唤醒音频的本地存储路径,如果不设置,默认存储在sd卡的cache目录
- setUploadUrl(String) - 类 中的方法com.aispeech.DUILiteConfig
-
设置大数据上传url地址
取值:字符串
是否必需:否
默认值:https://log.aispeech.com
- setUri(String) - 类 中的方法com.aispeech.export.lasr.LasrSqlEntity
-
- setUseCache(boolean) - 类 中的方法com.aispeech.export.config.AICloudTTSConfig
-
设置是否使用缓存,默认为true
缓存TTS缓存信息和音频文件,存放在应用外部缓存目录下的 ttsCache 文件夹下。
- setUseCache(boolean, String) - 类 中的方法com.aispeech.export.config.AICloudTTSConfig
-
设置是否使用缓存和缓存的文件夹
- setUseCache(boolean) - 类 中的方法com.aispeech.export.config.AILocalTTSConfig
-
设置是否使用缓存,默认为true
缓存TTS缓存信息和音频文件,存放在应用外部缓存目录下的 ttsCache 文件夹下。
- setUseCache(boolean, String) - 类 中的方法com.aispeech.export.config.AILocalTTSConfig
-
设置是否使用缓存和缓存的文件夹
- setUseConf(boolean) - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
设置是否开启置信度
须在start之前设置才生效
- setUseConf(boolean) - 类 中的方法com.aispeech.export.intent.AILocalASRIntent
-
设置是否开启置信度
- setUseCustomFeed(boolean) - 类 中的方法com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置是否自定义feed 音频
- setUseCustomFeed(boolean) - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
设置是否自行feed数据,不使用内部录音机(包括MockRecord和AIAudioRecord),
需要在init之前调用, 默认为false
- setUseCustomFeed(boolean, boolean) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
设置是否自行feed数据,不使用内部录音机(包括MockRecord和AIAudioRecord)
feed 的音频如果不是pcm音频,则不能使用 vad 功能
- setUseCustomFeed(boolean) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
设置是否自行feed数据,不使用内部录音机(包括MockRecord和AIAudioRecord)
- setUseCustomFeed(boolean) - 类 中的方法com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
设置是否自行feed数据, default is false
- setUseCustomFeed(boolean, boolean) - 类 中的方法com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
设置是否自行feed数据,不使用内部录音机(包括MockRecord和AIAudioRecord)
feed 的音频如果不是pcm音频,则不能使用 vad 功能
- setUseCustomFeed(boolean) - 类 中的方法com.aispeech.export.intent.AILocalASRIntent
-
设置是否自行feed数据,不使用内部录音机(包括MockRecord和AIAudioRecord),默认为false
- setUseCustomFeed(boolean) - 类 中的方法com.aispeech.export.intent.AILocalAsrppIntent
-
设置是否自行feed数据,不使用内部录音机(包括MockRecord和AIAudioRecord),默认为false
- setUseCustomFeed(boolean) - 类 中的方法com.aispeech.export.intent.AILocalMdsIntent
-
设置是否自行feed数据,不使用内部录音机(包括MockRecord和AIAudioRecord),默认为false
- setUseCustomFeed(boolean) - 类 中的方法com.aispeech.export.intent.AILocalSevcIntent
-
设置是否自行feed数据
默认false,使用内部录音机
true 用户调用 feedData 方法输入音频数据
- setUseCustomFeed(boolean) - 类 中的方法com.aispeech.export.intent.AILocalSignalAndWakeupIntent
-
设置是否自行feed数据
默认false,使用内部录音机
true 用户调用 feedData 方法输入音频数据
- setUseCustomFeed(boolean) - 类 中的方法com.aispeech.export.intent.AIWakeupIntent
-
设置是否自行feed数据
默认false,使用内部录音机
true 用户调用 feedData 方法输入音频数据
- setUseDatabaseStorage(boolean, String) - 类 中的方法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) - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
添加识别结果分割符,如设置 "," 识别结果显示 : "打,开,天,窗"
start 之前设置生效
- setUseDelimiter(String) - 类 中的方法com.aispeech.export.intent.AILocalASRIntent
-
添加识别结果分割符,如设置 "," 识别结果显示 : "打,开,天,窗"
start 之前设置生效
- setUseDmAsr(boolean) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
- setUseFiller(boolean) - 类 中的方法com.aispeech.export.intent.AILocalASRIntent
-
设置是否开启 Filler,用于减少误识别。
- setUseFiller(boolean, float) - 类 中的方法com.aispeech.export.intent.AILocalASRIntent
-
设置是否开启 Filler,用于减少误识别。
- setUseFormat(boolean) - 类 中的方法com.aispeech.export.config.AILocalSemanticConfig.Builder
-
- setUseFormat(boolean) - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
设置是否开启语义格式归一化,默认 false
- setUseFrameSplit(boolean) - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
设置是否开启识别中间结果
- setUseFullstop(boolean) - 类 中的方法com.aispeech.export.config.AICloudASRSentenceConfig
-
是否使用中文句号来进行分句。
- setUseFullstop(boolean) - 类 中的方法com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
是否以中文句号作为分句。
- setUseHoldConf(boolean) - 类 中的方法com.aispeech.export.intent.AILocalASRIntent
-
设置是否开启ngram置信度
- setUseInverseTxt(boolean) - 类 中的方法com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
逆文本转换开关。
- setUseItn(boolean) - 类 中的方法com.aispeech.export.config.AICloudASRSentenceConfig
-
开启后处理时,是否启用逆文本转换,即中文转阿拉伯数字,默认:false。
- setUseMaxSpeechResult(boolean) - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
- setUseOneShot(boolean, int) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
设置是否使用oneshot功能,以及oneshot功能的唤醒词和命令词之间的时间间隔阈值,
如果小于该阈值,就认为不是oneshot,如果大于该阈值,就认为是oneshot
- setUseOneShot(boolean) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
是否使用oneshot功能,default is false
true 使用one shot功能,唤醒后立马起识别
false 不使用oneshot,合成后启动识别,或只是启动识别
- setUseOneShot(boolean) - 类 中的方法com.aispeech.export.intent.AILocalASRIntent
-
是否使用oneshot功能,default is false
true 使用one shot功能,唤醒后立马起识别
false 不使用oneshot,合成后启动识别,或只是启动识别
- setUseOneShot(boolean, int) - 类 中的方法com.aispeech.export.intent.AILocalASRIntent
-
设置是否使用oneshot功能,以及oneshot功能的唤醒词和命令词之间的时间间隔阈值,
如果小于该阈值,就认为不是oneshot,如果大于该阈值,就认为是oneshot
- setUseOneShot(boolean) - 类 中的方法com.aispeech.export.intent.AIWakeupIntent
-
设置是否使用 oneshot 功能,default is false
oneshot 功能即 唤醒词+命令词,如用户说:你好小弛,打开设置。
- setUsePinyin(boolean) - 类 中的方法com.aispeech.export.config.AICloudASRSentenceConfig
-
开启后处理时,是否返回每个句子和词的拼音,默认:false。
- setUsePinyin(boolean) - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
设置是否开启拼音输出
须在start之前设置才生效
- setUsePinyin(boolean) - 类 中的方法com.aispeech.export.intent.AILocalASRIntent
-
设置是否开启拼音输出
- setUsePost(boolean) - 类 中的方法com.aispeech.export.config.AICloudASRSentenceConfig
-
是否启用所有后处理功能。
- setUsePuctuation(boolean) - 类 中的方法com.aispeech.export.config.AICloudASRSentenceConfig
-
开启后处理时,是否启用标点符号,默认:true。
- setUserDictResource(String) - 类 中的方法com.aispeech.export.config.AILocalTTSConfig
-
用户自定义词典,用于修复离线合成问题,如多音字发音、停顿和数字字母符号读法错误等
非必需,正常情況用不着,这个只有有发音问题需要紧急修复可以改这个资源。
- setUseRealBack(boolean) - 类 中的方法com.aispeech.export.intent.AILocalASRIntent
-
设置是否开启实时反馈
- setUseRefText(boolean) - 类 中的方法com.aispeech.export.config.AILocalSemanticConfig.Builder
-
是否启用离线语义纯语义模式,该模式下feed 文本,输出语义
- setUseRefText(boolean) - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
设置是否关闭识别并只传入语义文本功能,
- setUserId(String) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
设置用户标示
- setUserId(String) - 类 中的方法com.aispeech.export.intent.AICloudVprintIntent
-
声纹ID,用户ID在系统中应该是唯一的
注册时非必需,不设置服务端会生成一个
注销时必须设置
仅用于注册和注销
- setUserId(String) - 类 中的方法com.aispeech.lite.vprint.VprintIntent.Builder
-
- setUsers(List<String>) - 类 中的方法com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
- setUsers(List<String>) - 类 中的方法com.aispeech.export.intent.AICloudVprintIntent
-
要对比的用户id列表。
- setUseSegment(boolean) - 类 中的方法com.aispeech.export.config.AICloudASRSentenceConfig
-
是否返回详细的分词结果。
- setUseSegment(boolean) - 类 中的方法com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
是否返回每个分词的信息。
- setUseSegment(boolean) - 类 中的方法com.aispeech.export.Vocab.Builder
-
设置是否分词
- setUseSelectRule(boolean) - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
设置是否使用SDK内部的 grammar 与 ngram 决策规则,默认 false
- setUseSensitiveWdsNorm(boolean) - 类 中的方法com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
是否使用内置敏感词
- setUseSSML(boolean) - 类 中的方法com.aispeech.export.intent.AILocalTTSIntent
-
设置是否使用ssml 默认不使用为false
- setUseTProcess(boolean) - 类 中的方法com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
逆文本,将识别的中文数字改成阿拉伯数字
- setUseTxtSmooth(boolean) - 类 中的方法com.aispeech.export.config.AICloudASRSentenceConfig
-
开启后处理时,是否启用口语顺滑,默认:false。
- setUseTxtSmooth(boolean) - 类 中的方法com.aispeech.export.config.AICloudLASRConfig.TaskParam
-
口语顺滑开关。
- setUseTxtSmooth(boolean) - 类 中的方法com.aispeech.export.intent.AICloudLASRRealtimeIntent
-
是否启用口语顺滑
- setUseVad(boolean) - 类 中的方法com.aispeech.export.config.AICloudASRSentenceConfig
-
是否启用VAD功能。
- setUseVad(boolean) - 类 中的方法com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置是否启用离线vad
- setUseVprint(boolean) - 类 中的方法com.aispeech.export.config.AICloudASRConfig
-
识别时是否需要声纹信息,默认false。
- setUseXbnfRec(boolean) - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
设置是否启用基于语法的语义识别
须在start之前设置才生效
- setUseXbnfRec(boolean) - 类 中的方法com.aispeech.export.intent.AILocalASRIntent
-
设置是否启用基于语法的语义识别
- setUuid(String) - 类 中的方法com.aispeech.export.lasr.LasrSqlEntity
-
- setVad(boolean) - 类 中的方法com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
设置前端信号处理内核是否使用vad功能
- setVadEnable(boolean) - 类 中的方法com.aispeech.export.config.AILocalASRConfig
-
设置是否启用vad,默认为true
- setVadEnable(boolean) - 类 中的方法com.aispeech.export.config.AILocalAsrppConfig
-
设置是否启用本地vad
- setVadEnable(boolean) - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
设置是否启用vad
须在init之前设置才生效
- setVadEnable(Boolean) - 类 中的方法com.aispeech.export.intent.AILocalASRIntent
-
设置是否启用本地vad。
- setVadEnable(boolean) - 类 中的方法com.aispeech.export.intent.AIWakeupIntent
-
设置是否启动vad功能,需要资源配合。
- setVadPause(int) - 类 中的方法com.aispeech.export.config.AICloudASRSentenceConfig
-
切割间隔时间 默认值:500,单位:毫秒。
- setVadPauseTime(int) - 类 中的方法com.aispeech.export.config.AILocalAsrppConfig
-
设置VAD右边界
- setVadRes(String) - 类 中的方法com.aispeech.export.config.AILocalSemanticConfig.Builder
-
设置vad资源
- setVadRes(String) - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
设置VAD资源名,适用于VAD资源放置在assets目录
须在init之前设置才生效
- setVadResource(String) - 类 中的方法com.aispeech.export.config.AICloudASRConfig
-
设置本地vad资源
1.
- setVadResource(String) - 类 中的方法com.aispeech.export.config.AILocalASRConfig
-
设置本地vad资源
1.
- setVadResource(String) - 类 中的方法com.aispeech.export.config.AILocalAsrppConfig
-
设置本地vad资源
1.
- setVadResPath(String) - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
设置VAD资源名绝对路径,适用于VAD资源放置在自定义目录下
须在init之前设置才生效
- setVar(String) - 类 中的方法com.aispeech.common.DDSJSONResultParser.DDSResultParseBean
-
- setVolume(String) - 类 中的方法com.aispeech.export.intent.AICloudTTSIntent
-
设置音量大小
- setVolume(int) - 类 中的方法com.aispeech.export.intent.AILocalTTSIntent
-
设置语音合成的音量
- setVprintCutSaveDir(String) - 类 中的方法com.aispeech.lite.vprint.VprintIntent.Builder
-
设置保存唤醒内核给声纹的音频数据
- setVprintInfo(String, List<String>, String) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
设置要验证的声纹信息
- setVprintModelPath(String) - 类 中的方法com.aispeech.lite.vprint.VprintConfig.Builder
-
设置声纹模型保存路径,包含文件名,如/sdcard/speech/vprint.model
- setVprintResBin(String) - 类 中的方法com.aispeech.lite.vprint.VprintConfig.Builder
-
设置声纹资源
若在assets目录下,则指定文件名即可,如vprint.bin
若在外部路径目录下,则需要指定绝对路径,如/sdcard/speech/vprint.bin
- setVprintWord(String) - 类 中的方法com.aispeech.lite.vprint.VprintIntent.Builder
-
设置当前响应的唤醒词。
- setVprintWord(String...) - 类 中的方法com.aispeech.lite.vprint.VprintIntent.Builder
-
- setWaitingTimeout(int) - 类 中的方法com.aispeech.export.intent.AICloudASRIntent
-
设置等待识别结果超时时间 单位毫秒,小于或等于0则不设置超时,默认5000ms.
- setWakeupResource(String) - 类 中的方法com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
唤醒资源
1.
- setWakeupResource(String) - 类 中的方法com.aispeech.export.config.AIWakeupConfig
-
设置唤醒资源
1.
- setWakeupWord(String[], int[]) - 类 中的方法com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
设置唤醒词以及是否作为主唤醒词,主唤醒词为1,副唤醒词为0
- setWakeupword(List<WakeupWord>) - 类 中的方法com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
- setWakeupword(WakeupWord...) - 类 中的方法com.aispeech.export.config.AILocalSignalAndWakeupConfig
-
设置唤醒词信息config.setWakeupword(new WakeupWord("ni hao xiao le", 0.34f, 0.25f, 1, 0));
- setWakeupWord(String) - 类 中的方法com.aispeech.export.config.WakeupWord
-
设置唤醒词,例:"ni hao xiao chi"
- setWakeupword(List<WakeupWord>) - 类 中的方法com.aispeech.export.engines2.AILocalSignalAndWakeupEngine
-
- setWakeupword(WakeupWord...) - 类 中的方法com.aispeech.export.engines2.AILocalSignalAndWakeupEngine
-
动态设置唤醒词
mEngine.setWakeupword(new WakeupWord("xiao bu xiao bu", 0.49f, 0.21f, 0, 0),
new WakeupWord("xiao la hao ke", 0.38f, 0, 1, 0));
- setWakeupWord(String[], float[]) - 类 中的方法com.aispeech.export.intent.AIWakeupIntent
-
设置唤醒词列表
- setWavFilepath(String) - 类 中的方法com.aispeech.export.intent.AICloudVprintIntent
-
用于注册和验证声纹的音频文件路径,必需设置
- setWeight(double) - 类 中的方法com.aispeech.export.config.NearWakeupConfig
-
(慎改)选举权重,默认值1.0。
- setWkpWnd(int) - 类 中的方法com.aispeech.export.config.NearWakeupConfig
-
单次决策窗口期,单位毫秒,范围50-800,默认350ms。
- setWords(String[]) - 类 中的方法com.aispeech.export.intent.AILocalASRIntent
-
设置词表
- setWords(String) - 类 中的方法com.aispeech.export.intent.AILocalASRIntent
-
直接按照内核既定格式设置词表如: \"打开副屏,打开今日头条\"
- setWsPort(int) - 类 中的方法com.aispeech.export.config.NearWakeupConfig
-
(慎改)服务绑定的端口号
- SevcKernel - com.aispeech.lite.sevc中的类
-
输入多路数据,输出一路数据。
- SevcKernel(SevcListener) - 类 的构造器com.aispeech.lite.sevc.SevcKernel
-
- SevcListener - com.aispeech.lite.sevc中的接口
-
- SevcProcessor - com.aispeech.lite.sevc中的类
-
- SevcProcessor() - 类 的构造器com.aispeech.lite.sevc.SevcProcessor
-
- showErrorMessage(ProfileState) - 类 中的方法com.aispeech.base.BaseEngine
-
- size() - 类 中的方法com.aispeech.common.NotifyLimitQueue
-
队列容量
- speak(AICloudTTSIntent, String, String) - 类 中的方法com.aispeech.export.engines2.AICloudTTSEngine
-
- speak(AILocalTTSIntent, String, String) - 类 中的方法com.aispeech.export.engines2.AILocalTTSEngine
-
合成并播放
- SpeexKernel - com.aispeech.speex中的类
-
pcm 转 ogg
- SpeexKernel(SpeexKernelListener) - 类 的构造器com.aispeech.speex.SpeexKernel
-
- SpeexKernelListener - com.aispeech.speex中的接口
-
- SspeKernel - com.aispeech.lite.sspe中的类
-
- SspeKernel(FespxKernelListener) - 类 的构造器com.aispeech.lite.sspe.SspeKernel
-
- start(AICloudASRIntent) - 类 中的方法com.aispeech.export.engines2.AICloudASREngine
-
启动录音,开始语音识别
- start(AICloudLASRRealtimeIntent) - 类 中的方法com.aispeech.export.engines2.AICloudLASRRealtimeEngine
-
- start(AILocalASRIntent) - 类 中的方法com.aispeech.export.engines2.AILocalASREngine
-
启动录音,开始语音识别
- start(AILocalAsrppIntent) - 类 中的方法com.aispeech.export.engines2.AILocalAsrppEngine
-
启动录音,开始语音识别
- start(boolean) - 类 中的方法com.aispeech.export.engines2.AILocalFaspEngine
-
- start(AILocalMdsIntent) - 类 中的方法com.aispeech.export.engines2.AILocalMdsEngine
-
启动引擎
- start() - 类 中的方法com.aispeech.export.engines2.AILocalNREngine
-
启动本地nr引擎
- start() - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
- start(AILocalSemanticIntent) - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
识别+语义模式启动引擎
- start(AILocalSevcIntent) - 类 中的方法com.aispeech.export.engines2.AILocalSevcEngine
-
启动引擎
- start(AILocalSignalAndWakeupIntent) - 类 中的方法com.aispeech.export.engines2.AILocalSignalAndWakeupEngine
-
启动信号处理模块和唤醒引擎
- start() - 类 中的方法com.aispeech.export.engines2.AILocalVadEngine
-
启动本地vad引擎
- start(VprintIntent) - 类 中的方法com.aispeech.export.engines2.AILocalVprintEngine
-
启动声纹引擎
- start(AIWakeupIntent) - 类 中的方法com.aispeech.export.engines2.AIWakeupEngine
-
开启唤醒,如果使用内部录音机的话一并开启
- start(SpeechParams) - 类 中的方法com.aispeech.lite.fasp.FaspProcessor
-
- start(SpeechParams) - 类 中的方法com.aispeech.lite.mds.MdsProcessor
-
- start(SpeechParams) - 类 中的方法com.aispeech.lite.sevc.SevcProcessor
-
- startBuild(String, String) - 类 中的方法com.aispeech.export.engines2.AILocalGrammarEngine
-
构建语法,生成或更新本地识别需要的资源,如果资源文件不存在,则生成,如果存在,则覆盖
- startKernel() - 类 中的方法com.aispeech.echo.EchoKernel
-
启动echo内核
- startKernel() - 类 中的方法com.aispeech.speex.SpeexKernel
-
启动speex内核
- startRecord(AICloudVprintConfig.Mode, String, AICloudVprintListener.AudioToolListener) - 类 中的方法com.aispeech.export.engines2.AICloudVprintEngine.AudioTool
-
- startWithRecording() - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
启动录音,开始语音识别
- startWithText(String) - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
- startWithText(String, String) - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
启动引擎,输入文本和拼音,拼音可从识别结果中获取
- stop() - 类 中的方法com.aispeech.export.engines2.AICloudASREngine
-
停止录音,等待识别结果
- stop() - 类 中的方法com.aispeech.export.engines2.AICloudLASRRealtimeEngine
-
- stop() - 类 中的方法com.aispeech.export.engines2.AICloudTTSEngine
-
- stop() - 类 中的方法com.aispeech.export.engines2.AILocalASREngine
-
停止录音,等待识别结果
- stop() - 类 中的方法com.aispeech.export.engines2.AILocalAsrppEngine
-
停止录音,等待识别结果
- stop() - 类 中的方法com.aispeech.export.engines2.AILocalFaspEngine
-
停止引擎
- stop() - 类 中的方法com.aispeech.export.engines2.AILocalMdsEngine
-
停止引擎
该方法会停止接收录音数据和停止引擎,程序退出时可以调用
- stop() - 类 中的方法com.aispeech.export.engines2.AILocalNREngine
-
停止引擎
- stop() - 类 中的方法com.aispeech.export.engines2.AILocalSevcEngine
-
停止引擎
该方法会停止接收录音数据和停止引擎,程序退出时可以调用
- stop() - 类 中的方法com.aispeech.export.engines2.AILocalSignalAndWakeupEngine
-
停止信号处理模块和唤醒引擎
该方法会停止接收录音数据和停止信号处理,唤醒,程序退出时可以调用
- stop() - 类 中的方法com.aispeech.export.engines2.AILocalTTSEngine
-
停止合成和播放
- stop() - 类 中的方法com.aispeech.export.engines2.AILocalVadEngine
-
停止本地vad引擎
- stop() - 类 中的方法com.aispeech.export.engines2.AILocalVprintEngine
-
停止声纹引擎,该接口只在通用声纹模式下需要调用,唤醒+声纹不需要调用
- stop() - 类 中的方法com.aispeech.export.engines2.AIWakeupEngine
-
关闭唤醒,如果使用内部录音机的话一并关闭
- stopKernel() - 类 中的方法com.aispeech.echo.EchoKernel
-
- stopKernel() - 类 中的方法com.aispeech.speex.SpeexKernel
-
停止speex内核
- stopRecord() - 类 中的方法com.aispeech.export.engines2.AICloudVprintEngine.AudioTool
-
- stopRecording() - 类 中的方法com.aispeech.export.engines2.AILocalSemanticEngine
-
停止录音,等待识别结果
- stringToJSON(String) - 异常错误 中的方法com.aispeech.AIError
-
- success() - 接口 中的方法com.aispeech.DUILiteSDK.InitListener
-
- success() - 接口 中的方法com.aispeech.export.listeners.AIUpdateListener
-
上传成功回调
- switchToSpeaker(String) - 类 中的方法com.aispeech.export.intent.AILocalTTSIntent
-
- switchVoip(boolean) - 类 中的方法com.aispeech.lite.aecagc.AecAgcKernel
-
开关voip功能,默认为开。
- synthesize(AICloudTTSIntent, String, String) - 类 中的方法com.aispeech.export.engines2.AICloudTTSEngine
-
只合成,不播放,同时抛出实时合成音频流
- synthesize(AILocalTTSIntent, String, String) - 类 中的方法com.aispeech.export.engines2.AILocalTTSEngine
-
只合成,不播放,同时抛出实时合成音频流