import nltk from nltk.corpus import sinica_treebank sinica_text = nltk.Text(sinica_treebank.words()) print(sinica_text.concordance(‘我‘))
时间: 2024-12-26 03:16:22
import nltk from nltk.corpus import sinica_treebank sinica_text = nltk.Text(sinica_treebank.words()) print(sinica_text.concordance(‘我‘))