Skip to content

m1l/EnglishPhonetic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

EnglishPhonetic

What it does

This program just converts English text into phonetic alphabet. Serbian Language has phonetic ortography and with the cyrilic alphabet it has "one-letter-one-sound" system. This program explores readability of text written this way and will be extended with support for other alphabet.

This produces:

LatinicaDict:

Ðis prougrm ƌast kanvərts Inggliš tekst intū fnetik elfbt. Sərbin Lenggwiƌ hez fnetik ortography end wið ða cyrilic elfbt it hez "hwan-letər-hwan-sound" sistm. Ðis prougrm iksplorz ridbiliti av tekst ritn ðis wej end wil bi ikstendid wið sport for aðər elfbt.

CyrillicDict

Дис проугрем џист канвртс Ингглиш текст инту фанетик елфабет. Србијан Ленггвиџ хез фанетик ortography енд вид ди cyrilic елфабет ит хез "вн-летр-вн-саунд" систм. Дис проугрем иксплорз ридабилити ав текст ритн дис веј енд вил би икстендид вид сапорт фор адр елфабет.

Phonetic spelling uses dictionary

CMUdict from Carnegie Mellon University

For devlopers

You need VS2019 and .NET

Open DictionaryBuilder.sln

If you run DictionaryBuilderConsole project, it will use

DictionaryBuilder\DictionaryBuilder\dict.txt

and parse it through rules from

DictionaryBuilder\DictionaryBuilderDll\PhoneticDictionaries.cs

to create new dictionary

DictionaryBuilder\DictionaryBuilder\bin\Debug\netcoreapp3.0\LatinicaDict.txt

which will contain pairs like

percent,pərsent

or if you select Cyrillic: percent,прсент

Then if you run "PhoneticTranslator" project you will get a WPF GUI app. Read the non-developers part...

For non-developers

There is a executable of this app if you don't want to compile it yourself. You can directly run file:

DictionaryBuilder\PhoneticTranslator\bin\Release\netcoreapp3.0\PhoneticTranslator.exe

On the start it will ask you to select a dictionary. This is the one created with DictionaryBuilderConsole

Select the

DictionaryBuilder\DictionaryBuilder\bin\Debug\netcoreapp3.0\LatinicaDict.txt

or

DictionaryBuilder\DictionaryBuilder\bin\Debug\netcoreapp3.0\CyrillicDict.txt

Now you can paste any text into the text are and click Convert button

Future

Version for German, Esperanto, and Spanish can be added

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages