在python的数据框中窃听动词列表
我想问一个看似简单的问题,向python wizs(我是一个新手,所以不知道这个问题有多简单/复杂)!
我在数据框中有一个动词列表,如下所示:
id动词
15相信
64开始
90相信
我想诱人。问题在于大多数lematization都伴随着句子字符串。我的数据不能提供上下文来决定其词性的一部分,因为我只需要“动词”语音引理。
您对如何进行这个动词列表的方式有任何想法吗? 非常感谢您考虑我的问题!
I want to ask a seemingly simple question to Python wizs (I am a total newbie so have no idea how simple/complex this question is)!
I have a verb list in a dataframe looking as below:
id verb
15 believe
64 start
90 believe
I want to lemmatize it. The problem is that most lemmatization comes with sentence strings. My data does not provide context to decide its part-of-speech because I only need 'verb' speech lemmas.
Would you have any ideas about how to go about lemmatizing this verb list?
Many thanks in advance for considering my question!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您询问如何通过PANDAS DataFrame列应用功能,则可以执行
输出
If you are asking how to apply a function over a pandas DataFrame column, you can do
Output