简体   繁体   English

spaCy 2.0:从excel文件自定义NER模型问题中加载培训数据

[英]spaCy 2.0: Loading Training Data from excel file Custom NER Model issues

I have made a custom NER model using spaCy by loading the training data from a text file in the prescribed format and the model is working fine, However If I am trying to load training data from excel file we get the output model but does not getting the entities(no output and also no error). 我通过使用指定格式从文本文件加载训练数据并使用spaCy制作了一个自定义NER模型,该模型工作正常,但是,如果我尝试从excel文件加载训练数据,我们会得到输出模型,但无法获取实体(无输出,也无错误)。 Model from the training data in text file is working perfectly giving proper outputs but not getting results if loading training data from xlsx file. 文本文件中训练数据的模型可以正常工作,提供适当的输出,但是如果从xlsx文件加载训练数据则无法获得结果。 No problem in datatypes(same for both the cases). 数据类型没有问题(两种情况都相同)。 Even If I am writing the same into a text file and then loading it , facing same issue 即使我将其写入文本文件然后加载它,也面临相同的问题

请在4个空格后编写代码,您将在堆栈溢出或ctrl + k中获得正确的格式,然后编写代码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM