Add fuzzy and text-classification light model #1
					 1 changed files with 1 additions and 0 deletions
				
			
		Improve corrector
				commit
				
					
					
						44861e8c99
					
				
			
		|  | @ -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
		Add a link
		
	
		Reference in a new issue