PatternMatchingEntity.CreateListEntity メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
CreateListEntity(String, EntityMatchMode, IEnumerable<String>) |
指定した意図 ID EntityMatchMode、フレーズを使用して、パターン マッチング エンティティを作成します。 このエンティティ型は、指定されたフレーズに基づいて一致します。 |
CreateListEntity(String, EntityMatchMode, String[]) |
指定した意図 ID EntityMatchMode、フレーズを使用して、パターン マッチング エンティティを作成します。 このエンティティ型は、指定されたフレーズに基づいて一致します。 |
CreateListEntity(String, EntityMatchMode, IEnumerable<String>)
指定した意図 ID EntityMatchMode、フレーズを使用して、パターン マッチング エンティティを作成します。 このエンティティ型は、指定されたフレーズに基づいて一致します。
public static Microsoft.CognitiveServices.Speech.Intent.PatternMatchingEntity CreateListEntity (string entityId, Microsoft.CognitiveServices.Speech.Intent.EntityMatchMode mode, System.Collections.Generic.IEnumerable<string> phrases);
static member CreateListEntity : string * Microsoft.CognitiveServices.Speech.Intent.EntityMatchMode * seq<string> -> Microsoft.CognitiveServices.Speech.Intent.PatternMatchingEntity
Public Shared Function CreateListEntity (entityId As String, mode As EntityMatchMode, phrases As IEnumerable(Of String)) As PatternMatchingEntity
パラメーター
- entityId
- String
このエンティティの一意の ID を表す文字列。
- mode
- EntityMatchMode
List エンティティの EntityMatchMode。 Strict は、キャプチャされたエンティティがフレーズ リストに表示される必要があります。
- phrases
- IEnumerable<String>
リスト エンティティと一致するために使用されるフレーズのリスト。
戻り値
作成されるパターン マッチング エンティティ。
適用対象
CreateListEntity(String, EntityMatchMode, String[])
指定した意図 ID EntityMatchMode、フレーズを使用して、パターン マッチング エンティティを作成します。 このエンティティ型は、指定されたフレーズに基づいて一致します。
public static Microsoft.CognitiveServices.Speech.Intent.PatternMatchingEntity CreateListEntity (string entityId, Microsoft.CognitiveServices.Speech.Intent.EntityMatchMode mode, params string[] phrases);
static member CreateListEntity : string * Microsoft.CognitiveServices.Speech.Intent.EntityMatchMode * string[] -> Microsoft.CognitiveServices.Speech.Intent.PatternMatchingEntity
Public Shared Function CreateListEntity (entityId As String, mode As EntityMatchMode, ParamArray phrases As String()) As PatternMatchingEntity
パラメーター
- entityId
- String
このエンティティの一意の ID を表す文字列。
- mode
- EntityMatchMode
List エンティティの EntityMatchMode。 Strict は、キャプチャされたエンティティがフレーズ リストに表示される必要があります。
- phrases
- String[]
リスト エンティティと一致するために使用されるフレーズのリスト。
戻り値
作成されるパターン マッチング エンティティ。
適用対象
Azure SDK for .NET