Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ardanlabs/practical-go
/ ExampleTokenize
Function
ExampleTokenize
nlp/example_test.go:9–15 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
7
)
8
9
func
ExampleTokenize() {
10
tokens := nlp.Tokenize(
"Who's on first?"
)
11
fmt.Println(tokens)
12
13
// Output:
14
// [who on first]
15
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected