Hironsan / anago

Bidirectional LSTM-CRF and ELMo for Named-Entity Recognition, Part-of-Speech Tagging and so on.
https://anago.herokuapp.com/
MIT License
1.48k stars 371 forks source link

Update a small bug #96

Closed doggeral closed 5 years ago

doggeral commented 5 years ago

There is no definition "preprocessor_file" in the trainning example.

Hironsan commented 5 years ago

Thanks for your contribution!

But I want you to add preprocessor_file argument instead of using params_file. Because params_file is used for saving model's hyperparameter.

parser.add_argument('--preprocessor_file', default='preprocessor.json', help='preprocessor file')