Powered by DocFX

Search Results for

    Class SpeechRecognizer

    SpeechProcessor for speech recognition.

    Inheritance
    System.Object
    UnityEngine.Object
    UnityEngine.Component
    UnityEngine.Behaviour
    UnityEngine.MonoBehaviour
    SpeechProcessor
    SpeechRecognizer
    Inherited Members
    SpeechProcessor.State
    SpeechProcessor.LanguageModelProvider
    SpeechProcessor.SpeechSource
    SpeechProcessor.AutoStart
    SpeechProcessor.Started
    SpeechProcessor.Finished
    SpeechProcessor.InitializationFailed
    SpeechProcessor.RuntimeFailed
    SpeechProcessor.StartProcessing()
    SpeechProcessor.StopProcessing()
    Namespace: Recognissimo.Components
    Assembly: Recognissimo.dll
    Syntax
    [AddComponentMenu("Recognissimo/Speech Processors/Speech Recognizer")]
    public sealed class SpeechRecognizer : SpeechProcessor

    Properties

    Alternatives

    Whether the recognition result should contain a list of alternative results.

    Declaration
    public int Alternatives { get; set; }
    Property Value
    Type Description
    System.Int32

    EnableDetails

    Whether the recognition result should include details.

    Declaration
    public bool EnableDetails { get; set; }
    Property Value
    Type Description
    System.Boolean

    PartialResultReady

    New partial result ready.

    Declaration
    public PartialResultEvent PartialResultReady { get; }
    Property Value
    Type Description
    PartialResultEvent

    ResultReady

    New result ready.

    Declaration
    public ResultEvent ResultReady { get; }
    Property Value
    Type Description
    ResultEvent

    Vocabulary

    List of the words to recognize. Speech recognizer will select the result only from the presented words. Use special word "[unk]" (without quotes) to allow unknown words in the output.

    Declaration
    public List<string> Vocabulary { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<System.String>
    Remarks

    This feature may not work with some language models.

    Examples
    var vocabulary = new List<string> {"light", "on", "off", "[unk]"};