fonction python pour un dictionnaire français - Python - Programmation
MarshPosté le 05-08-2005 à 11:54:38
voilà j'aimerais savoir si il existe une fonction python qui permet de tester un mot (variable de type string). C'est à dire si le mot est un mot de langue française ou pas. exemple : 'hache' la fonction renvoie 1 ce mot est français. ou 'kju' la fonction renvoie 0 le mot n'est pas français. Merci.
Pas à ma connaissance, mais si t'as accès à une liste informatique des mots français c'est tout con à générer
--------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box, and replicate and expand beyond their wildest dreams by throwing away the limits imposed by overbearing genetic r
Marsh Posté le 05-08-2005 à 11:54:38
voilà j'aimerais savoir si il existe une fonction python qui permet de tester un mot (variable de type string). C'est à dire si le mot est un mot de langue française ou pas.
exemple : 'hache' la fonction renvoie 1 ce mot est français. ou 'kju' la fonction renvoie 0 le mot n'est pas français.
Merci.