Dialogue system based on fuzzy logic and word embeddings
Jose Roig, Sara (2022)
Jose Roig, Sara
2022
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-2022053012977
https://urn.fi/URN:NBN:fi:amk-2022053012977
Tiivistelmä
The main purpose of this thesis was to create the proof of concept of a dialogue system of a videogame. The system would consist of a dialogue graph, a word search to allow the player to interact with a non-player character and some fuzzy logic variables to control the state of the character.
The system was created using the game engine Unity with an Ink-unity integration plugin, the Inky editor and some external C# libraries. It assesses the feasibility of using word embeddings, obtained with a pretrained unsupervised learning algorithm; and semantic similarity, obtained through cosine similarity, to match words in a word search.
The results showed a low suitability of the word embeddings model and semantic similarity used due to having a low precision for the required task. In contrast, the dialogue graph and the fuzzy logic state variables have been shown to achieve the desired outcome.
The system was created using the game engine Unity with an Ink-unity integration plugin, the Inky editor and some external C# libraries. It assesses the feasibility of using word embeddings, obtained with a pretrained unsupervised learning algorithm; and semantic similarity, obtained through cosine similarity, to match words in a word search.
The results showed a low suitability of the word embeddings model and semantic similarity used due to having a low precision for the required task. In contrast, the dialogue graph and the fuzzy logic state variables have been shown to achieve the desired outcome.