Natural language parsing (NLP) with D
Rikki Cattermole via Digitalmars-d
digitalmars-d at puremagic.com
Tue Oct 20 05:06:09 PDT 2015
On 21/10/15 1:01 AM, Eliatto wrote:
> Hello! I am rather new to D ecosystem (I am a C++ developer). I know
> that there are code-dlang and awesome-D collections of libraries. But I
> have not found any NLP libraries in D
> (https://github.com/jogojapan/drulex is not worth mentioning), though
> there are Go and Rust NLP libraries on github (they are new languages
> too). Why is this field unpopular among (D)evelopers?
> What can be used for base POS tagging and NP chunking of English texts
> instead? I mean wrapping some C/C++ library without porting. Which one
> will cause minimal headache during glueing with D?
> P.S. I suppose that it will be nice to see the histogram of libs using
> "awesome-D" list. For example, one rectangle shows 3D engine
> percentage(libs number divided by total awesome-D libs count and
> multiplied by 100), another shows logger libs percentage...
The only thing I could find on code.dlang.org was
https://github.com/Herringway/natcmp
Not really what you want I think.
In terms of binding c/c++ to D, you should be able to do it almost whole
sale. You will need to create shims on C++'s side for certain features
such as operator overloads, templates and of course creation.
At least as of what I know. There was some serious C++ improvement
fairly recently (DDMD) so somebody else will need to confirm about it.
As for which C/C++ library you should base off of? Well no idea, what
would you like to use?
Also this would be better suited for D.learn.
More information about the Digitalmars-d
mailing list