diff options
author | Peter Wu <peter@lekensteyn.nl> | 2015-04-01 03:02:20 +0200 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2015-04-01 03:02:20 +0200 |
commit | da199a9e8b3066eee67b947f2a8daeb368f8a7ee (patch) | |
tree | fff1688878fe179650e5ef865df4d59278ce0f96 | |
parent | 82eadc91f0f697103e965bd3600475df60e8282f (diff) | |
download | assignment4-da199a9e8b3066eee67b947f2a8daeb368f8a7ee.tar.gz |
Remove unused calculateChannelModelProbability
Channel probability is already calculated during getCandidateWords.
-rw-r--r-- | spellchecker/src/SpellCorrector.java | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/spellchecker/src/SpellCorrector.java b/spellchecker/src/SpellCorrector.java index 3fbd8cc..a178a44 100644 --- a/spellchecker/src/SpellCorrector.java +++ b/spellchecker/src/SpellCorrector.java @@ -28,14 +28,6 @@ public class SpellCorrector { return finalSuggestion.trim(); } - public double calculateChannelModelProbability(String suggested, String incorrect) { - /** - * CODE TO BE ADDED * - */ - - return 0.0; - } - /** * Gets all candidate words, resulting from a single insertion, deletion. * substitution or transposition. |