Grammar correction and highlighting tool
TransGrammar is a Syntactic and Semantic Assistant (SSA) that detects, highlights, and corrects grammatical and typographical errors in natural language text.
- Python 3.10.7
- Node v16.17.1
git clone https://github.com/Transphere-Sunyu/trans-grammar.git
Backend
cd backend && python -m venv venv
source venv/bin/activate && pip3 install -r requirements.txt
python3 -m spacy download en
Frontend
cd frontend && npm i && npm run build
Enter your access token from your hugging face account
huggingface-cli login
Backend
cd backend && uvicorn main:app --reload
Frontend
cd frontend && npm run start
Open the website in your browser at http://localhost:3000