def main(): ''' The main function ''' words = {word: ("weather", "noun") for word in NOUNS} paul.associate(words) paul.register("weather", process)
def main(): ''' The main function ''' words = { "set": ("settings", "verb"), "switch": ("settings", "verb"), "turn": ("settings", "verb"), "enable": ("settings", "verb"), "disable": ("settings", "verb"), "change": ("settings", "verb"), "begin": ("settings", "verb"), "start": ("settings", "verb"), "stop": ("settings", "verb"), "verbose": ("settings", "noun"), "verbosity": ("settings", "noun"), "debug": ("settings", "noun"), "debugging": ("settings", "noun"), "noisy": ("settings", "noun"), "noisiness": ("settings", "noun"), "talk": ("settings", "noun"), "talking": ("settings", "noun"), "settings": ("settings", "noun"), "logging": ("settings", "noun"), "name": ("settings", "noun"), "call": ("settings", "verb"), "title": ("settings", "noun"), } paul.associate(words) paul.register("settings", process)
def main(): ''' The main function ''' words = {word: ("finder", "noun") for word in NOUNS} words.update({word: ("finder", "verb") for word in VERBS}) paul.associate(words) paul.register("finder", process)
def main(): """ The main function """ VERBS.append(paul.get_search_engine().lower()) words = {word: ("discover", "noun") for word in NOUNS} words.update({word: ("discover", "verb") for word in VERBS}) paul.associate(words) paul.register("discover", process)
def main(): ''' The main function ''' NOUNS = KEYWORDS + GREETINGS + THANKS + FEELING + RANDOM words = {word: ("personality", "noun") for word in NOUNS} paul.associate(words) paul.register("personality", process)
def main(): """ The main function """ words = {} for word in VERBS + VERBS_UP + VERBS_DOWN: words[word] = ("controls", "verb") for word in NOUNS: words[word] = ("controls", "noun") paul.associate(words) paul.register("controls", process)
def main(): ''' The main function ''' words = { "help": ("help", "verb"), "stuck": ("help", "verb"), "learn": ("help", "verb"), } paul.associate(words) paul.register("help", process)
def main(): ''' The main function ''' words = { "check": ("email", "verb"), "email": ("email", "noun"), "read": ("email", "verb"), "message": ("email", "noun"), } paul.associate(words) paul.register("email", process)
def main(): ''' The main function ''' words = { "module": ("loader", "noun"), "function": ("loader", "noun"), "load": ("loader", "verb"), "reload": ("loader", "verb"), "relaunch": ("loader", "verb"), "restart": ("loader", "verb"), "reboot": ("loader", "verb"), } paul.associate(words) paul.register("loader", process)
def main(): ''' The Main function ''' words = { "wikipedia": ("wikipedia", "noun"), "tell": ("wikipedia", "verb"), "research": ("wikipedia", "verb"), "define": ("wikipedia", "verb"), "search": ("wikipedia", "verb"), "about": ("wikipedia", "preposition"), "find": ("wikipedia", "verb"), } paul.associate(words) paul.register("wikipedia", process)
def main(): ''' The main function ''' words = { "solve": ("math", "verb"), "substitute": ("math", "verb"), "rearrange": ("math", "verb"), "plus": ("math", "noun"), "minus": ("math", "noun"), "times": ("math", "noun"), "multiply": ("math", "verb"), "divide": ("math", "noun"), "power": ("math", "noun"), "root": ("math", "noun"), "square": ("math", "verb"), } words.update({word:("math", "noun") for word in NUMBER_WORDS()}) paul.associate(words) paul.register("math", process)
def main(): ''' The main function ''' words = {word: ("clock", "noun") for word in NOUNS+DAYS+MONTHS} paul.associate(words) paul.register("clock", process)