createEngine Method

Summary

Creates an engine given the runtime directory.

Syntax

TypeScript
JavaScript
SpeechRecognitionEngine.prototype.createEngine = function( 
	url  
) 
        static createEngine(url: string): SpeechRecognitionEngine; 

Parameters

url

A string value that references where the runtime is to be found.

Return Value

Returns a SpeechRecognitionEngine instance, if creation was successful; otherwise, an exception is shown.

Typically, the runtime is found at <virtual folder>/resources/ASR/lt_model_en.txt.

Requirements

Target Platforms

See Also

SpeechRecognitionEngine

SpeechRecognitionEngine Members

lt.SpeechRecognition Namespace

Help Version 23.0.2024.3.1
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.