Versions in this module Expand all Collapse all v1 v1.0.0 Feb 6, 2025 Changes in this version + var LangMap = map[string]string + func LoadModel(path string) bool + func Restore(ptr unsafe.Pointer) (v interface{}) + func Save(v interface{}) unsafe.Pointer + func Unref(ptr unsafe.Pointer) + type DetectResult struct + Confidence float64 + Language string + func Detect(text string) []DetectResult + type UserData struct