Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phoebeConverter

Converter from PhoEBE (phonetic notation used in Corpus of Czech Verse) to IPA, X-SAMPA, and Czech Phonetic Transcription.

Examples

Python

import phoebeConverter

p = PhoebeConverter()
phoebe_to_convert = 'Zili bili Det a bapka'
converted = p.convert(phoebe_to_convert, system='ipa')
print('original:  {0}'.format(phoebe_to_convert))
print('converted: {0}'.format(converted))

>>> original: Zili bili Det a bapka
>>> converted: ʒɪlɪ bɪlɪ ɟɛt a bapka

PHP

include_once "phoebeConverter.php";

$p = new PhoebeConverter();
$phoebe_to_convert = 'Zili bili Det a bapka';
$converted = $p->convert($phoebe_to_convert, 'ipa');
echo('original: ' . $phoebe_to_convert . ' ||| converted: ' . $converted);

>>> original: Zili bili Det a bapka ||| converted: ʒɪlɪ bɪlɪ ɟɛt a bapka

About

Converter from PhoEBE (phonetic notation used in Corpus of Czech Verse) to IPA, X-SAMPA, and Czech Phonetic Transcription.

Topics

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages