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

Spelling Error #8

Open
monoclex opened this issue Feb 24, 2017 · 2 comments
Open

Spelling Error #8

monoclex opened this issue Feb 24, 2017 · 2 comments
Milestone

Comments

@monoclex
Copy link

he ygusy today we're going to make a bot
hey guys*
Turns into he hey guys today we're going to make a bot.

@alexyorke
Copy link
Owner

Thanks for reporting this error! I'll track down the issue and see if I can make a fix for it.

@alexyorke
Copy link
Owner

Star.js operates on full words, so in this case the first sentence would be tokenized to he ygusy today , which, in this case would be unable to find a full match for hey guys*, so it replaces ygusy since it matches guys in hey guys giving you the he hey guys.

This may involve re-writing a chunk of the parser (which I would be up for) since a misplaced space is relatively common. I'll add this to star.js 2.0

@alexyorke alexyorke added this to the v2.0 milestone Aug 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants