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.
例如,给定一个字符串:
“鲍勃和他的朋友吉姆史密斯去钓鱼了。”
Bob 和 Jim Smith 都是名字,但 bob 和 smith 都是单词。如果它们不是大写的,那么在我们对句子的了解之外,这方面的指示会更少。是否有任何众所周知的算法来检测名字的存在,至少是西方名字?
看看命名实体识别。
http://en.wikipedia.org/wiki/Named_entity_recognition这篇文章链接到两个很好的实现。
我不确定这是否属于您对语法分析的定义。