Distributional Semantics (word embedding with Word2Vec and CADE): the evolution of tópoi in the Italian literary tradition
- python 3.7+
- multiprocessing
- Pandas
- Numpy
- cade
- gensim
- smart_open
- spacy
- it_core_news_lg:
python -m spacy download it_core_news_lg
- it_core_news_lg:
- simplemma
- nltk
The Greek term tópoi, in the singular tòpos, translated simply as "commonplace", identifies the repertoire of thematic and formal constants that constitute the morphological framework of the Western and Italian literary tradition. Although the spectrum of narrative patterns that have characterized the literature produced in the Italian peninsula is broad and changing over time, tòpos represent a form of imitatio that has never completely faded away, thus a useful tool for handing down the literary tradition. Indeed, conventionality and recurrence allow tòpos to traverse centuries and literary phases, yet lend themselves to the different formulations and interpretations of individual authors. Just think of the different visions of the locus amenous tòpos, the ideal place, which goes from 'natural earthly paradise' in classical literature to a grotesque and solitidune place in decadentism.
The goals of our project were:
- to obtain corpora that were consistent with our research questions from a collection of texts obtained from two main sources
- to use distibutional semantics, and in particular algorithms from the word2vec family along with the CADE frameword in order to learn word embeddings from the generated and processed corpora
- and finally to Analyze some particularly long-lived tòpos, chosen arbitrarily, to be able to answer some research questions
The questions we asked ourselves were:
- How do the longest-lived literary tòpos change in different historical periods ? and thus Does the historical-cultural context influence the recurring themes ?
- How do the canons proper to the different literary currents of Italian literature shape the representation of these common themes ?
- Given some tòpos and concepts peculiar to some of the greatest authors of Italian literature what are the correspondences in the works of other great authors ?