Re-train the probablepeople model
mainAfter adding new labeled training data, you must re-train the model using parserator train. You can train specific model files (person, company, or generic) by pointing to the corresponding XML training files. To train a generic model that handles both, separate the training files with a comma.
Training Commands:
Generic model (both people and companies):
parserator train name_data/labeled/person_labeled.xml,name_data/labeled/company_labeled.xml probablepeople --modelfile=genericPerson model only:
parserator train name_data/labeled/person_labeled.xml probablepeople --modelfile=personCompany model only:
parserator train name_data/labeled/company_labeled.xml probablepeople --modelfile=company
parserator train [traindata] probablepeople