From fec045079b5ae3a507206daa49f3286ac7eb1a9b Mon Sep 17 00:00:00 2001 From: an-lee Date: Mon, 1 Apr 2024 08:45:30 +0800 Subject: [PATCH] update ipa mapping --- enjoy/src/constants.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/enjoy/src/constants.ts b/enjoy/src/constants.ts index 38495c15..7e738531 100644 --- a/enjoy/src/constants.ts +++ b/enjoy/src/constants.ts @@ -7,7 +7,8 @@ export const WEB_API_URL = "https://enjoy-web.fly.dev"; export const REPO_URL = "https://github.com/xiaolai/everyone-can-use-english"; -export const SENTRY_DSN = "https://d51056d7af7d14eae446c0c15b4f3d31@o1168905.ingest.us.sentry.io/4506969353289728" +export const SENTRY_DSN = + "https://d51056d7af7d14eae446c0c15b4f3d31@o1168905.ingest.us.sentry.io/4506969353289728"; export const MAGIC_TOKEN_REGEX = /\b(Mrs|Ms|Mr|Dr|Prof|St|[a-zA-Z]{1,2}|\d{1,2})\.\b/g; @@ -431,7 +432,7 @@ export const IPA_MAPPING: { [key: string]: string } = { ɭ: "l", ʎ: "j", ʟ: "l", - i: "iː", + i: "i", yɨ: "iː", ʉɯ: "uː", u: "uː", @@ -459,6 +460,7 @@ export const IPA_MAPPING: { [key: string]: string } = { uː: "uː", ɔː: "ɔː", ɛː: "e:", + eː: "i:", æ: "æ", a: "ɑ", ɶ: "ɑ", @@ -490,7 +492,8 @@ export const IPA_MAPPING: { [key: string]: string } = { ʊr: "ʊr", ɛr: "er", ɛɹ: "er", - əl: "ə", + əl: "əl", aɪɚ: "aɪ", aɪə: "aɪə", + ts: "tz", };