如何在C#中创建命名实体识别? [英] How to create a Named Entity Recognition in C#?

查看:162
本文介绍了如何在C#中创建命名实体识别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好!有谁知道如何创建 NER (命名实体识别)

哪里可以帮助您确定句子中的文本是否是是一个人的名字,一个地方的名称或一个东西的名称。

示例: Apple 可以是一个名称人可以是一个东西的名字,它可以是像 Big Apple 这样的地方的名字,它是纽约。



例句:嗨!我的名字是 apple ,我住在纽约,其他人称之为大苹果,我有 apple 的业务我有一个mac apple



我想知道如何从一个句子中识别一个人的名字。



提前谢谢。:)

Hello! do anyone know how to create a NER (Named Entity Recognition)?
Where it can help you to determine the text in a sentence whether it is a name of a person or a name of a place or a name of a thing.
Example: Apple can be a name of a person yet can be a name of a thing, and it can be a name of a place like Big Apple which is New York.

Example sentence: Hi! my name is apple, I live in new york where other people call it the big apple, i have a business of apple and i have a mac apple.

I want to know how to recognize the name of a person from a sentence.

Thank you in advance.:)

推荐答案

您还没有提到您正在阅读的参考资料或者您是否有教科书你的工作。这里有一些指示可以帮助您入门:



维基百科上的NER [ ^ ]

自然语言工具包(Python) [ ^ ]

CRF-NER(Java) [ ^ ]

http://www.gabormelli.com/RKB/Named_Entity_Recognition_Algorithm [ ^ ]



虽然这些不符合你的意图目标语言,他们应该提供足够的洞察力,你所选择的算法让你开始完成任务。



希望这会有所帮助。
You have not mentioned which references you were reading up on or if you have a textbook for your work. Here a few pointers to get you started:

NER on Wikipedia[^]
Natural Language ToolKit (Python)[^]
CRF-NER (Java)[^]
http://www.gabormelli.com/RKB/Named_Entity_Recognition_Algorithm[^]

Though these are not in your intended target language, they should provide enough insight into the algorithm you are choosing to get you started with your assignment.

Hope this helps.


stanford ner library移植到c sharp - https://github.com/sergey-tihon/fsharp-stanford-nlp-samples [<一个href =https://github.com/sergey-tihon/fsharp-stanford-nlp-samples\"target =_ blanktitle =新窗口> ^ ]
stanford ner library ported to c sharp - https://github.com/sergey-tihon/fsharp-stanford-nlp-samples[^]


解决方案3

使用Stanford.NLP.NER NuGet包 - http://sergeytihon.wordpress.com/2013/07/12/stanford-named-entity-recognizer- ner-is-available-on-nuget / [ ^ ]


这篇关于如何在C#中创建命名实体识别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆