nlp - How can I extract dependency triple from a parse tree -


how can extract dependency triple parse tree generated opennlp parser arabic texts?

for example, dependency triples in “i have brown dog” consist of: (have subj i), (have obj dog), (dog adj-mod brown),(dog det a)

i don't know arabic, didn't think opennlp parser produced dependencies. have write work parses. in english, parse this:

(top (s (np (prp i)) (vp (vb have) (np (np (dt a) (jj brown) (nn dog))) (. .)) 

it's @ least conceivable produce triples describe this, it's not straightforward. have tried stanford arabic parser?


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -