Giter VIP home page Giter VIP logo

Comments (5)

Cartus avatar Cartus commented on May 26, 2024

Unfortunately, we do not have the preprocess code, as the TACRED dataset does not require any preprocessing. Preprocessing your own data into the format of TACRED should be trivial, just several lines of python codes will do.

You can refer to some previous issues, for example, https://github.com/Cartus/AGGCN/issues/20

from aggcn.

cxyccc avatar cxyccc commented on May 26, 2024

Thank you for your help!

from aggcn.

timoderbeste avatar timoderbeste commented on May 26, 2024

I am curious which POS tagging software is used to process the data. At the moment I am using the Stanford CoreNLP server, but the generated POS tags do not match with the default ones. For example, in the default one, left and right brackets are mapped to -LRB- and -RRB-. The result I got from Stanford is instead NNP.

I also noticed that in the file constant.py, for POS_TO_ID, there are various tags such as "$" and "#". I am wondering which POS tagger produces those tags? Thanks for your help!

from aggcn.

Cartus avatar Cartus commented on May 26, 2024

Hi, we used the TACRED dataset from this paper: https://nlp.stanford.edu/pubs/zhang2017tacred.pdf, which claimed that they used Stanford CoreNLP (Manning et al., 2014) to obtain the POS and NER annotations. We simply used the POS and NER included in the dataset, so I do not know about the process to get them.

from aggcn.

timoderbeste avatar timoderbeste commented on May 26, 2024

Got it. Thanks

from aggcn.

Related Issues (20)

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.