knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
r badger::badge_doi(doi = "10.5281/zenodo.14987854", color = "blue")
r badger::badge_cran_release("phonetisr", "blue")
r badger::badge_cran_checks("phonetisr")
r badger::badge_devel(color = "orange")
This package is a (naive) tokeniser of phonetic transcriptions in the International Phonetic Alphabet (IPA).
With phonetisr, you can parse texts and word lists transcribed in IPA and tokenise them into phones so that you can perform quantitative analyses.
Phonetisr is on CRAN so you can install it with install.packages("phonetisr")
.
You can install the development version from GitHub with:
# install.packages("remotes") remotes::install_github("stefanocoretta/phonetisr@devel")
library(phonetisr) # IPA strings to be tokenised ipa <- c("pʰãkʰ", "tʰum̥", "ɛkʰɯ") # List of character sequences to be considered single phones ph <- c("pʰ", "tʰ", "kʰ", "ã", "m̥") # Tokenise strings phonetise(ipa, multi = ph)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.