CountVectorizer的参数中可传入分词器
vectorizer = CountVectorizer(tokenzer.cut) corpus = [ "中文的信息无处不在"] X=vectorizer.fit_transform(corpus)
2024-01-17 11:05:42
CountVectorizer的参数中可传入分词器
vectorizer = CountVectorizer(tokenzer.cut) corpus = [ "中文的信息无处不在"] X=vectorizer.fit_transform(corpus)
下一篇:vue项目锚点动画滚动