aboSamoor / polyglot

Multilingual text (NLP) processing toolkit
http://polyglot-nlp.com
Other
2.3k stars 337 forks source link

Usage of spelling corrector #158

Open devikasondhi opened 6 years ago

devikasondhi commented 6 years ago

Hello,

How can the 'correct' function, defined in BaseBlob class, be used? I'm invoking it as follows

blob = BaseBlob("I havv bad speling.")
print(blob.correct())

This gives Error: 'Word' object has no attribute 'correct'. I see the Word class has no such method- is that under development or am I using it incorrectly?