Try collocation_list() instead, collocations() is printing as it was designed to. a=nltk.Text(tokenizedwords).collocation_list(). Sources:.
確定! 回上一頁