Jevlet / shared /text_rules.json
NAME0x0's picture
Jevlet v6: weights, calibration, results, model card
c59f205 verified
Raw History Blame Contribute Delete
4.14 kB
{
"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"
}