Skip to content

bbruhh/phonet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Phonet

https://readthedocs.org/projects/phonet/badge/?version=latest

target:https://phonet.readthedocs.io/en/latest/?badge=latest
alt:Documentation Status
https://travis-ci.org/jcvasquezc/phonet.svg?branch=master

This toolkit compute posteriors probabilities of phonological classes from audio files for several groups of phonemes according to the mode and manner of articulation.

If you are not sure about what phonological classes are, have a look at this Phonological classes tutorial

Project Documentation

The list of the phonological classes available and the phonemes that are activated for each phonological class are observed in the following Table

The list of the phonological classes available and the phonemes that are activated for each phonological class are observed in the following Table

Phonological class Phonemes
vocalic /a/, /e/, /i/, /o/, /u/
consonantal /b/, /tS/, /d/, /f/, /g/, /x/, /k/, /l/, /ʎ/, /m/, /n/, /p/, /ɾ/, /r/, /s/, /t/
back /a/, /o/, /u/
anterior /e/, /i/
open /a/, /e/, /o/
close /i/, /u/
nasal /m/, /n/
stop /p/, /b/, /t/, /k/, /g/, /tS/, /d/
continuant /f/, /b/, /tS/, /d/, /s/, /g/, /ʎ/, /x/
lateral /l/
flap /ɾ/
trill /r/
voiced /a/, /e/, /i/, /o/, /u/, /b/, /d/, /l/, /m/, /n/, /r/, /g/, /ʎ/
strident /f/, /s/, /tS/
labial /m/, /p/, /b/, /f/
dental /t/, /d/
velar /k/, /g/, /x/
pause /sil/

Installation

From this repository:

git clone https://github.com/jcvasquezc/phonet
cd phonet
python setup.py

Usage

Supported features:

  • Estimate probabilities of phonological classes for an audio file

Example use

Estimation of phonological classes

Estimate the phonological classes using the BGRU models for an audio file or for a folder that contains audio files inside:

python
def get_phon_wav(audio_file, feat_file, phonclass="all", plot_flag=True)
Parameter Description
audio_file file audio (.wav) sampled at 16 kHz
feat_file file (.csv) to save the posteriors for the phonological classes
phonclass phonological class to be evaluated The list of phonological classes include: "consonantal", "back", "anterior", "open", "close", "nasal", "stop", "continuant", "lateral", "flap", "trill", "voice", "strident", "labial", "dental", "velar", "pause", "vocalic" or "all"
plot_flag True or False, whether you want plots of phonological classes or not
returns It crates the feat_file with the estimation of the phonological classes for each time-frame of the audio file.

About

Keras-based python framework to compute phonological posterior probabilities from audio files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%