Add fuzzy and text-classification light model #1
1 changed files with 1 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
def simple_sentence_corrector(sentence):
|
def simple_sentence_corrector(sentence):
|
||||||
sentence = sentence.replace('étant', 'éteins')
|
sentence = sentence.replace('étant', 'éteins')
|
||||||
sentence = sentence.replace('dépeint', 'éteins')
|
sentence = sentence.replace('dépeint', 'éteins')
|
||||||
|
sentence = sentence.replace('mais', 'mets')
|
||||||
return sentence
|
return sentence
|
||||||
|
|
Loading…
Add table
Reference in a new issue