Skip to content

euskadi31/go-tokenizer

Repository files navigation

Text Tokenizer for Golang Last release

Go Report Card

Branch Status Coverage
master Go Coveralls
import (
    "fmt"

    "github.com/euskadi31/go-tokenizer"
)

func main() {
    t := tokenizer.New()

    tokens := t.Tokenize("I believe life is an intelligent thing: that things aren't random.")

    fmt.Print(tokens) // []string{"I", "believe", "life", "is", "an", "intelligent", "thing", "that", "things", "aren't", "random"}
}

License

go-tokenizer is licensed under the MIT license.