R/apply_converter.R

Defines functions apply_converter

Documented in apply_converter

#' Apply converter to vector of strings
#'
#' This function returns a vector with transcription and IPA symbols, simultaneously checking this dataframe for mistakes.
#' @param correspondence a character vector, containing symbol correspondences to IPA symbols in orthographical system of user's files.
#' @param ipa a character vector, containing IPA symbols.
#' @author George Moroz <agricolamz@gmail.com>
#' @examples
#' apply_converter(zilo_dict$zilo_cyrillic, zilo_correspondences)
#' @export

apply_converter <- function(x, converter){
  make_conversion(x, converter)$ipa
}
agricolamz/lingphonology documentation built on May 19, 2019, 2:55 a.m.