Coder Social home page Coder Social logo

AMR in AMR about amr-guidelines HOT 5 CLOSED

flipz357 avatar flipz357 commented on July 23, 2024
AMR in AMR

from amr-guidelines.

Comments (5)

nschneid avatar nschneid commented on July 23, 2024 1

Representing symbolic notation in AMR is uncharted territory AFAIK.

That said, the string-entity docs here only show an :op1 and it can contain spaces within the double quotes. As long as it's all on one line I think it should be fine.

from amr-guidelines.

nschneid avatar nschneid commented on July 23, 2024

My gut feeling is that it's a string entity, because AMR notation is external to the language being annotated (English), or indeed, any natural language.

from amr-guidelines.

flipz357 avatar flipz357 commented on July 23, 2024

Yes that was my gut feel as well, thx!

from amr-guidelines.

flipz357 avatar flipz357 commented on July 23, 2024

@nschneid At least.... it's a fun challenge for a sota parser:

# This is a so-called abstract meaning representation for the sentence "The cat runs":  "(r / run-01 :arg0 (c / cat))"
(r / representation-02
   :ARG0 (t / this)
   :ARG1 (s / sentence
            :wiki -
            :name (n / name
                     :op1 "The"
                     :op2 "cat"
                     :op3 "run"))
   :mod (a / abstract)
   :mod (s2 / so-called)
   :ARG1-of (m / mean-01
               :ARG2 (s3 / string-entity
                         :value "avar0"
                         :ARG1-of (m2 / mean-01
                                      :ARG2 (s4 / string-entity
                                                :value "c")))))

(needed to sligthly adjust the example sentence since the other example sentence didn't work at all)

from amr-guidelines.

jheinecke avatar jheinecke commented on July 23, 2024

@nschneid, in case of taking

(r / represent-01
     :arg0 (s / string-entitiy
                     :op1 "(r / run-01 :arg0 (c / cat))")
     :arg1 (r2 / run-01
                     :arg0 (c2 / cat))
     :arg2 (m / meaning))

as the correct representation, are white spaces allowed in :op1 or should we split the string into

:op1 "(r/run-01" :arg0 (c / cat))")
:op2 ":arg0")
:op3 "(c/cat))"

or any other split or way to avoid spaces ?

The AMR guidelines are not explicit about spaces, but all examples in the guidelines (and in the LDC data) use :op1 ... :opN for strings instead of spaces

from amr-guidelines.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.