Git Product home page Git Product logo

wnut_2020_ner's People

Contributors

cocoxu avatar gsvarma avatar jeniyat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wnut_2020_ner's Issues

Discrepency between the standoff and the conll data.

Hi! I was looking at the dataset and I found some differences in some of the counts when looking at the standoff vs the conll data. When you look at the number of sentence in the standoff training data it matches the number in your readme.

$ cat data/train_data/Standoff_Format/*.txt | wc -l
8436
$ cat data/dev_data/Standoff_Format/*.txt | wc -l
2838
$ cat data/test_data/Standoff_Format/*.txt | wc -l
2809

(Note that number of sentences in the standoff format test data don't seem to match your read me either unless the sentences in the read me aren't equivalent to steps in the protocol?)

However when I looked at the conll formatted data, first using my custom conll reading code and then using the conllu package from pypi, I am seeing more sentences in the training and development data (8444 and 2839 respectively) and fewer sentences in the test data (2803)

Here is the code I used to get the counts.

from conllu import parse
from glob import iglob
docs = 0
sentences = 0
for file in glob("data/train_data/Conll_Format/*_conll.txt"):
    docs += 1
    with open(file) as f:
        sents = parse(f.read(), fields=["suface", "NER"])
        sentences += len(sents)
print(f"# of documents: {docs}")
print(f"# of sentences: {sentences}")
# of documents: 370
# of sentences: 8444

Any idea what is going on?

Is relation extraction still a part of this Shared Task?

Hi! I was looking at the released data and code and noticed some things that led me to wonder: Is relation extraction still part of this Shared Task?

  1. There are inconsistencies between the Standoff and the CoNLL data, making combining the data difficult. (A similar issue was already raised in #3.) These are related to tokenization. Two randomly chosen examples:

    • In protocol_7.ann, line 268, the token untransformed actually contains a space at the end, which messes up token boundaries. This seems to be because it is a non-breaking space and happens multiple times in the data.
    • protocol_102_conll.txt, line 149, contains the token FLowCamMake, labeled as B-Device. In contrast, protocol_102.ann correctly identifies that there is actually an entity boundary with in this sequence of characters, splitting it up into FLowCam and Make sure.
  2. Unless I am missing something, there does not seem to be an official evaluation script for relations/events. The Standoff-to-CoNLL conversion script also seems to completely ignore relations. The baseline system also seems to only predict entities.

  3. The Readme.md is titled "WNUT 2020: Named Entity Extraction", not mentioning relations.

So my question is: Are relations still part of the Shared Task? If so, will an official evaluation script be released for them?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.