CAMeL-Lab / camel_tools

A suite of Arabic natural language processing tools developed by the CAMeL Lab at New York University Abu Dhabi.
MIT License
413 stars 73 forks source link

[QUESTION] About errors of spelling #135

Closed ghost closed 9 months ago

ghost commented 10 months ago

Hi I'm cleaning an arabic dataset My arabic text has some errors and I saw in the docs the module camel_tools.morphology.errors.MorphologyError So I was thinking may be this module is for errors like the repeating characters. but unfortenatly the docs don't have enough examples. so is there any module in camel tools that check grammar or orthographic errors and correct it?

owo commented 9 months ago

We unfortunately don't have a spelling and grammar correction components at the moment. MorphologyError is just a base class for all exceptions raised by morphology components for invalid arguments (e.g. passing an invalid flag to MorphologyDB) and not for erroneous text like you mention.