Expand description
A spell-checker based on the statistical algorithm described by Peter Norvig in http://norvig.com/spell-correct.html.
Usage requires a two-step process:
- Call
url.train()
one or more times with a large text to train the language model - Call
url.correct(word)
to retrieve the correction for the specified URL if it exists
Structsยง
- URL
- We hold all valid url characters and the frequency of how many times a URL is visited.