shell pip install loso python from loso.tokenizer import Tokenizer tokenizer = Tokenizer() tokens = tokenizer.tokenize(text) print(tokens) python from loso.classifier import TextClassifier classifier = TextClassifier() label = classifier.classify(text) print(label) python tokenizer = Tokenizer(tokenize_method='jieba')


上一篇:
下一篇:
切换中文