by andrewstuart2 · 11y ago · 0 comments
Also, probably avoid using . imports, as it's considered a Go antipattern.
Seems really promising, but if you want it to become a project that the Go community can get behind and maintain, you'll probably want to make sure it's familiar and easy to get running. :-)
I agree though, seems promising.
https://github.com/blevesearch/segment
If you need more manipulation of tokens after segmentation/tokenization, you could look at the analysis sub-package of bleve. Its intended to be able to be used indepenently of the rest of the library.