public abstract class NluInterceptor extends AbstractCostInterceptor
IInterceptor.FlowType, IInterceptor.Layer, IInterceptor.Name| Constructor and Description |
|---|
NluInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String |
customIntercept(java.lang.String layer,
java.lang.String flowType,
org.json.JSONObject custom,
java.lang.String asrResult)
自定义拦截处理逻辑
|
org.json.JSONObject |
handleIntercept(java.lang.String layer,
java.lang.String flowType,
org.json.JSONObject custom)
自定义拦截处理逻辑
|
getInputObj, interceptclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic org.json.JSONObject handleIntercept(java.lang.String layer,
java.lang.String flowType,
org.json.JSONObject custom)
AbstractCostInterceptorhandleIntercept in class AbstractCostInterceptorlayer - sdk 层级,如:LayerflowType - 边界流向类型,取值:FlowTypecustom - 自定义参数public abstract java.lang.String customIntercept(java.lang.String layer,
java.lang.String flowType,
org.json.JSONObject custom,
java.lang.String asrResult)
layer - sdk 层级,如:LayerflowType - 边界流向类型,取值:FlowTypecustom - 自定义参数