Description Usage Arguments Value
View source: R/make_pho_error.R
do_pho_replacement
replace a string with its phonetic error.
1 2 3 4 5 6 7 8 9 10 | do_pho_replacement(
s,
where,
orgpat,
newpat,
precond,
postcond,
existcond,
startcond
)
|
s |
A string. |
where |
A string. The location of the pat, it can be one of: 'ALL','START','END','MIDDLE'. |
orgpat |
A string. The original pat. |
newpat |
A string. The new pat. |
precond |
A string. Pre-condition (default 'None') can be 'V' for vowel or 'C' for consonant. |
postcond |
A string. Post-condition (default 'None') can be 'V' for vowel or 'C' for consonant. |
existcond |
A string. Exist-condition (default 'None'). |
startcond |
A string. Start-condition (default 'ALL'). |
It returns a new pat.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.