import nltk from nltk.corpus import sinica_treebank sinica_text = nltk.Text(sinica_treebank.words()) print(sinica_text.concordance(‘我‘))
时间: 2024-10-13 04:41:50
import nltk from nltk.corpus import sinica_treebank sinica_text = nltk.Text(sinica_treebank.words()) print(sinica_text.concordance(‘我‘))