question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to represent Double Negation by automatically modifying AMR?

See original GitHub issue

Hi,

I got one question. Probably just some tips are appreciated. Do you know what I can do to modify AMR using the double negation rule? In this case, one way is to use an antonym argument unhappy-01 to replace happy-01 and then add a :polarity -. But it seems hard to do that automatically if I got many sentences and I did not have a dictionary library that includes the whole antonym argument in AMR. Do you know there is a antonym dictionary library in AMR? Many thanks.

The original sentence is like that.

# ::snt I am happy today.
(h / happy-01
      :ARG1 (ii / i)
      :time (t / today))

The AMR by adding a :polarity - and change the happy-01 to unhappy-01.

# ::snt I'm not unhappy today.
(h / unhappy-01
      :ARG1 (ii / i)
      :time (t / today)
	  :polarity -)

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
goodmamicommented, Aug 17, 2022

Do you know there is a antonym dictionary library in AMR?

There is none. You might try WordNet (see the NLTK or Wn for Python libraries).

0reactions
goodmamicommented, Aug 30, 2022

Thanks for sharing!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · amrisi/amr-guidelines - GitHub
How to represent Double Negation by automatically modifying AMR ? ... Self-edges! ... Documentation of negated pronouns: nothing, nobody, etc. ... ProTip! Follow...
Read more >
AMR dict - USC/ISI
Alphabetical Index. Quick access: Type the first letter(s) of a topic to jump to it (just type, not into any particular text box)....
Read more >
Logic 101 (#16): Double Negation - YouTube
Replacement rules allow us to freely transition between two logically identical expressions. This means we can erase complicated expressions and ...
Read more >
DOCAMR: Multi-Sentence AMR Representation and Evaluation
Despite extensive research on parsing of En- glish sentences into Abstract Meaning Repre- sentation (AMR) graphs, full-document parsing.
Read more >
TALS AMR User Guide - WA.gov
the current month amount will contain the actual change desired for that month. The adjustment amount will show as a separate entry on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found