EntityLabelObject クラス
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. EntityLabelObject
- com.
public class EntityLabelObject
例内の抽出されたエンティティのエンティティの種類と位置を定義します。
メソッドの概要
| 修飾子と型 | メソッドと説明 |
|---|---|
|
List<Entity |
children()
子の値を取得します。 |
| int |
endCharIndex()
endCharIndex 値を取得します。 |
| String |
entityName()
entityName 値を取得します。 |
| String |
role()
ロールの値を取得します。 |
| int |
startCharIndex()
startCharIndex 値を取得します。 |
|
Entity |
withChildren(List<EntityLabelObject> children)
子の値を設定します。 |
|
Entity |
withEndCharIndex(int endCharIndex)
endCharIndex 値を設定します。 |
|
Entity |
withEntityName(String entityName)
entityName 値を設定します。 |
|
Entity |
withRole(String role)
ロールの値を設定します。 |
|
Entity |
withStartCharIndex(int startCharIndex)
startCharIndex 値を設定します。 |
メソッドの詳細
children
public List
子の値を取得します。
Returns:
endCharIndex
public int endCharIndex()
endCharIndex 値を取得します。
Returns:
entityName
public String entityName()
entityName 値を取得します。
Returns:
role
public String role()
ロールの値を取得します。
Returns:
startCharIndex
public int startCharIndex()
startCharIndex 値を取得します。
Returns:
withChildren
public EntityLabelObject withChildren(List
子の値を設定します。
Parameters:
Returns:
withEndCharIndex
public EntityLabelObject withEndCharIndex(int endCharIndex)
endCharIndex 値を設定します。
Parameters:
Returns:
withEntityName
public EntityLabelObject withEntityName(String entityName)
entityName 値を設定します。
Parameters:
Returns:
withRole
public EntityLabelObject withRole(String role)
ロールの値を設定します。
Parameters:
Returns:
withStartCharIndex
public EntityLabelObject withStartCharIndex(int startCharIndex)
startCharIndex 値を設定します。
Parameters:
Returns: