Documentation ¶
Index ¶
- func LoadDict(r io.Reader, withHeader bool, delim string, tsv bool) (map[string][]string, error)
- func LoadDictFile(fname string, withHeader bool, delim string) (map[string][]string, error)
- func ToLowerCamelCase(text []string) string
- func ToLowerSnakeCase(text []string) string
- func ToUpperCamelCase(text []string) string
- func ToUpperSnakeCase(text []string) string
- type DictTokenizer
- type Token
- type Tokenizer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadDictFile ¶
func ToLowerCamelCase ¶
func ToLowerSnakeCase ¶
func ToUpperCamelCase ¶
func ToUpperSnakeCase ¶
Types ¶
type DictTokenizer ¶
type DictTokenizer struct {
// contains filtered or unexported fields
}
func (*DictTokenizer) SplitText ¶
func (tk *DictTokenizer) SplitText(text string) []*Token
Click to show internal directories.
Click to hide internal directories.