Skip to content
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

[Documentatio] train-ner script #19

Closed
ghost opened this issue Jul 29, 2015 · 1 comment
Closed

[Documentatio] train-ner script #19

ghost opened this issue Jul 29, 2015 · 1 comment

Comments

@ghost
Copy link

ghost commented Jul 29, 2015

Hi,

using the ner_conll example I found the train-ner script in MITIE/tools/ner_conll/train-ner:

./ner --train-chunker eng.train_all_some_sentences_combined $THREADS > $LOG
    ./ner --train-id      eng.train_all_some_sentences_combined $THREADS >> $LOG

    ./ner --test-id eng.testb >> $LOG
    ./ner --tag-conll-file ner_model.dat eng.testb | ./conlleval 
    echo $LOG

As I cannot find a executable called "ner" - I'm just wondering if it should be train-ner instead, but the train-ner command line arguments only provides:

parser.add_option("h", "Display this help information.");
        parser.add_option("train", "train named_entity_extractor on CoNLL data.");
        parser.add_option("test", "test named_entity_extractor on CoNLL data.");
        parser.add_option("threads", "Use <arg> threads when doing training (default: 4).",1);
        parser.add_option("tag-conll-file", "Read in a CoNLL annotation file and output a copy that is tagged with a MITIE NER model.");

See MITIE/tools/ner_conll/src/main.cpp.

So my question is if that small train_ner script should be updated then?

Thanks in advance (+ I'm really looking forward to train a model for German),

Stefan

@davisking
Copy link
Contributor

The train-ner script you found is in the same folder as the ner program. Also, to train a german model you will have to use the wordrep program to train a german word model before doing any entity extraction training.

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

No branches or pull requests

1 participant