MedKhem / grobid-dictionaries

32 stars 7 forks source link

Create training method not working properly #48

Closed Tanmay98 closed 2 years ago

Tanmay98 commented 2 years ago

Hi @MedKhem, thanks for making grobid-dictionary. So, I installed as per the documentation guidelines successfully. But I am currently facing two errors:

(i) The models are getting trained perfectly and producing the appropriate results on web server but when I try to produce new training data (xmls) using the create training method, I am unable to get the correct tags in the xml produced. By using CreateTraining methods for respective models,I am generating weird output because the dictionarySegmentation model is producing no tags, whereas the dictionaryBodysegmentation is producing the label tags of dictionarySegmentation model, and the lexicalEntry model is generating the label tags for dictionaryBodySegmentation model.

(ii) Secondly, when I launch the web server using maven, I sometimes get the following error Error encountered while requesting the server. Content is not allowed in prolog.

Thanks in advance for helping me !