![]() |
KeenASR Unity Plugin 2.1.3
Unity plugin for KeenASR offline speech recognition SDK (iOS & Android)
|
Specifies an alternative pronunciation for a word in a decoding graph. More...
Public Member Functions | |
| WordPronunciation (string word, string pronunciation, string tag=null) | |
| Creates an alternative pronunciation for a word. | |
| bool | IsValid () |
| Checks whether this pronunciation uses valid phones for the currently loaded ASR bundle. Requires the SDK to be initialized. | |
Properties | |
| string | word [get] |
| The word this pronunciation applies to. | |
| string | pronunciation [get] |
| Phonetic transcription as a space-separated sequence of phones (e.g. "P IH0 K"). | |
| string | tag [get] |
| Optional tag appended to the word with '#' when this pronunciation is recognized (e.g. tag "WRONG" produces "PEAK#WRONG" in the result). Null if not set. | |
Specifies an alternative pronunciation for a word in a decoding graph.
Use this to define custom phonetic transcriptions for words, such as common mispronunciations for language learning or reading instruction. If a tag is provided and the alternative pronunciation is recognized, the tag is appended to the word in the result (e.g. "PEAK#WRONG").
|
inline |
Creates an alternative pronunciation for a word.
| word | The word this pronunciation applies to. |
| pronunciation | Phonetic transcription as a space-separated sequence of phones. |
| tag | Optional tag appended to the word when this pronunciation is recognized. |
|
inline |
Checks whether this pronunciation uses valid phones for the currently loaded ASR bundle. Requires the SDK to be initialized.
|
get |
Phonetic transcription as a space-separated sequence of phones (e.g. "P IH0 K").
|
get |
Optional tag appended to the word with '#' when this pronunciation is recognized (e.g. tag "WRONG" produces "PEAK#WRONG" in the result). Null if not set.
|
get |
The word this pronunciation applies to.