I have set of tags per document, and want to create a tree structure of the tags, for example:

Tags:

- Student,

- Instructor,

- Student_profile,

- The_C_Programming_Language_(2nd Edition),

- Head_First_Java

I need to generate a hierarchy as per the attached example image.

Are there Free taxonomy/ontologies which can give Parent words? like

get_parent_word( "Student", "Instructor") = 'People'

get_parent_word("The_C_Programming_Language_(2nd Edition)", "Head_First_Java") = "Book"

is_correct_parent(parent: "Student", child: "Student_profile") = True

I have a corpus of English as well as Technical documents and use Python as the main language. I am exploring WordNet and SUMO Ontology currently, if anyone has used them previously for a similar task or if you know something better I would really appreciate your guidance on this.

More Pratik Ramchandra Erande's questions See All
Similar questions and discussions