类 AntiSpoofIntent.Builder
- java.lang.Object
-
- com.aispeech.export.intent.AntiSpoofIntent.Builder
-
- 封闭类:
- AntiSpoofIntent
public static class AntiSpoofIntent.Builder extends java.lang.Object
-
-
构造器概要
构造器 构造器 说明 Builder()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 AntiSpoofIntent
create()
AntiSpoofIntent.Builder
setAntiSpoofSaveDir(java.lang.String antiSpoofSaveDir)
设置保存仿冒攻击的音频数据路径AntiSpoofIntent.Builder
setResEnd(long resEnd)
识别结果结束的数据点AntiSpoofIntent.Builder
setResStart(long resStart)
识别结果开始的数据点
-
-
-
方法详细资料
-
setResStart
public AntiSpoofIntent.Builder setResStart(long resStart)
识别结果开始的数据点- 参数:
resStart
- 识别结果开始的字段位置- 返回:
AntiSpoofIntent.Builder
-
setResEnd
public AntiSpoofIntent.Builder setResEnd(long resEnd)
识别结果结束的数据点- 参数:
resEnd
- 识别结果结束的字段位置- 返回:
AntiSpoofIntent.Builder
-
setAntiSpoofSaveDir
public AntiSpoofIntent.Builder setAntiSpoofSaveDir(java.lang.String antiSpoofSaveDir)
设置保存仿冒攻击的音频数据路径- 参数:
antiSpoofSaveDir
- feed 给仿冒攻击内核的数据保存的文件夹路径- 返回:
AntiSpoofIntent.Builder
-
create
public AntiSpoofIntent create() throws java.lang.IllegalArgumentException
- 抛出:
java.lang.IllegalArgumentException
-
-