java hanlp 情感分析实现
1,java 训练model//数据取自mysql public void TrainHanlpModel(Map<String, String[]> map) throws IOException { IClassifier classifier = new NaiveBayesClassifier(); classifier.train(map); NaiveBayesModel model = (NaiveBayesModel) clas
原创
2020-09-11 13:23:22 ·
2122 阅读 ·
0 评论