JSONUtterance クラス
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. JSONUtterance
- com.
public class JSONUtterance
エクスポートされたモデル - モデルのトレーニングに使用された発話。
メソッドの概要
| 修飾子と型 | メソッドと説明 |
|---|---|
| List<JSONEntity> |
entities()
エンティティの値を取得します。 |
| String |
intent()
意図の値を取得します。 |
| String |
text()
テキスト値を取得します。 |
| JSONUtterance |
withEntities(List<JSONEntity> entities)
エンティティの値を設定します。 |
| JSONUtterance |
withIntent(String intent)
意図の値を設定します。 |
| JSONUtterance |
withText(String text)
テキスト値を設定します。 |
メソッドの詳細
entities
public List
エンティティの値を取得します。
Returns:
intent
public String intent()
意図の値を取得します。
Returns:
text
public String text()
テキスト値を取得します。
Returns:
withEntities
public JSONUtterance withEntities(List
エンティティの値を設定します。
Parameters:
Returns:
withIntent
public JSONUtterance withIntent(String intent)
意図の値を設定します。
Parameters:
Returns:
withText
public JSONUtterance withText(String text)
テキスト値を設定します。
Parameters:
Returns: