Skip to content

jhasegaw/text2ipa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

text2ipa

This is a tool to convert text files to IPA. It currently only does a very simple English version.

Installation:

python setup.py install

Usage:

Command-line usage:

t2ipa <language> <inputfile> <outputfile>

<language> should be a capitalized language name, or a lowercase ISO 639-3 code.
<inputfile> is the name of the text file you want to convert.
<outputfile> is the output filename; if omitted, output is printed to stdout.

Usage in python:

>>> import text2ipa
>>> converter=text2ipa.Converter('English')
>>> output=converter.convert('this is a test')
>>> print(output)
θɪs ɪs ə tɛst

About

convert text to IPA.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages