Skip to content

trunghieult1807/GrammarChecker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

GrammarChecker

GrammarChecker Front End

1. Install package

yarn install

2. Start application

yarn start

GrammarChecker Back End

1. Install Python 3.7.x and upgrade pip to 21.3.x

Install python 3.7

Follow this article: https://linuxize.com/post/how-to-install-python-3-7-on-ubuntu-18-04/

Upgrade pip

pip install --upgrade pip

2. Install gcc

If MacOs:

sudo brew install gcc

If Linux:

sudo apt install gcc

If CentOs:

yum install -y gcc-c++

3. Install jsonnet following this article

https://phoenixnap.com/kb/how-to-install-anaconda-ubuntu-18-04-or-20-04

4. Install requirement

pip install -r requirements.txt

If run on low memory machine:

pip install -r requirements.txt --no-cache-dir

5. Run application

Create model_files directory at GrammarCheckerBe/model/data/model_files

Download model file into that directory

curl -O https://grammarly-nlp-data-public.s3.amazonaws.com/gector/xlnet_0_gector.th

For testing:

Change the script in test.py and run python test.py

For API:

python flask_api.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages