Documentation ¶
Overview ¶
Package tok is a wrapper around ICU boundary iterating functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ICUDisabled ¶
func ICUDisabled() bool
ICUDisabled returns whether ICU is disabled. It may be disabled if we are in embed mode and no data file is specified.
Types ¶
type Tokenizer ¶
type Tokenizer struct {
// contains filtered or unexported fields
}
Tokenizer wraps the Tokenizer object in icuc.c.
func NewTokenizer ¶
NewTokenizer creates a new Tokenizer object from a given input string of bytes.
Click to show internal directories.
Click to hide internal directories.