• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# cd /system/usr/srec
2# ./run_ERT.sh
3Create an EmbeddedRecognizer
4Load a grammar
5Add word to grammar slot
6Save the grammar
7Grammar saved
8Recognizing against the first grammar (dynamic add-word)
9Meaning1=DEL Jen_Parker
10RecognizerListener1.onStopped()
11Load the second grammar (pre-populated slot)
12Grammar loaded
13Recognizing against the pre-populated grammar
14Meaning=DEL Jen_Parker
15Literal=phone delete Jen_Parker
16Score=80
17	key=raws value=22722
18	key=Phone.V value=DEL Jen_Parker
19	key=Names.V value=Jen_Parker
20	key=Phone.C value=DEL
21	key=ROOT.meaning value=DEL Jen_Parker
22----- PASS -----
23# exit
24
25