add word
This commit is contained in:
parent
a20c2a1273
commit
ea7fce4457
1 changed files with 5 additions and 3 deletions
8
main.py
8
main.py
|
@ -200,7 +200,7 @@ if __name__ == "__main__":
|
||||||
|
|
||||||
base = { # words to detect in lowercase
|
base = { # words to detect in lowercase
|
||||||
"quoi": ["quoi", "koi", "quoient"],
|
"quoi": ["quoi", "koi", "quoient"],
|
||||||
"oui": ["oui", "ui"],
|
"oui": ["oui", "ui", "wi"],
|
||||||
"non": ["non", "nn"],
|
"non": ["non", "nn"],
|
||||||
"nan": ["nan"],
|
"nan": ["nan"],
|
||||||
"hein": ["hein", "1"],
|
"hein": ["hein", "1"],
|
||||||
|
@ -213,7 +213,8 @@ if __name__ == "__main__":
|
||||||
"fort": ["fort"],
|
"fort": ["fort"],
|
||||||
"coup": ["coup", "cou"],
|
"coup": ["coup", "cou"],
|
||||||
"ca": ["ca", "ça", "sa"],
|
"ca": ["ca", "ça", "sa"],
|
||||||
"bon": ["bon"]
|
"bon": ["bon"],
|
||||||
|
"qui": ["qui", "ki"]
|
||||||
}
|
}
|
||||||
|
|
||||||
answers = { # creation of answers
|
answers = { # creation of answers
|
||||||
|
@ -240,7 +241,8 @@ if __name__ == "__main__":
|
||||||
],
|
],
|
||||||
"coup": createBaseAnswers("teau"),
|
"coup": createBaseAnswers("teau"),
|
||||||
"ca": createBaseAnswers("pristi"),
|
"ca": createBaseAnswers("pristi"),
|
||||||
"bon": [createBaseAnswers("jour"), createBaseAnswers("soir")]
|
"bon": [createBaseAnswers("jour"), createBaseAnswers("soir")],
|
||||||
|
"qui": createBaseAnswers("wi")
|
||||||
}
|
}
|
||||||
|
|
||||||
universalBase = createBaseTrigger(list(base.values())) # creation of a list of all the words
|
universalBase = createBaseTrigger(list(base.values())) # creation of a list of all the words
|
||||||
|
|
Reference in a new issue