yohasebe / rsyntaxtree

Syntax tree generator for linguistic research
http://yohasebe.com/rsyntaxtree
101 stars 21 forks source link

Dependency tree #4

Closed arjunmenon closed 2 years ago

arjunmenon commented 7 years ago

Hey Is there any ruby program to generate the dependency tree in the first place?

I would not prefer to use stanfords, it is very bloated and slow. Part of the reason sticking with engtagger. Much faster and equally efficient.

Anything like that for dependency parsing?

yohasebe commented 7 years ago

I can't think of any good dependency parser written in pure ruby. Actually I use Enju for syntactic parsing. It's a C program, if I understand it correctly. There is no existing ruby interface, so you need to write code to pipe command line outputs. Enju is a bit old and not extremely fast, but at least it compiles to a single file binary.

arjunmenon commented 7 years ago

Hey Thanks for that. Enju looks good. It is slow, but there aren't much options anyway. And you are right, Ruby doesn't have much of NLP.