Learn R Programming

alineR (version 1.1.4)

map: User-defined Mappings

Description

Allows user-defined mappings from UTF-8 IPA to ASCII ALINE. User mappings are given precedence over defaults when duplicates exist. See notes for usage and allowable ASCII encodings.

Usage

map(m1, m2)

Arguments

m1

a vector of IPA characters to encode.

m2

a vector of ALINE encodings.

Value

map

a dataframe with ALINE map that includes user-defined mappings.

%% ...

References

Kondrak, G. (1999). Alignment of Phonetic Sequences. Technical Report CSRG-402. Department of Computer Science, University of Toronto.

See Also

ALINE.map

Examples

Run this code
# NOT RUN {
map(intToUtf8(418),"dX") #valid
map(intToUtf8(361),"dM") #invalid
map(intToUtf8(361),"dd") #invalid
# }

Run the code above in your browser using DataLab