Versions in this module Expand all Collapse all v1 v1.0.1 Jul 23, 2021 v1.0.0 Jul 21, 2021 Changes in this version + const CWS_MODEL + const KG_MODEL + const NER_MODEL + const POS_MODEL + const SENTIMENT_MODEL + const STOPWORDS_DICT + const VOCAB_DICT + func AddVocabs(words []string) + func DBScanCluster(corpus []string, tokenizer cluster.Tokenizer, eps float64, minPts int) (cluster.Clusters, error) + func DelVocabs(words []string) + func Findword(input io.Reader, minFreq int, minMtro float64, minEntro float64) ([]utils.StringCounterItem, error) + func Init() + func Keywords(txt string, n int) []string + func KeywordsInstance() *textrank.Keywords + func KmeansCluster(corpus []string, tokenizer cluster.Tokenizer, k int) (cluster.Clusters, error) + func Knowledge(txt string) []knowledge.Entity + func KnowledgeInstance() *knowledge.Knowledge + func LoadUserDict(r io.Reader) + func Ner(words []string) []model.Class + func NerModel() *perceptron.Perceptron + func Pos(words []string) []model.Class + func PosModel() *perceptron.Perceptron + func Seg(sentence string) []string + func Segment() *segment.Segment + func Sentiment(words []string) (string, float64) + func SentimentInstance() *bayes.Bayes + func Stopwords() *stopwords.Stopwords + func Summarize(txt string, n int) []string + func SummarizeInstance() *textrank.Summarize