Translates a vector of IPA words into the ASCII encoding scheme used by aline via ALINE.map. Uses UTF-8 encodings.
Usage
encode.ALINE(x, mark = FALSE, m1 = NULL, m2 = NULL)
Arguments
x
A vector of IPA words to encode.
mark
If FALSE unknown symbols are omitted; if TRUE invalid symbols are replaced with "@".
m1
A vector of IPA characters to encode. See map() for detail.
m2
A vector of ALINE encodings. see map() for detail
Warning
This function will return a warning if it encounters an IPA symbol not included in the ALINE map or defined by the user. It will then ignore that symbol and decode the rest. Use mark=TRUE to see what is being omitted and map(m1, m2) to provide a new mapping.