Recognize phonemes in Yoruba through a model trained on phonemes in English
# X-lingual_IPA_ASR
This is a final project for the Automatic Speech Recogntion course offered in Summer 2025 by the University of Tuebingen.
We pretrain a BiLSTM-ResNet model on English language data from TIMIT, and evaluate its performance on Yoruba. We provide measures such as cross-entropy and PMI, hoping to disentangle learning errors from transfer errors.
## English → Yoruba and linguistic generalisation
Regardless of the orthography languages draw their sounds from a universal set of types. Linguists worked out how similar these prototypical sounds are. [link] To a lage extent what sound types a language uses is studied, here we draw data from PHOIBLE. This implies that, if two languages use a similar set, some skills in recognizing the sounds of one language can be transferred to the sounds of another. How well?
---
### 📁 `PPGs/`:
This folder contains scripts to extract the embeddings (last layer representation) of correctly predicted phones, as well as code to obtain their dimensionally reduced projection. The script also computes the correlation between the phone representation distance and the distance cost assigned by our fwPER formula.
### 📁 `models/`:
This defines the ASRModel class, and provides helper functions for training and evaluation
### 📁 `zero-shot-final/`:
Contains the paper and associated references/ images in Latex format
### 📁 `dataset/`
The subfolder “mfcc_extraction_script” contains the notebooks we used to obtain the log-mels of the audio data.
Data is available here:
- TIMIT data. Full train set for TIMIT (logmel scale) available at:
drive.google.com
- Original Hugging Face Dataset
huggingface.co
- Yoruba data:
drive.google.com
### 📁 `conversion_tools/`
This contains the string processing functions, ensuring the same conventions for …