angeloskath / php-nlp-tools

Natural Language Processing Tools in PHP
Do What The F*ck You Want To Public License
743 stars 152 forks source link

Feat : Add French Normalizer #81

Open David-Moisan opened 11 months ago

David-Moisan commented 11 months ago

To normalize French text, we use mb_strtolower to transform it to lower case and then replace every accented character with its non-accented counter part, and the final 'ç' with 'c'.