NLTK in IronPython from WPF

I would like to use NLTK (Natural Language Toolkit) for Python using IronPython and call from an existing WPF / C # project.

Is it possible to reference the NLTK from WPF in this way. For example, to use Named Entity Recognition from NTLK?

Any advice or recommendations appreciated.

+5
source share
1 answer

This is definitely possible if the NLTK does not use any C-extensions. It will be much easier if you use VS2010, although due to the dynamic keyword. Take a look at IronPython's Microsoft.Scripting.Hosting library, you will begin loading the NLTK code and executing the methods on it.

+2
source

All Articles