File size: 4,136 Bytes
c59f205
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
{
  "version": 6,
  "notes": "Shared by jevlet/assistant/text.py and the C# app. Triggers are ordered specific to generic; candidate order follows this order. Regexes are case-insensitive and use only syntax common to Python re and .NET.",
  "text_candidates": 10,
  "triggers": [
    "search the web for",
    "search online for",
    "search for",
    "look up",
    "find out",
    "google",
    "bing",
    "web search",
    "search",
    "find",
    "type out",
    "type in",
    "type",
    "reply with",
    "fill in",
    "write down that",
    "write",
    "say",
    "enter",
    "named",
    "called",
    "labelled",
    "titled",
    "remind me to",
    "remind me about",
    "remind me of",
    "remind me that",
    "remind to",
    "reminder to",
    "reminder for",
    "forget to",
    "me to",
    "make sure i",
    "task to",
    "to do",
    "task",
    "todo",
    "remember that",
    "jot down that",
    "jot down",
    "note that",
    "note saying",
    "saying",
    "note",
    "i've got",
    "i have",
    "event",
    "appointment",
    "schedule",
    "book",
    "pencil in",
    "set up",
    "add",
    "put on",
    "throw on",
    "queue up",
    "play me",
    "play",
    "blast",
    "listen to",
    "hear",
    "in the mood for",
    "put",
    "email about",
    "about",
    "regarding",
    "how much is",
    "work out",
    "calculate",
    "compute",
    "what's",
    "what is",
    "weather in",
    "like in",
    "directions to",
    "navigate to",
    "way to",
    "route to",
    "get to",
    "far is",
    "get into",
    "into",
    "near",
    "drive",
    "traffic on",
    "please",
    "for",
    "in",
    "and"
  ],
  "stops": [
    " and then ",
    " then ",
    ", ",
    " in ",
    " on ",
    " at ",
    " into ",
    " using ",
    " online",
    " for me",
    " please",
    " here",
    " right now",
    " quickly",
    " to my ",
    " tomorrow",
    " today",
    " tonight",
    " next ",
    " this ",
    " every ",
    " by ",
    ", add",
    " around ",
    " before ",
    " after ",
    " tmrw",
    " tmr",
    " 2moro",
    " tonite",
    " thanks",
    " thank you",
    " thx",
    " cheers",
    " pls",
    " asap",
    " real quick",
    " when you can",
    " later",
    " yet",
    " equals",
    " time",
    " weather",
    " from ",
    " for ",
    " during ",
    " is ",
    ". ",
    " when ",
    " without ",
    " monday",
    " tuesday",
    " wednesday",
    " thursday",
    " friday",
    " saturday",
    " sunday"
  ],
  "courtesy": "^(?:(?:hey|hi|ok|okay|yo)\\s+jevlet[,:]?\\s*|jevlet[,:]\\s*|(?:please|pls|plz)\\s+|(?:can|could|would)\\s+(?:you|u)(?:\\s+please)?\\s+|i want to\\s+|i need to\\s+|i'd like to\\s+|quickly\\s+|just\\s+|go ahead and\\s+|(?:hey|ok|okay|alright|right|so|um|uh|erm|hmm|yo)[,:]\\s*|(?:ok|okay|so|um|uh|erm|hmm|yo|hey)\\s+|(?:quick one|one more thing|before i forget|when you get a sec|real quick)[,:]\\s*)+",
  "label_before_noun": "\\b(?:an?|my|the)\\s+(?:new\\s+)?((?!alarm\\b|reminder\\b|timer\\b)[\\w' ]{2,40}?)\\s+(?:alarm|reminder|timer)s?\\b",
  "preposition": "\\b(?:to|in|at|near|from|around|of|into)\\s+",
  "phrase_end": "\\s+(?:to|in|at|on|by|for|from|if|when|before|after|today|tonight|tomorrow|this|next|right|now|with|without|and|then|so|is|are|be|bad|like|look|looking|get|getting|during|because|once|every|starting|until)\\b|\\s*[,.;?!]",
  "proper_run_case_sensitive": "\\b[A-Z][\\w.'-]*(?:\\s+(?:of |de |la |the )?[A-Z][\\w.'-]*)*",
  "delegate": "\\b(?:ask|have|get|let|use|tell|make)\\s+\\w+(?:\\s+to)?\\s+|\\b\\w+,\\s+",
  "time_expression": "\\b(?:(?:at |by |around )?\\d{1,2}(?::\\d{2})?\\s*(?:am|pm)\\b|\\d{1,2}[:.]\\d{2}|at \\d{1,2}(?:[:.]\\d{2})?\\b|noon|midnight|tomorrow|tmrw|tmr|2moro|tonight|tonite|today|this (?:morning|afternoon|evening|weekend)|(?:next |on |this )?(?:mon|tues|wednes|thurs|fri|satur|sun)day|next week|on the \\d{1,2}(?:st|nd|rd|th)?|in (?:\\d+|an?|two|three|half an) (?:minutes?|mins?|hours?|hrs?|days?|weeks?)|half past \\d|quarter (?:past|to) \\d|\\d{1,2} o'clock|\\d{1,2} in the (?:morning|afternoon|evening)|(?:around|by) \\d{1,2})\\b"
}