Skip to content

dpicca/homer_personality_ontology

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Homer Personality Ontology

Context

This project is part of a semantic web course initiative, focusing on the analysis of various texts. The chosen text for this project is the "Odyssey" by Homer.

Objectives

The project's objectives are structured into four distinct steps:

  1. Convert the initial file (./etape_1/hom.od_eng.xml) into a .json format.
  2. Disambiguate the texts using pywsd.
  3. Compare the disambiguation results with data in OntoSenticNet.
  4. Perform an ontological alignment between the project data and LemonUby.

Development and Procedure

The project is divided into four steps, each with specific tasks:

Step 1 - Conversion

Convert the file ./etape_1/hom.od_eng.xml to ./etape_1/hom.od_eng.json using the [xmltodict] library.

Step 2 - Disambiguation

The text was cleaned to remove special characters that were not encoded correctly. The milestones and locations XML tags were also removed. The file was then restructured to retain only relevant elements. Disambiguation was performed using pywsd and nltk.

Step 3 - Alignment with OntoSenticNet

The synsets obtained from the previous step were used to find the most similar concept in OntoSenticNet using Fuseki. The output provides information about the word's synset, concept, and associated sentics.

Step 4 - Ontological Alignment

The ontological alignment was achieved using the Lemon ontology. Two alignment methods were explored:

  1. A direct alignment inspired by LemonUby's structure.
  2. A triplet-based alignment, with three variations of the alignment file.

Results and Conclusion

The developed codes produce results that align with the project's objectives. The project is designed as a pipeline, allowing for easy processing of properly formatted input data.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages