Compare commits
2 commits
51f68b7f67
...
581a7ee25f
Author | SHA1 | Date | |
---|---|---|---|
581a7ee25f | |||
f501037b87 |
2 changed files with 13 additions and 8 deletions
|
@ -9,7 +9,7 @@ quoi | feur | ¦ | con | combre | ¦ | coup | teau
|
||||||
oui | stiti/fi | ¦ | ok | sur glace | ¦ | ca | pristi | ¦ | fais | rtile | ¦ | toi | lette
|
oui | stiti/fi | ¦ | ok | sur glace | ¦ | ca | pristi | ¦ | fais | rtile | ¦ | toi | lette
|
||||||
non | bril | ¦ | ouais | stern | ¦ | bon | jour/soir (dépend de l'heure) | ¦ | tant (ou autre syntaxe) | gente | ¦ | top | inambour
|
non | bril | ¦ | ouais | stern | ¦ | bon | jour/soir (dépend de l'heure) | ¦ | tant (ou autre syntaxe) | gente | ¦ | top | inambour
|
||||||
nan | cy | ¦ | comment | tateur | ¦ | qui | wi/mono | ¦ | et | eint/ain | ¦ | jour | nal
|
nan | cy | ¦ | comment | tateur | ¦ | qui | wi/mono | ¦ | et | eint/ain | ¦ | jour | nal
|
||||||
hein | deux | ¦ | mais | on | ¦ | sur | prise | ¦ | la | vabo/vande | ¦ |
|
hein | deux | ¦ | mais | on | ¦ | sur | prise | ¦ | la | vabo/vande | ¦ | ya/yo | hourt/yo
|
||||||
ci | tron | ¦ | fort | boyard | ¦ | pas | nini | ¦ | tki | la | ¦ |
|
ci | tron | ¦ | fort | boyard | ¦ | pas | nini | ¦ | tki | la | ¦ |
|
||||||
|
|
||||||
N'hésitez pas à ouvrir un ticket ou faire une merge-request pour contribuer au projet.
|
N'hésitez pas à ouvrir un ticket ou faire une merge-request pour contribuer au projet.
|
||||||
|
|
19
main.py
19
main.py
|
@ -1,3 +1,4 @@
|
||||||
|
from venv import create
|
||||||
from dotenv import load_dotenv
|
from dotenv import load_dotenv
|
||||||
from os import environ
|
from os import environ
|
||||||
from tweepy import OAuthHandler, API, StreamListener, Stream
|
from tweepy import OAuthHandler, API, StreamListener, Stream
|
||||||
|
@ -229,7 +230,9 @@ if __name__ == "__main__":
|
||||||
"moi": ["moi", "mwa"],
|
"moi": ["moi", "mwa"],
|
||||||
"toi": ["toi", "toit"],
|
"toi": ["toi", "toit"],
|
||||||
"top": ["top"],
|
"top": ["top"],
|
||||||
"jour": ["jour", "bonjour"]
|
"jour": ["jour", "bonjour"],
|
||||||
|
"ya": ["ya", "y'a"],
|
||||||
|
"yo": ["yo"]
|
||||||
}
|
}
|
||||||
|
|
||||||
answers = { # creation of answers
|
answers = { # creation of answers
|
||||||
|
@ -247,10 +250,10 @@ if __name__ == "__main__":
|
||||||
"2"
|
"2"
|
||||||
],
|
],
|
||||||
"ci": createBaseAnswers("tron") + createBaseAnswers("prine"),
|
"ci": createBaseAnswers("tron") + createBaseAnswers("prine"),
|
||||||
"con": createBaseAnswers("combre"),
|
"con": createBaseAnswers("combre") + createBaseAnswers("gelé") + createBaseAnswers("pas"),
|
||||||
"ok": createBaseAnswers("sur glace"),
|
"ok": createBaseAnswers("sur glace"),
|
||||||
"ouais": createBaseAnswers("stern"),
|
"ouais": createBaseAnswers("stern"),
|
||||||
"comment": createBaseAnswers("tateur") + createBaseAnswers("trice") + createBaseAnswers("dant Cousteau"),
|
"comment": createBaseAnswers("tateur") + createBaseAnswers("tatrice") + createBaseAnswers("dant Cousteau"),
|
||||||
"mais": createBaseAnswers("on") + [
|
"mais": createBaseAnswers("on") + [
|
||||||
"on (-dulation)"
|
"on (-dulation)"
|
||||||
],
|
],
|
||||||
|
@ -265,14 +268,16 @@ if __name__ == "__main__":
|
||||||
"pas": createBaseAnswers("nini"),
|
"pas": createBaseAnswers("nini"),
|
||||||
"ka": createBaseAnswers("pitaine") + createBaseAnswers("pitulation"),
|
"ka": createBaseAnswers("pitaine") + createBaseAnswers("pitulation"),
|
||||||
"fais": createBaseAnswers("rtile"),
|
"fais": createBaseAnswers("rtile"),
|
||||||
"tant": createBaseAnswers("gente"),
|
"tant": createBaseAnswers("gente") + createBaseAnswers("tation"),
|
||||||
"et": createBaseAnswers("eint") + createBaseAnswers("ain"),
|
"et": createBaseAnswers("eint") + createBaseAnswers("ain"),
|
||||||
"la": createBaseAnswers("vabo") + createBaseAnswers("vande"),
|
"la": createBaseAnswers("vabo") + createBaseAnswers("vande"),
|
||||||
"tki": createBaseAnswers("la"),
|
"tki": createBaseAnswers("la"),
|
||||||
"moi": createBaseAnswers("tié") + createBaseAnswers("sson"),
|
"moi": createBaseAnswers("tié") + createBaseAnswers("sson") + createBaseAnswers("sissure") + createBaseAnswers("si"),
|
||||||
"toi": createBaseAnswers("lette"),
|
"toi": createBaseAnswers("lette") + createBaseAnswers("ture"),
|
||||||
"top": createBaseAnswers("inambour"),
|
"top": createBaseAnswers("inambour"),
|
||||||
"jour": createBaseAnswers("nal")
|
"jour": createBaseAnswers("nal"),
|
||||||
|
"ya": createBaseAnswers("hourt"),
|
||||||
|
"yo": createBaseAnswers("ghourt") + createBaseAnswers("yo")
|
||||||
}
|
}
|
||||||
|
|
||||||
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