I want to plot a knowledge graph from text paragraph as input in python, So wanted to know is there any transfer learning model, machine learning method or python library which helps in generating knowledge graph directly.

Currently, I am using the spacy library to get dependency parsing tags of words and then I have categorised tags into the subject, relation, object buckets or as a node in the knowledge graph.

But this method is too static as it is difficult to extract info from any type of sentence i.e taking into consideration all types of grammar syntax and semantics in order to properly categorise them into nodes. so is there any alternate way of developing a knowledge graph so that it could work for any type of grammatical sentence it encounters and convert to a knowledge graph?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.