summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-04-01Replace Set by Map for later extensionPeter Wu2-8/+13
2015-04-01Immediately return new listPeter Wu1-1/+1
The filtering is already done.
2015-03-31Refactor getCandidateWords into separate methodsPeter Wu1-5/+23
For readability and testability.
2015-03-31Refactor to improve understandabilityPeter Wu1-19/+25
Split deletion and substitution, introduce consistent style (comment, example, implementation).
2015-03-31Refactor getCandidateWords for ConfusionMatrixPeter Wu3-18/+70
2015-03-31Implement Damerau-Levenshtein distance (add transposition)Peter Wu2-2/+23
Suggested around 6:16 of the Coursera lecture on "The Noisy Channel Model of Spelling". https://class.coursera.org/nlp/lecture/22
2015-03-31Add simple getSmoothedCount implementationPeter Wu1-3/+7
2015-03-31Tests and implementation for getCandidateWordsPeter Wu2-5/+155
SpellCorrector.ALPHABET is made static to allow for the test.
2015-03-30Reformat code (apply consistent coding style)Peter Wu4-132/+113
2015-03-30Initial checkin of assignment4-0.0Peter Wu16-0/+566662
Extracted from assignment4-0.0.zip (without build/ dirs). The CRLF in test-sentences.txt was replaced by LFs. https://www.win.tue.nl/~wstahw/edu/2ID90/assignments/4/assignment4-0.0.zip size 5189037 sha1 5e0a58acffbcac6e5f13837c98c2c0bb936304b5
2015-03-30Initial commit (gitignore, gitattributes)Peter Wu2-0/+7