EADST

Python: Get POS Tagging

Python: Get POS Tagging

import en_core_web_sm
nlp = en_core_web_sm.load()
doc = nlp("nice car")
print(doc[0].pos_)  # 'ADJ'

Reference

Linguistic Features

相关标签
About Me
XD
Goals determine what you are going to be.
Category
标签云
站点统计

本站现有博文269篇,共被浏览446318

本站已经建立2028天!

热门文章
文章归档
回到顶部