panx27 / amr-reader Goto Github PK
View Code? Open in Web Editor NEWAbstract Meaning Representation (AMR) reader
Abstract Meaning Representation (AMR) reader
Here is an example of AMR graph, taken from AMR_2.0 corpus that's being vizualised incompletely.
# ::id DF-199-194215-653_0484.5 ::date 2013-09-01T11:38:32 ::annotator SDL-AMR-09 ::preferred
# ::snt He has too much going on in his life right now and he thinks we can work when I have told him several times I dont love him and he does not love me.
# ::save-date Thu Dec 17, 2015 ::file DF-199-194215-653_0484_5.txt
(a / and
:op1 (g / go-on-15
:ARG1 (m / much
:degree (t2 / too))
:location (l / life
:poss (h2 / he))
:time (n / now
:mod (r / right)))
:op2 (t / think-01
:ARG0 h2
:ARG1 (p / possible-01
:ARG1 (w / work-09
:ARG1 (w2 / we)))
:concession (t3 / tell-01
:ARG0 (i / i)
:ARG1 (a2 / and
:op1 (l2 / love-01 :polarity -
:ARG0 i
:ARG1 h2)
:op2 (l3 / love-01 :polarity -
:ARG0 h2
:ARG1 i))
:ARG2 h2
:frequency (s2 / several))))
The nodes l2 (love-01) and l3 (love-01) should have two outgoing edges, but on the vizualisation they don't have any. We suppose it might be because both arguments of l2 or l3 refer to already existing nodes.
The paper you recite gave a web service of entity linking,but the website"http://blender02.cs.rpi.edu:3300"
turns to '404,not found' ,that's a pity.
Hi Xiaoman,
Thank you so much for this well-written toolkit.
I just have this small remark.
The problem comes out when we want to output the simple graphs and the html format visualization at the same time (e.g. bin/amr_reader input_dir output_dir -g s -v). In this case the simple graphs are first created and then unexpectedly replaced by the normal ones.
Thank you for your consideration and please correct me if I have any misunderstanding.
Best,
Alex
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.