Add fuzzy and text-classification light model #1

Merged
Tjiho merged 18 commits from fuzzy into master 2025-02-01 01:35:11 +01:00
Showing only changes of commit 44861e8c99 - Show all commits

View file

@ -1,4 +1,5 @@
def simple_sentence_corrector(sentence):
sentence = sentence.replace('étant', 'éteins')
sentence = sentence.replace('dépeint', 'éteins')
sentence = sentence.replace('mais', 'mets')
return sentence