# NOT RUN {
# In the examples below, non-ASCII characters had to be escaped for technical reasons.
# In actual usage, all soundcorrs functions accept characters from beyond ASCII.
dataset <- sampleSoundCorrsData.capitals
findPairs (dataset, "\u00E4", "e", cols=c("ORTHOGRAPHY.German","ORTHOGRAPHY.Polish")) # a-diaeresis
findPairs (dataset, "a", "[ae]", cols="all")
findPairs (dataset, "\u0259", "Vr", exact=FALSE) # schwa
findPairs (dataset, "\u0259", "Vr", exact=TRUE) # schwa
subset (dataset, findPairs(dataset, "\u00E4", "e")$which) # a-diaeresis
# }
Run the code above in your browser using DataLab