Entity extraction from text file. | Sololearn: Learn to code for FREE!


Entity extraction from text file.

Hello guys, I'm working on a text file where I want to extract living entities(human beings, animals etc), place(school,park etc) and objects(pen, books etc) .I have tried using NLTK, Spacy but didn't got accurate output. Please suggest some methods.

5/6/2021 3:35:16 PM

syed fahad

2 Answers

New Answer


It is going to depend on the format of the data. Is the data is comma separated values (CSV), JavaScript Object Notation (JSON), or eXtensible Markup Language (XML)? Python has many libraries for reading formatted and structured data. Which one would be the most beneficial to you will depend on how the data is structured. If the data is unstructured then you have a serious problem on your hands.


its csv file I have converted it into text and trained Custom NER model but the accuracy isn't good