Aracılığıyla paylaş


PatternMatchingEntity.EntityMatchMode Enum

  • java.lang.Object
    • java.lang.Enum
      • com.microsoft.cognitiveservices.speech.intent.PatternMatchingEntity.EntityMatchMode

public enum PatternMatchingEntity.EntityMatchMode
extends java.lang.Enum<EntityMatchMode>

Used to define the match mode of an entity used for intent recognition. Currently this only affects List entities as all other entities only have one mode.

Fields

Basic

This is the basic or default mode of matching based on the EntityType.

Fuzzy

This will match text within the slot the entity is in, but not require anything from that text.

Strict

This will match only exact matches within the entities phrases.

Methods inherited from java.lang.Enum

java.lang.Enum.<T>valueOf java.lang.Enum.clone java.lang.Enum.compareTo java.lang.Enum.equals java.lang.Enum.finalize java.lang.Enum.getDeclaringClass java.lang.Enum.hashCode java.lang.Enum.name java.lang.Enum.ordinal java.lang.Enum.toString

Methods inherited from java.lang.Object

java.lang.Object.getClass java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Methods

getValue()

public int getValue()

Returns the internal value property id

Returns

int
the speech property id

valueOf(String name)

public static PatternMatchingEntity.EntityMatchMode valueOf(String name)

Parameters

name
java.lang.String

Returns

values()

public static PatternMatchingEntity.EntityMatchMode[] values()

Returns

Applies to