Skip to content

Commit 2d21036

Browse files
chrisvoncsefalvayrich-iannone
authored andcommitted
Fixed some issues with Hungarian transcription (#4)
* Update get_transliterations.R * Update get_transliterations.R * Fixes row disparity issue in `hu`.
1 parent a70e777 commit 2d21036

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

R/get_transliterations.R

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -202,14 +202,16 @@ get_transliterations <- function(language = c("armenian", "հայերէն", "հ
202202
# therefore included.
203203
if (any(c("hungarian", "magyar", "hu") %in% language)){
204204
transliterations_hu <-
205-
data.frame(from = c("Á", "á", "Ä", "ä", "É", "é",
206-
"Í", "í", "Ó", "ó", "Ő", "ő",
207-
"Ô", "ô", "Õ", "õ", "Ú", "ú",
208-
"Ű", "ű", "Û", "Ũ", "ũ"),
209-
to = c("A", "a", "A", "a", "E", "e",
210-
"I", "i", "O", "o", "O", "o",
211-
"O", "o", "O", "O", "U", "u",
212-
"U", "u", "U", "U", "u"),
205+
data.frame(from = c("Á", "á", "Ä", "ä", "Ã", "ã",
206+
"É", "é",
207+
"Í", "í",
208+
"Ó", "ó", "Ö", "ö", "Ő", "ő", "Ô", "ô", "Õ", "õ",
209+
"Ú", "ú", "Ü", "ü", "Ű", "ű", "Û", "û", "Ũ", "ũ"),
210+
to = c("A", "a", "A", "a", "A", "a",
211+
"E", "e",
212+
"I", "i",
213+
"O", "o", "O", "o", "O", "o", "O", "o", "O", "o",
214+
"U", "u", "U", "u", "U", "u", "U", "u", "U", "u"),
213215
type = rep("hu"), stringsAsFactors = FALSE)
214216
return(transliterations_hu)
215217
}

0 commit comments

Comments
 (0)