Python LMF library
 All Classes Namespaces Files Functions Variables
Functions | Variables
pylmflib.pylmflib.utils.ipa2sampa.ipa2sampa Namespace Reference


def uni2sampa


tuple data ='./pylmflib/utils/ipa2sampa/sampa.csv', 'r', 'utf-8')
list sota = []
tuple ta = eval('"""'+ta+'"""')
tuple seq = line.strip()

Function Documentation

def pylmflib.pylmflib.utils.ipa2sampa.ipa2sampa.uni2sampa (   sequence)
Convert sequence in unicode-ipa to ascii-sampa.

Forked from LingPy's version for ipa2sampa, which is based on code
taken from Peter Kleiweg

Definition at line 33 of file

Variable Documentation

tuple ='./pylmflib/utils/ipa2sampa/sampa.csv', 'r', 'utf-8')

Definition at line 16 of file

tuple pylmflib.pylmflib.utils.ipa2sampa.ipa2sampa.seq = line.strip()

Definition at line 62 of file

tuple pylmflib.pylmflib.utils.ipa2sampa.ipa2sampa.sota = []

Definition at line 19 of file

tuple pylmflib.pylmflib.utils.ipa2sampa.ipa2sampa.ta = eval('"""'+ta+'"""')

Definition at line 27 of file