def classify(self, text):
"""Classifies the text.
:param str text: A string of text.
"""
text_features = self.extract_features(text)
return self.classifier.classify(text_features)
classifiers.py 文件源码
python
阅读 22
收藏 0
点赞 0
评论 0
评论列表
文章目录