Skip to content

nopynospy/spell-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spell-checker

This project is for my Natural Language Processing module, where I built a spellchecker. This spellchecker checks for non-word and real word errors. It also compares non-word error detection with PyEnchant. Overall, although PyEnchant often outperform our model, this system provides more contextualized suggestions, specifically those related to cooking. Special thanks to my group mates, Lucas, Yi Fan, Yuen Neng and Pui Chyi for the documentation.

We used allrecipes.com as our corpus to build the system.

A web app version is available at https://www.nopynospy.cc/n_gram_spellchecker

  1. To install all the packages to run the exe:

    pip install -r requirements.txt

  2. To install the packages for everything, including the notebooks:

    pip install -r full_requirements.txt

  3. Location of scrapped data:

    recipes_ingredients.json

    (the remaining json files were urls, won't be used in analysis)

  4. Codes used for scrapping:

    data_extraction.ipynb

  5. Codes for initial bigram:

    bigram.ipynb

  6. GUI

    The GUI is basically a webpage, except it runs on python. The webpage files are in the web folder. To open the GUI, run app.py

  7. Link to how I chunked phrases and the tips and tricks I came up with:

    https://github.com/nopynospy/pos_tagging

  8. To generate exe file python -m eel app.py web --onefile --noconsole

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published