我正在使用 NLTK 来查找单词的索引,但我不知道如何获取所有结果并将它们放在 a listor 中set。
list
set
例如:
text.concordance(word)
只打印前 25 个结果。
python text nlp nltk python-3.4
nlp ×1
nltk ×1
python ×1
python-3.4 ×1
text ×1