Skip to content
Discussion options

You must be logged in to vote

This isn't possible directly with spaCy, but you could use something like symspell to help. For example, when I pass your string into the basic usage example, it returns: i know you re here and me too, so it's close but with the punctuation removed. There may be a way to keep the punctuation and casing - check out this open issue for more details.

That might also be overkill if this only happens with punctuation. If that's the case, there is probably a regular expression you can create to add spaces when that punctuation appears in the middle of two words.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pmbaumgartner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usage General spaCy usage
2 participants