Changes between Version 13 and Version 14 of private/NlpInPracticeCourse/AutomaticCorrection
- Timestamp:
- Dec 15, 2015, 3:09:16 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
private/NlpInPracticeCourse/AutomaticCorrection
v13 v14 27 27 There will be a short overview of [[https://www.languagetool.org/|LanguageTool]] - Style and Grammar checker. Students can test the language correction algorithm and evaluate it on real data. After they become acquainted with how a spelling corrector works, we will write a simple spelling corrector in Python. The spelling corrector will be trained on a large text file compiled from [[https://www.gutenberg.org/|Project Gutenberg]]. The example will be based on Peter Norvig's [[http://norvig.com/spell-correct.html|Spelling Corrector]] in python. If the student finishes early the additional task is to enhance the spelling corrector's functionality. 28 28 29 1. Download prepared script from [[https://nlp.fi.muni.cz/trac/research/attachment/wiki/private/AdvancedNlpCourse/AutomaticCorrection/spell.py|spell.py]]. 30 1. Test the program. 31 1. Change input data set to [[https://www.gutenberg.org/|Project Gutenberg]]. 29 1. Download prepared script [[https://nlp.fi.muni.cz/trac/research/attachment/wiki/private/AdvancedNlpCourse/AutomaticCorrection/spell.py|spell.py]] and training data collection [[https://nlp.fi.muni.cz/trac/research/attachment/wiki/private/AdvancedNlpCourse/AutomaticCorrection/big.txt|big.txt]]. 30 1. Run spell.py.