Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用 TextBlob 库从文本中提取信息。我偶然发现了这个错误,这给我带来了很多问题。请告诉我为什么会发生这种情况,有什么办法可以避免它,否则我将不得不忽略文本中的这些词并继续前进。
> from textblob import TextBlob as tb > temp = tb('gonna') > print(temp.words) ['gon', 'na']
“想要”、“让我们”等词也会出现同样的问题。