Skip to content

Commit

Permalink
Transliterate “ɨ” as “i”
Browse files Browse the repository at this point in the history
  • Loading branch information
dscorbett committed Nov 11, 2023
1 parent 20326db commit 563ad5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/keyboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ function transliterate(inputValue, autotransliterate = true, autosyllabify = tru
.replaceAll(/o[ou]/g, 'u')
.replaceAll(/(?<=\p{L}\p{M}*)i(?=ya|ü)/gu, '')
.replaceAll('eu', 'xwʔ')
.replaceAll(/[eyɛ]/g, 'i')
.replaceAll(/[eyɛɨ]/g, 'i')
.replaceAll(/(?<!wi?)iwi/g, 'üi')
.replaceAll(/ə(?=[lɬr]\p{M}*(?!\p{L}))/gu, 'i')
.replaceAll(/(?<=(?!(?<![cklrstw]'?)h|x)\p{L}\p{M}*'?)wə/gu, 'u')
Expand Down

0 comments on commit 563ad5e

Please sign in to comment.