Grammar Class

Definition

Represents a generic grammar used to assist in improving speech recogniton accuracy. Note: close() must be called in order to release underlying resources held by the object.

public class Grammar
Inheritance
java.lang.Object
AutoCloseable
Grammar

Methods

close()

Dispose of associated resources.

fromStorageId(String id)

Creates a Grammar from its storage Id.

Creating a grammar from a storage ID is only usable in specific scenarios and is not generally possible.

Applies to