Skip to content

tonyqtian/sentence_checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sentence_checker

Sentence checker for Chinese Learners of English (CLE)

This is a python spell-checker-like sentence corrector. Made for English Learners especially whoes mother-tongue is Chinese.

It can correct most none-word errors and some real-word errors and syntax errors usually made by CLE, such as typo (form, from), tense (she was, she were), single/plural (two questions, two question), set phrase (she is very beautiful, she is very beautifully) ...

The core correcting system is based on the LM made from ChinaDaily/Reuters corpus, and the unique CLE confusion set.

Nmgram probalibity checker, Tag probability checker.

Checker framework from modified version of Peter Norvig's spelling corrector """Spelling Corrector.

Copyright 2007 Peter Norvig. Open source code under MIT license: http://www.opensource.org/licenses/mit-license.php """

Usage: Prerequisition: Install Python , NumPy, NLTK, PyYAML, PyEnchant Install NLTK corpora: gazetteers, names, (reuters: Not needed now) Run: run SpellCorrect.py to check the result

About

Sentence checker for Chinese English Learners

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages