Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support AMRs with different arrity #295

Open
zmedelis opened this issue Mar 8, 2021 · 1 comment
Open

Support AMRs with different arrity #295

zmedelis opened this issue Mar 8, 2021 · 1 comment

Comments

@zmedelis
Copy link
Collaborator

zmedelis commented Mar 8, 2021

Let's say I want to generate two sentences with the same meaning (same AMR):

  1. Apple is red
  2. Apple has a red color

This can be implemented in a single HasProperty AMR and it currently works generating good sentences:

image (2)

If I do not specify the property kind argument, I'd still expect the first "Apple is red" version to be generated. Currently, this does not work.
image (3)

@rokasramas
Copy link
Member

As a temporary solution, this can be achieved using IF block inside AMR that checks if "property kind" variable is defined on the optional frame:
Screenshot from 2021-03-16 11-04-06

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants