Source From Here
Question
How to check if a word is an English word with Python? I believe nltk wordnet interface might be the way to go but I have no clue how to use it for such a simple task.
How-To
For (much) more power and flexibility, use a dedicated spellchecking library like PyEnchant. There's a tutorial, or you could just dive straight in:
Question
How to check if a word is an English word with Python? I believe nltk wordnet interface might be the way to go but I have no clue how to use it for such a simple task.
How-To
For (much) more power and flexibility, use a dedicated spellchecking library like PyEnchant. There's a tutorial, or you could just dive straight in:
沒有留言:
張貼留言