Share via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

SemanticValue Members

Include Protected Members
Include Inherited Members

Represents the semantic organization of a recognized phrase.

The SemanticValue type exposes the following members.

Constructors

  Name Description
Public method SemanticValue(Object) Initializes a new instance of the SemanticValue class and specifies a semantic value.
Public method SemanticValue(String, Object, Single) Initializes a new instance of the SemanticValue class and specifies a semantic value, a key name, and a confidence level.

Top

Properties

  Name Description
Public property Confidence Returns a relative measure of the certainty as to the correctness of the semantic parsing that returned the current instance of SemanticValue.
Public property Count Returns the number of child SemanticValue objects under the current SemanticValue instance.
Public property Item Returns child SemanticValue instances that belong to the current SemanticValue.
Public property Value Gets the information contained in the current SemanticValue.

Top

Methods

  Name Description
Public method Contains Indicates whether the current SemanticValue instance collection contains a specific key and specific instance of SemanticValue expressed as a key value pair.
Public method ContainsKey Indicates whether the current SemanticValue instance collection contains a child SemanticValue instance with a given key string.
Public method Equals Determines whether a specified object is an instance of SemanticValue and equal to the current instance of SemanticValue. (Overrides Object.Equals(Object).)
Protected method Finalize (inherited from Object)
Public method GetHashCode Provides a hash code for a SemanticValue object. (Overrides Object.GetHashCode().)
Public method GetType (inherited from Object)
Protected method MemberwiseClone (inherited from Object)
Public method ToString (inherited from Object)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICollection<KeyValuePair<String, SemanticValue>>.Add Adds the specified key and SemanticValue to the collection.
Explicit interface implemetationPrivate method IDictionary<String, SemanticValue>.Add Adds the specified key and SemanticValue to the dictionary.
Explicit interface implemetationPrivate method ICollection<KeyValuePair<String, SemanticValue>>.Clear Removes all key/value pairs from the collection.
Explicit interface implemetationPrivate method ICollection<KeyValuePair<String, SemanticValue>>.CopyTo Copies a key/value pair to a specific location in a targeted array.
Explicit interface implemetationPrivate method IEnumerable<KeyValuePair<String, SemanticValue>>.GetEnumerator Returns an enumerator that iterates through a collection.
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Returns an enumerator that iterates through a collection.
Explicit interface implemetationPrivate property ICollection<KeyValuePair<String, SemanticValue>>.IsReadOnly Gets a value that indicates whether the collection is read-only.
Explicit interface implemetationPrivate property IDictionary<String, SemanticValue>.Keys Gets a collection that contains the keys from a dictionary of key/value pairs.
Explicit interface implemetationPrivate method ICollection<KeyValuePair<String, SemanticValue>>.Remove Removes the specified key and SemanticValue from the collection.
Explicit interface implemetationPrivate method IDictionary<String, SemanticValue>.Remove Removes the specified key and SemanticValue from the dictionary.
Explicit interface implemetationPrivate method IDictionary<String, SemanticValue>.TryGetValue Gets the SemanticValue associated with the specified key.
Explicit interface implemetationPrivate property IDictionary<String, SemanticValue>.Values Gets a collection that contains the values from a dictionary of key/value pairs.

Top

See Also

Reference

SemanticValue Class

Microsoft.Speech.Recognition Namespace