Comments (3)
What do you mean wrongly parsed by the grammar parser?
from amr-eager.
You can see the grammar here https://github.com/nschneid/amr-hackathon/blob/master/src/amr.peg
And here is the result when I run the amr_hackathon:
amr_lib.amr_hackathon.amr.AMRSyntaxError: Well-formedness error in annotation:
(v13 / say-01
:ARG0 (v12 / ”)
:time (v9 / condemn-01
:ARG1 (v6 / change-01
:ARG1 (v5 / system)
:mod (v4 / politics)
:ARG0 (v2 / country
:name (v3 / name
:op1 "Italy")
:wiki "Italy")
:location (v7 / country
:name (v8 / name
:op1 "Italy")
:wiki "Italy"))
:ARG2 (v11 / instability
:mod (v10 / politics)))
:ARG1 (v19 / and
:op2 (v22 / have-org-role-91
:ARG2 (v23 / professor)
:ARG1 (v21 / science
:mod (v20 / politics)))
:op2 (v17 / have-org-role-91
:ARG2 (v18 / diplomat)
:time (v16 / former))
:op1 (v14 / person
:name (v15 / name
:op1 "Sergio"
:op2 "Romano")
:wiki "Sergio_Romano"))
:ARG1 (v1 / “))
Rule 'CONCEPT' didn't match at '”)
:time (v9 / c' (line 2, column 18).
from amr-eager.
Yes I see. I clearly shouldn't have this kind of "" concepts anyway so I should stop the parser from generating them but I'm not sure when I'll have time to do the fix so if it's urgent in the meanwhile you could just try replacing them with a dummy concept like 'quote' if you want to be able to parse them with that grammar.
from amr-eager.
Related Issues (12)
- Failed downloading resources HOT 2
- Online demo is down HOT 1
- error in downloading HOT 5
- KeyError when preprocessing for the training data HOT 5
- Compiling on Windows HOT 1
- UnpicklingError while loading the model with PyTorch HOT 5
- Adapting to Portuguese HOT 4
- .parsed file is empty HOT 1
- nomist has startd anheing 32,1j can do the other
- .parsed file is empty! HOT 12
- Is this macOS problem? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amr-eager.