Freigeben über


PatternMatchingEntity.EntityType Enum

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

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

Used to define the type of entity used for intent recognition.

Fields

Any

This will match any text that fills the slot.

List

This will match text that is contained within the list or any text if the mode is set to EntityMatchMode.Fuzzy.

PrebuiltInteger

This will match cardinal and ordinal integers.

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.EntityType valueOf(String name)

Parameters

name
java.lang.String

Returns

values()

public static PatternMatchingEntity.EntityType[] values()

Returns

Applies to