Coder Social home page Coder Social logo

File path? about att-chemdner HOT 5 CLOSED

lingluodlut avatar lingluodlut commented on July 19, 2024
File path?

from att-chemdner.

Comments (5)

nitya-yekkirala avatar nitya-yekkirala commented on July 19, 2024

just go with absolute paths.. extract the files and give absolute paths. this worked for me.

from att-chemdner.

lingluodlut avatar lingluodlut commented on July 19, 2024

You can find the eval_script in the "evaluation" folder. @JunhengH

from att-chemdner.

JunhengH avatar JunhengH commented on July 19, 2024
if CORPUS == "chem":
#{{{
    opts.train="./chemdner_corpus/chemdner_training.ner.doc.token4.BIO_allfea";
    opts.dev="./chemdner_corpus/chemdner_development.ner.doc.token4.BIO_allfea";
    opts.test="./chemdner_corpus/chemdner_evaluation.ner.doc.token4.BIO_allfea";
    opts.pre_emb="./word2vec_model/chemdner_pubmed_drug.word2vec_model_token4_d50";
    ssplitTrainFName="./chemdner_corpus/training.ner.ssplit.token4.BIO";
    ssplitDevFName="./chemdner_corpus/development.ner.ssplit.token4.BIO";
    ssplitTestFName="./chemdner_corpus/evaluation.ner.ssplit.token4.BIO";
    tagFilter=None;
#}}}
elif CORPUS == "CDR":
#{{{
    opts.train="./cdr_corpus/cdr_training.ner.doc.token4.BIO_allfea_drug";
    opts.dev="./chemdner_corpus/cdr_development.ner.doc.token4.BIO_allfea_drug";
    opts.test="./chemdner_corpus/cdr_test.ner.doc.token4.BIO_allfea_drug";
    opts.pre_emb="./word2vec_model/chemdner_pubmed_drug.word2vec_model_token4_d50";
    ssplitTrainFName="./chemdner_corpus/cdr_training.ner.sen.token4.BIO_allfea_drug";
    ssplitDevFName="./chemdner_corpus/cdr_development.ner.sen.token4.BIO_allfea_drug";
    ssplitTestFName="./chemdner_corpus/cdr_dtest.ner.sen.token4.BIO_allfea_drug";
    tagFilter=['Disease'];
#}}}

else:
    assert 0,"unknown corpus";

I wonder how you set the folders and paths. It seems not working for me. Or could you provide some insights on how you organize your code and files? @lingluodlut

from att-chemdner.

lingluodlut avatar lingluodlut commented on July 19, 2024

These files can be obtained in data/cdr_corpus.rar and data/chemdner_corpus.rar. You can download and unzip them. Then set the paths of these files. @JunhengH

from att-chemdner.

JunhengH avatar JunhengH commented on July 19, 2024

I can definitely find the files from the zipped files but it does not seem that readable. Thanks for the help and I would consider this model later.

from att-chemdner.

Related Issues (14)

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.