Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance NLP to correct common spelling errors #3

Open
danielreed opened this issue Nov 14, 2016 · 0 comments
Open

Enhance NLP to correct common spelling errors #3

danielreed opened this issue Nov 14, 2016 · 0 comments

Comments

@danielreed
Copy link
Member

We already have a spelling errors correction map in nlp-middleware, we simply need to enhance this to the point that we feel the majority of fat fingered entries will be caught.

Alternatively we could use a javascript hunspell port and use a dictionary. This was prototyped early using a large dictionary, the library had poor performance. We simply have to be able to process text at line speed, this may mean a smaller dictionary, or a customized dictionary with terms that are pertinent to our domain.

Either way here is a start (http://wordlist.aspell.net/)

const spellingErrors = {
  "utilizaton":"utilization",
  "uzing":"using"
}
jonmccormick pushed a commit that referenced this issue Apr 20, 2017
Issue #58
  Patch #2 - removed unnecessary variables
  Patch #3 - rename a variable in the test
  Patch #3 - same as above
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant