Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Existing API for NLP in C++?

Is/are there existing C++ NLP API(s) out there? The closest thing I have found is CLucene, a port of Lucene. However, it seems a bit obsolete and the documentation is far from complete.

Ideally, this/these API(s) would permit tokenization, stemming and PoS tagging.

like image 523
merours Avatar asked Mar 19 '14 13:03

merours


2 Answers

Freeling is written in C++ too, although most people just use their binaries to run the tools: http://devel.cpl.upc.edu/freeling/downloads?order=time&desc=1

Try something like DyNet, it's a generic neural net framework but most of its processes are focusing on NLP because the maintainers are creators of the NLP community.

Or perhaps Marian-NMT, it was designed for sequence-to-sequence model machine translation but potentially many NLP tasks can be structured as a sequence-to-sequence task.


Outdated

Maybe you can try Ellogon http://www.ellogon.org/ , they have GUI support and also C/C++ API for NLP too.

like image 142
alvas Avatar answered Oct 08 '22 20:10

alvas


if you remove the restriction on c++ , you get the perfect NLTK (python)

the remaining effort is then interfacing between python and c++.

like image 25
zinking Avatar answered Oct 08 '22 20:10

zinking