Skip to content

Computes the Dynamic Time Warping between two phoneme sequences.

Notifications You must be signed in to change notification settings

Elquintas/DTW_Phoneme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File specification:

target.txt - target phoneme sequence
predicted.txt - predicted phoneme sequence to be aligned with target.txt
dist.csv - Matrix containing phoneme distance (French language)
phonemes.txt - file containing the indexes of all phonemes for the phoneme
		distance matrix.
Both target and predicted sequence files are stored in kaldi format, specific
for phoneme alignment.

Input:
$python dtw_phoneme.py <target.txt> <predicted.txt> <phonemes.txt> <dist.csv>

Output: 
	- Similarity score
	- DTW plot between the two sequences

About

Computes the Dynamic Time Warping between two phoneme sequences.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages