angeloskath / php-nlp-tools

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

Feat : Add French Normalizer #81

Open David-Moisan opened 1 year ago

David-Moisan commented 1 year 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'.