Skip to content

Move annotations from GATE to WebAnnotator format #47

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

Merged
merged 21 commits into from
Sep 15, 2017
Merged

Move annotations from GATE to WebAnnotator format #47

merged 21 commits into from
Sep 15, 2017

Conversation

whalebot-helmsman
Copy link
Contributor

  • Add utilities to convert and verify conversion between formats
  • Convert current GATE annotations to WebAnnotator format
  • Updated example to new annotations placement

@codecov
Copy link

codecov bot commented Sep 15, 2017

Codecov Report

Merging #47 into master will decrease coverage by 2.11%.
The diff coverage is 58.64%.

@@            Coverage Diff             @@
##           master      #47      +/-   ##
==========================================
- Coverage   82.98%   80.86%   -2.12%     
==========================================
  Files          34       37       +3     
  Lines        1704     1866     +162     
==========================================
+ Hits         1414     1509      +95     
- Misses        290      357      +67

str(WEBSTRUCT_DATA / "corpus/us_contact_pages/annotated/*.xml"),
loader=gate_loader
str(WEBSTRUCT_DATA / "corpus/us_contact_pages/wa/*.html"),
loader=wa_loader
Copy link
Member

@kmike kmike Sep 15, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The docstring is no longer valid, and there is no need to create gate_loader.

@kmike kmike merged commit 3556a57 into scrapinghub:master Sep 15, 2017
@kmike
Copy link
Member

kmike commented Sep 15, 2017

Looks good, other than a minor issue, thanks @whalebot-helmsman! Could you please fix it in a separate PR?

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

Successfully merging this pull request may close these issues.

2 participants