Skip to content

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

Notifications You must be signed in to change notification settings

versotym/phoebeConverter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published