hamadalaqeel / TextErrorDetection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TextErrorDetection

A Python librariy that aims to detect Arabic spelling mistakes in a give text and correct them.

Prerequisites

  • Python 3 and above.

Installation

To install the library, simply run the following command: pip install ()

File Descriptions

  • data
    • big.txt: contains a list with words to use for the detecting error
  • TextErrorDetection.ipynb: contains the code for the error detection as a notebook
  • TextErrorDetection.py: contains the code for the error detection as a python script

Usage

$ correct_text('The spech was noot tht goad')
'The speech was not the good'

$ correct_text('I amm tesing the packag')
'I am testing the package'

About


Languages

Language:Jupyter Notebook 76.9%Language:Python 23.1%