ph_search | R Documentation |
Given a vector of phonetised strings, find phones.
ph_search(phlist, phonex)
phlist |
The output of |
phonex |
A phonetic expression. Supported shorthands are |
A list.
ipa <- c("p\u02B0a\u0303k\u02B0", "t\u02B0um\u0325", "\u025Bk\u02B0\u026F", "pun")
ph <- c("p\u02B0", "t\u02B0", "k\u02B0", "a\u0303", "m\u0325")
ipa_ph <- phonetise(ipa, multi = ph)
ph_search(ipa_ph, "#CV")
# partial matches are also returned
ph_search(ipa_ph, "p")
# use regular expressions
ph_search(ipa_ph, "p\u02B0?V")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.