nlp - How to translate syntatic parse to a dependency parse tree? -


using link grammar can have syntaxic parse of sentences following:

    +-------------------xp------------------+     +------->wv------->+------ost------+    |     +-----wd----+      |  +----ds**x---+    |     |     +ds**c+--ss--+  +-phc+---a---+    |     |     |     |      |  |    |       |    | left-wall  koala.n is.v cute.a animal.n .       +---------------------xp--------------------+     +------->wv------>+---------osm--------+    |     +-----wd----+     |  +------ds**x------+    |     |     +ds**c+--ss-+  +--phc-+-----a----+    |     |     |     |     |  |      |          |    | left-wall  wolf.n is.v dangerous.a animal.n .       +--------------------xp--------------------+     +------->wv------>+--------ost--------+    |     +-----wd----+     |  +------ds**x-----+    |     |     +ds**c+--ss-+  +--phc-+----a----+    |     |     |     |     |  |      |         |    | left-wall   dog.n is.v faithful.a animal.n .       +-----------------------xp----------------------+     +------->wv------->+----------osm----------+    |     +-----wd----+      |   +-------ds**x-------+    |     |     +ds**c+--ss--+   +--phv--+-----a-----+    |     |     |     |      |   |       |           |    | left-wall monkey.n is.v independant.a animal.n .  

the problem it's not possible afaik make sens of output programmatically; seems way go convert syntaxic output dependency parse tree how can achieve that?

you may want @ relex (at github).

from link-grammar @ wikipedia (emphasis mine):

the semantic relationship extractor relex, layered on top of link grammar library, generates dependency grammar output making explicit semantic relationships between words in sentence. output can classified being @ level between of ssyntr , dsyntr of meaning-text theory. provides framing/grounding, anaphora resolution, head-word identification, lexical chunking, part-of-speech identification, , tagging, including entity, date, money, gender, etc. tagging. includes compatibility mode generate dependency output compatible stanford parser, , penn treebank-compatible pos tagging.


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -