[IronPython] NLTK in C# application?
Michael Foord
fuzzyman at voidspace.org.uk
Thu Jun 10 13:10:41 CEST 2010
On 10/06/2010 12:05, William Johnston wrote:
>
> Hello,
>
> How do I include the NLTK modules in a C# application?
>
> There is already code for embedded Python.
>
The first step is to try importing it and running some examples from in
IronPython. If that works then you just need to provide a 'bridge' layer
that embeds IronPython in your C# app and allows you to call into
IronPython to use NLTK.
If NLTK *doesn't* work from IronPython it will probably be because it
uses C extension modules not available in IronPython. One way round this
is to use Ironclad. Again, try some NLTK examples from IronPython but
with Ironclad and see if that works.
http://www.resolversystems.com/products/ironclad/
If it still doesn't work it may be worth reporting back here with the
problems to see if they are resolvable.
All the best,
Michael Foord
> Thanks.
>
>
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
--
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/blog
READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies ("BOGUS AGREEMENTS") that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20100610/cdd3eda3/attachment.html>
More information about the Ironpython-users
mailing list