Nadezhda Komarova: Joลพef Stefan Institute, Ljubljana, Slovenia; Technical University of Munich, Munich, Germany ยท Inna Novalija: Joลพef Stefan Institute, Ljubljana, Slovenia
We present a transparent, graph-based approach to text generation and characteristic phrase extraction in the domain of smell. Weighted directed graphs of ๐-grams are constructed from the smell-filtered portion of the Google ๐-grams dataset (20,000โ60,000 ๐-grams), and three pathfinding strategies โ a greedy algorithm, the BellmanโFord algorithm, and topological sorting โ generate continuations of olfactory seed phrases. As reference texts are unavailable, generation is evaluated with two graph-tailored metrics complemented by sentence-transformer coherence scores, and we study the effect of the seed ๐-gram degree, the dataset size, and whether the graph is cyclic. Building on the same structures, vertex-level clustering coefficients and closeness centrality extract phrases characteristic of olfactory subdomains such as floral scents, under three settings: default, verb-filtered, and generation-augmented. The two families of metrics are found to disagree โ the greedy algorithm scores highest on the graph-tailored metrics while the global methods score highest on coherence โ and the three extraction settings surface qualitatively different olfactory vocabulary, offering an interpretable complement to purely neural approaches.
Keywords: Smell, Olfactory Language, Graphs, ๐-grams, Clustering Coefficients, Centrality Measures, Text Generation, Keyphrase Extraction
