次の方法で共有


EntityLabelObject クラス

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.language.luis.authoring.models.EntityLabelObject

public class EntityLabelObject

例内の抽出されたエンティティのエンティティの種類と位置を定義します。

メソッドの概要

修飾子と型 メソッドと説明
List<EntityLabelObject> children()

子の値を取得します。

int endCharIndex()

endCharIndex 値を取得します。

String entityName()

entityName 値を取得します。

String role()

ロールの値を取得します。

int startCharIndex()

startCharIndex 値を取得します。

EntityLabelObject withChildren(List<EntityLabelObject> children)

子の値を設定します。

EntityLabelObject withEndCharIndex(int endCharIndex)

endCharIndex 値を設定します。

EntityLabelObject withEntityName(String entityName)

entityName 値を設定します。

EntityLabelObject withRole(String role)

ロールの値を設定します。

EntityLabelObject withStartCharIndex(int startCharIndex)

startCharIndex 値を設定します。

メソッドの詳細

children

public List children()

子の値を取得します。

Returns:

子の値

endCharIndex

public int endCharIndex()

endCharIndex 値を取得します。

Returns:

endCharIndex 値

entityName

public String entityName()

entityName 値を取得します。

Returns:

entityName 値

role

public String role()

ロールの値を取得します。

Returns:

ロールの値

startCharIndex

public int startCharIndex()

startCharIndex 値を取得します。

Returns:

startCharIndex 値

withChildren

public EntityLabelObject withChildren(List children)

子の値を設定します。

Parameters:

children - 設定する子値

Returns:

EntityLabelObject オブジェクト自体。

withEndCharIndex

public EntityLabelObject withEndCharIndex(int endCharIndex)

endCharIndex 値を設定します。

Parameters:

endCharIndex - 設定する endCharIndex 値

Returns:

EntityLabelObject オブジェクト自体。

withEntityName

public EntityLabelObject withEntityName(String entityName)

entityName 値を設定します。

Parameters:

entityName - 設定する entityName 値

Returns:

EntityLabelObject オブジェクト自体。

withRole

public EntityLabelObject withRole(String role)

ロールの値を設定します。

Parameters:

role - 設定するロール値

Returns:

EntityLabelObject オブジェクト自体。

withStartCharIndex

public EntityLabelObject withStartCharIndex(int startCharIndex)

startCharIndex 値を設定します。

Parameters:

startCharIndex - 設定する startCharIndex 値

Returns:

EntityLabelObject オブジェクト自体。

適用対象