Comments (6)
Looks like you forgot to install a spacy model.
You need to run python3 -m spacy download en
after you pip install errant. It's the last line in the installation instructions.
from errant.
Hi,
You don't need to be confused because you are correct!
- Use
errant_parallel
to build a new M2 file from the original sentences and your corrected sentences. - Use
errant_compare
to compare your system M2 file with the gold standard M2 file.
That's all there is to it. :)
from errant.
The gold M2 file for W&I+LOCNESS test is private to prevent people from overfitting to it.
Instead, you can submit your corrected W&I+LOCNESS output to Codalab.
All the instructions on how to do this are also available on that page. :)
from errant.
Thank you @chrisjbryant for your support. I have applied errant
as:
errant_parallel -orig ./data/test_bea.orig -cor ./data/test_data.txt -out ./data/out_data.m2
I got the below error:
Loading resources...
Warning: no model found for 'en'
Only loading the 'en' tokenizer.
Processing parallel files...
Traceback (most recent call last):
File "/home/aiman/anaconda3/bin/errant_parallel", line 8, in
sys.exit(main())
File "/home/aiman/anaconda3/lib/python3.6/site-packages/errant/commands/parallel_to_m2.py", line 27, in main
orig = annotator.parse(orig, args.tok)
File "/home/aiman/anaconda3/lib/python3.6/site-packages/errant/annotator.py", line 25, in parse
self.nlp.tagger(text)
TypeError: 'NoneType' object is not callable
Any suggestions?
from errant.
Thank you, dear.
Everything is working well, I have ignored to use it with a virtual environment :)
One last favour
For W&I+LOCNESS V2.1test set, I got just 'ABCN.test.bea19.orig', corrected sentence isn't an m2 file.
Kindly, do you know any way to get the gold M2 for W&I+LOCNESS or how to generate it?
from errant.
Thank you so mutch ...
from errant.
Related Issues (20)
- How can I transform the M2 back to plain text HOT 2
- Errant for Arabic language HOT 2
- Errant incompatible with spacy 3 HOT 9
- Expose errant_compare functionality via the API HOT 3
- Merge Casing Issue HOT 2
- Handling Missing Annotations on certain sentence HOT 5
- Edits missed for a substitute -> Delete -> Substitute sequence. HOT 3
- OSError: [E053] Could not read meta.json from en\meta.json HOT 3
- Implementation issue HOT 6
- UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 2490: ordinal not in range(128) HOT 2
- Parallel_to_m2 is not working HOT 1
- Licensing concerns HOT 6
- Errant parse method not working HOT 5
- Wrong format for incorr_sentences.txt HOT 4
- ‘’AttributeError: 'English' object has no attribute 'tagger'” when running the "Quick Start" code in API given in README.md HOT 4
- Ignore temporary files generated by installation HOT 1
- cancelling
- Edit indices HOT 3
- Simulate Errors HOT 1
- API Quickstart script not working - Please update with fix provided HOT 2
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 errant.