Skip to content

jayralencar/pictogram_prediction_pt

Repository files navigation

Predictive Authoring for Brazilian Portuguese Augmentative and Alternative Communication

Individuals with complex communication needs (CCN) often rely on augmentative and alternative communication (AAC) systems to have conversations and communique their wants. Such systems allow message authoring by arranging pictograms in sequence. However, the difficulty of finding the desired item to complete a sentence can increase as the user's vocabulary increases. This paper proposes using BERTimbau, a Brazilian Portuguese version of BERT, for pictogram prediction in AAC systems. To finetune BERTimbau, we constructed an AAC corpus for Brazilian Portuguese to use as a training corpus. We tested different approaches to representing a pictogram for prediction: as a word (using pictogram captions), as a concept (using a dictionary definition), and as a set of synonyms (using related terms). We also evaluated the usage of images for pictogram prediction. The results demonstrate that using embeddings computed from the pictograms' caption, synonyms, or definitions have a similar performance. Using synonyms leads to lower perplexity, but using captions leads to the highest accuracies. This paper provides insight into how to represent a pictogram for prediction using a BERT-like model and the potential of using images for pictogram prediction.

Execution

  1. Generating sentences from examples: Sentence_generation.ipynb
  2. Generating sentences from vocabulary: Vocabulary_to_corpus.ipynb
  3. Corpus cleaning: Corpus_cleaning.ipynb
  4. Text to pictogram: Portuguese_AAC_WSD.ipynb

Corpus Construction

Models finetuning

  1. Finetuning with embeddings from captions: Captions_finetuning.ipynb
  2. Finetuning with embeddings from synonyms: Symnonyms_Finetuning.ipynb
  3. Finetuning with embeddings from definition: Definition_Finetuning.ipynb
  4. Finetuning with embeddings from images: Image_Adjust.ipynb
  5. Finetuning with embeddings from images + captions: Image_Caption_finetuning.ipynb
  6. Finetuning with embeddings from images + synonyms: Image_Related_finetuning.ipynb

Models testing

Testing model prediction: Testmodel.ipynb

About

A pipeline for constructing pictogram prediction models for Brazilian Portuguese

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published