The goal of the assignment is to implement context-sensitive spelling correction. The input of the code will be a set of text lines and the output will be the same lines with spelling mistakes fixed.
Submit the solution of the assignment to Moodle as a link to your GitHub repository containing this notebook.
Useful links:
Grading:
- 60 points - Implement spelling correction
- 20 points - Justify your decisions
- 20 points - Evaluate on a test set
-
Clone the repository:
git clone https://github.com/IVproger/nlp_assignment1.git cd nlp_assignment1 -
Create a virtual environment:
python3 -m venv venv source venv/bin/activate -
Install the required packages
pip install -r requirements.txt
OR
bash setup.sh
-
Optionally, you can download my ngrams dataset till 4 degree Download from google disk