hipster-philology / pandora

A Tagger-Lemmatizer for Natural Languages
MIT License
9 stars 4 forks source link

Main.py and tagger.train() #8

Closed Jean-Baptiste-Camps closed 7 years ago

Jean-Baptiste-Camps commented 7 years ago

I am not sure this one is worth an issue, but since there might be something I am missing here: why do we use

    for i in range(int(params['nb_epochs'])):
        tagger.epoch()
        tagger.save()

in Main.py, instead of the existing tagger.train() ?

mikekestemont commented 7 years ago

This makes sure that your tagger gets saved after every epoch... Fine with me to change this!