Documentation ¶ Index ¶ func Build(data [][]int, vocabs []string, dir string) map[string]int func Download(dir string) func LoadData(dir string, idx map[string]int, limit int) [][]int func LoadVocab(dir string) ([]string, map[string]int) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Build ¶ func Build(data [][]int, vocabs []string, dir string) map[string]int Build 生成训练样本文件 func Download ¶ func Download(dir string) func LoadData ¶ func LoadData(dir string, idx map[string]int, limit int) [][]int func LoadVocab ¶ func LoadVocab(dir string) ([]string, map[string]int) Types ¶ This section is empty. Source Files ¶ View all Source files build.go download.go load.go Click to show internal directories. Click to hide internal directories.