summaryrefstree
path: root/system/usr/srec/en-US/commands.abnf
blob: 1d3e51aa0f2f6436d1fc103becfadad0452d4b5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Grammar used for disambiguation of results and for confirming or
// canceling a call.

tag-semantics <literal>;

$root = /0.15/ $COMMAND | /0.85/ $OTHER;

$COMMAND = cancel {_cancel} | okay {_okay} | $DISAMBIG;

$DISAMBIG = select $digit;
$digit = $digit1 | $digit2 | $digit3;
$digit1 = 1 {_select_1};
$digit2 = 2 {_select_2};
$digit3 = 3 {_select_3};

$OTHER = ($OTHER_WORDS<1->) {_other};
$OTHER_WORDS =
        the |
        be |
        to |
        of |
        and |
        a |
        in |
        that |
        have |
        i |
        it |
        for |
        not |
        on |
        with |
        he |
        as |
        you |
        do |
        at |
        this |
        but |
        his |
        by |
        from |
        they |
        we |
        say |
        her |
        she |
        or |
        an |
        will |
        my |
        all |
        would |
        there |
        their |
        what |
        so |
        up |
        out |
        if |
        about |
        who |
        get |
        which |
        go |
        me |
        when |
        make |
        can |
        like |
        time |
        no |
        just |
        him |
        know |
        take |
        person |
        into |
        year |
        your |
        good |
        some |
        could |
        them |
        see |
        other |
        than |
        then |
        now |
        look |
        only |
        come |
        its |
        over |
        think |
        also |
        back |
        after |
        use |
        how |
        our |
        work |
        first |
        well |
        way |
        even |
        new |
        want |
        because |
        any |
        these |
        give |
        day |
        most |
        us
        ;