mdtux89 / amr-evaluation Goto Github PK
View Code? Open in Web Editor NEWEvaluation metrics to compare AMR graphs based on Smatch
Evaluation metrics to compare AMR graphs based on Smatch
I have a student who is interested in using/extending this tool, but it looks like it requires Python 2, which will no longer be maintained after this year. Is there a plan to update for Python 3? It appears that https://github.com/snowblink14/smatch has taken steps toward Python 3 compatibility.
In scores.py, smatch_old
is imported instead of smatch
. What is the reason for this? It works for me on Python 3.7.2 to import the newer smatch
.
Hi again,
where is the extract.py file?
I tried using extract_np.py file in the same way but it did not work for me.
thanks!
Miguel
Hi, thanks for this tool.
When trying to evaluate a gold test set vs gold test set I get the following error message:
./evaluation.sh dev2014.txt dev2014.txt
Smatch -> P: 1.00, R: 1.00, F: 1.00
Unlabeled -> P: 1.00, R: 1.00, F: 1.00
No WSD -> P: 1.00, R: 1.00, F: 1.00
Traceback (most recent call last):
File "scores.py", line 14, in
import smatch.smatch_edited as smatch
File "/amr-evaluation/smatch/smatch_edited.py", line 15, in
import src.amr
File "/amr-evaluation/smatch/src/amr.py", line 25, in
from collections import Counter
ImportError: cannot import name Counter
am I doing something wrong?
thanks!
Would it be possible to get the original data from the paper as a benchmark for trying out other similarity metrics?
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.