简体   繁体   中英

How to use python NLP POS tagger in C# code?

I came across and successfully used a python NLP POS tagger.The problem is that my code was in c# and I used a python pos tagger because I could not find a good c# pos tagger.Now,I don't know how to use this python NLP POS tagger in my c# code.Could anyone guide me?Also please do suggest any C# POS tagger.Thankx

EDIT:
I thought of using IronPython for using the python NLP POS tagger.But when I use import nltk ,I get an ImportError:No module named nltk
The same command when used in python2.6 had worked perfectly fine.

您可以使用SharpNLP项目。

如果您确实想继续为Python使用NLP标记器,则可以随时尝试使用DLR托管它: http : //blogs.msdn.com/b/srivatsn/archive/2008/09/16/hosting-ironpython-定制easier.aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM