MCPcopy Index your code
hub / github.com/huichen/sego / Text

Method Text

token.go:30–32  ·  view source on GitHub ↗

返回分词文本

()

Source from the content-addressed store, hash-verified

28
29// 返回分词文本
30func (token *Token) Text() string {
31 return textSliceToString(token.text)
32}
33
34// 返回分词在语料库中的词频
35func (token *Token) Frequency() int {

Callers 5

Test_Token_SplitFunction · 0.80
SegmentsToSliceFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
JsonRpcServerFunction · 0.80

Calls 1

textSliceToStringFunction · 0.85

Tested by 1

Test_Token_SplitFunction · 0.64