{"ast":null,"code":"const jsonData = {\n  \"man\": [{\n    \"Word\": \"seed\",\n    \"f2Formant\": {\n      \"New_England\": 2245,\n      \"Mid_Atlantic\": 2292,\n      \"North\": 2364,\n      \"Midland\": 2288,\n      \"South\": 2181,\n      \"West\": 2251\n    }\n  }, {\n    \"Word\": \"hid\",\n    \"f2Formant\": {\n      \"New_England\": 1950,\n      \"Mid_Atlantic\": 1909,\n      \"North\": 2013,\n      \"Midland\": 1948,\n      \"South\": 1882,\n      \"West\": 1926\n    }\n  }, {\n    \"Word\": \"made\",\n    \"f2Formant\": {\n      \"New_England\": 2103,\n      \"Mid_Atlantic\": 2138,\n      \"North\": 2209,\n      \"Midland\": 2091,\n      \"South\": 1980,\n      \"West\": 2095\n    }\n  }, {\n    \"Word\": \"head\",\n    \"f2Formant\": {\n      \"New_England\": 1807,\n      \"Mid_Atlantic\": 1763,\n      \"North\": 1820,\n      \"Midland\": 1797,\n      \"South\": 1800,\n      \"West\": 1747\n    }\n  }, {\n    \"Word\": \"sad\",\n    \"f2Formant\": {\n      \"New_England\": 1742,\n      \"Mid_Atlantic\": 1669,\n      \"North\": 1960,\n      \"Midland\": 1773,\n      \"South\": 1779,\n      \"West\": 1681\n    }\n  }, {\n    \"Word\": \"god\",\n    \"f2Formant\": {\n      \"New_England\": 1221,\n      \"Mid_Atlantic\": 1220,\n      \"North\": 1339,\n      \"Midland\": 1155,\n      \"South\": 1108,\n      \"West\": 1075\n    }\n  }, {\n    \"Word\": \"lawn\",\n    \"f2Formant\": {\n      \"New_England\": 1064,\n      \"Mid_Atlantic\": 1175,\n      \"North\": 1074,\n      \"Midland\": 1049,\n      \"South\": 953,\n      \"West\": 1063\n    }\n  }, {\n    \"Word\": \"bud\",\n    \"f2Formant\": {\n      \"New_England\": 1337,\n      \"Mid_Atlantic\": 1209,\n      \"North\": 1254,\n      \"Midland\": 1329,\n      \"South\": 1247,\n      \"West\": 1307\n    }\n  }, {\n    \"Word\": \"showed\",\n    \"f2Formant\": {\n      \"New_England\": 1074,\n      \"Mid_Atlantic\": 1034,\n      \"North\": 1001,\n      \"Midland\": 1141,\n      \"South\": 1177,\n      \"West\": 1047\n    }\n  }, {\n    \"Word\": \"spoon\",\n    \"f2Formant\": {\n      \"New_England\": 1134,\n      \"Mid_Atlantic\": 1093,\n      \"North\": 1060,\n      \"Midland\": 1246,\n      \"South\": 1425,\n      \"West\": 1237\n    }\n  }, {\n    \"Word\": \"good\",\n    \"f2Formant\": {\n      \"New_England\": 1305,\n      \"Mid_Atlantic\": 1215,\n      \"North\": 1180,\n      \"Midland\": 1281,\n      \"South\": 1238,\n      \"West\": 1221\n    }\n  }],\n  \"woman\": [{\n    \"Word\": \"seed\",\n    \"f2Formant\": {\n      \"New_England\": 2852,\n      \"Mid_Atlantic\": 2885,\n      \"North\": 2842,\n      \"Midland\": 2821,\n      \"South\": 2980,\n      \"West\": 2994\n    }\n  }, {\n    \"Word\": \"hid\",\n    \"f2Formant\": {\n      \"New_England\": 2321,\n      \"Mid_Atlantic\": 2416,\n      \"North\": 2238,\n      \"Midland\": 2258,\n      \"South\": 2324,\n      \"West\": 2356\n    }\n  }, {\n    \"Word\": \"made\",\n    \"f2Formant\": {\n      \"New_England\": 2566,\n      \"Mid_Atlantic\": 2757,\n      \"North\": 2515,\n      \"Midland\": 2459,\n      \"South\": 2544,\n      \"West\": 2708\n    }\n  }, {\n    \"Word\": \"head\",\n    \"f2Formant\": {\n      \"New_England\": 2053,\n      \"Mid_Atlantic\": 2162,\n      \"North\": 1933,\n      \"Midland\": 2076,\n      \"South\": 2131,\n      \"West\": 2108\n    }\n  }, {\n    \"Word\": \"sad\",\n    \"f2Formant\": {\n      \"New_England\": 1986,\n      \"Mid_Atlantic\": 2085,\n      \"North\": 2132,\n      \"Midland\": 1950,\n      \"South\": 2013,\n      \"West\": 1966\n    }\n  }, {\n    \"Word\": \"god\",\n    \"f2Formant\": {\n      \"New_England\": 1380,\n      \"Mid_Atlantic\": 1548,\n      \"North\": 1468,\n      \"Midland\": 1244,\n      \"South\": 1398,\n      \"West\": 1292\n    }\n  }, {\n    \"Word\": \"lawn\",\n    \"f2Formant\": {\n      \"New_England\": 1310,\n      \"Mid_Atlantic\": 1414,\n      \"North\": 1270,\n      \"Midland\": 1229,\n      \"South\": 1301,\n      \"West\": 1316\n    }\n  }, {\n    \"Word\": \"bud\",\n    \"f2Formant\": {\n      \"New_England\": 1580,\n      \"Mid_Atlantic\": 1561,\n      \"North\": 1394,\n      \"Midland\": 1571,\n      \"South\": 1764,\n      \"West\": 1617\n    }\n  }, {\n    \"Word\": \"showed\",\n    \"f2Formant\": {\n      \"New_England\": 1259,\n      \"Mid_Atlantic\": 1259,\n      \"North\": 1142,\n      \"Midland\": 1210,\n      \"South\": 1497,\n      \"West\": 1325\n    }\n  }, {\n    \"Word\": \"spoon\",\n    \"f2Formant\": {\n      \"New_England\": 1275,\n      \"Mid_Atlantic\": 1530,\n      \"North\": 1288,\n      \"Midland\": 1457,\n      \"South\": 1586,\n      \"West\": 1466\n    }\n  }, {\n    \"Word\": \"good\",\n    \"f2Formant\": {\n      \"New_England\": 1554,\n      \"Mid_Atlantic\": 1549,\n      \"North\": 1365,\n      \"Midland\": 1472,\n      \"South\": 1641,\n      \"West\": 1564\n    }\n  }]\n};\nconst shuffleArray = array => {\n  for (let i = array.length - 1; i > 0; i--) {\n    const j = Math.floor(Math.random() * (i + 1));\n    [array[i], array[j]] = [array[j], array[i]];\n  }\n  return array;\n};\nconst getResFreq = async (selectedVowels, gender, region, shuffleOrder) => {\n  try {\n    const frequencies = {};\n    const vowelsToCheck = shuffleOrder ? shuffleArray(selectedVowels) : selectedVowels;\n    for (const word of vowelsToCheck) {\n      const wordEntry = jsonData[gender].find(entry => entry.Word === word);\n      if (wordEntry && 'f2Formant' in wordEntry && region in wordEntry.f2Formant) {\n        const f2Formant = wordEntry.f2Formant;\n        frequencies[word] = f2Formant[region];\n      } else {\n        frequencies[word] = undefined;\n      }\n    }\n    return frequencies;\n  } catch (error) {\n    console.error('Error fetching or parsing JSON file:', error);\n    return {};\n  }\n};\nexport default getResFreq;","map":{"version":3,"names":["jsonData","shuffleArray","array","i","length","j","Math","floor","random","getResFreq","selectedVowels","gender","region","shuffleOrder","frequencies","vowelsToCheck","word","wordEntry","find","entry","Word","f2Formant","undefined","error","console"],"sources":["D:/Project/UC_Trains_Voice/react-demo/src/gavt/getResFreq.ts"],"sourcesContent":["interface F2Formant {\r\n    [key: string]: number;\r\n    New_England: number;\r\n    Mid_Atlantic: number;\r\n    North: number;\r\n    Midland: number;\r\n    South: number;\r\n    West: number;\r\n}\r\n\r\nconst jsonData = {\"man\":[{\"Word\":\"seed\",\"f2Formant\":{\"New_England\":2245,\"Mid_Atlantic\":2292,\"North\":2364,\"Midland\":2288,\"South\":2181,\"West\":2251}},{\"Word\":\"hid\",\"f2Formant\":{\"New_England\":1950,\"Mid_Atlantic\":1909,\"North\":2013,\"Midland\":1948,\"South\":1882,\"West\":1926}},{\"Word\":\"made\",\"f2Formant\":{\"New_England\":2103,\"Mid_Atlantic\":2138,\"North\":2209,\"Midland\":2091,\"South\":1980,\"West\":2095}},{\"Word\":\"head\",\"f2Formant\":{\"New_England\":1807,\"Mid_Atlantic\":1763,\"North\":1820,\"Midland\":1797,\"South\":1800,\"West\":1747}},{\"Word\":\"sad\",\"f2Formant\":{\"New_England\":1742,\"Mid_Atlantic\":1669,\"North\":1960,\"Midland\":1773,\"South\":1779,\"West\":1681}},{\"Word\":\"god\",\"f2Formant\":{\"New_England\":1221,\"Mid_Atlantic\":1220,\"North\":1339,\"Midland\":1155,\"South\":1108,\"West\":1075}},{\"Word\":\"lawn\",\"f2Formant\":{\"New_England\":1064,\"Mid_Atlantic\":1175,\"North\":1074,\"Midland\":1049,\"South\":953,\"West\":1063}},{\"Word\":\"bud\",\"f2Formant\":{\"New_England\":1337,\"Mid_Atlantic\":1209,\"North\":1254,\"Midland\":1329,\"South\":1247,\"West\":1307}},{\"Word\":\"showed\",\"f2Formant\":{\"New_England\":1074,\"Mid_Atlantic\":1034,\"North\":1001,\"Midland\":1141,\"South\":1177,\"West\":1047}},{\"Word\":\"spoon\",\"f2Formant\":{\"New_England\":1134,\"Mid_Atlantic\":1093,\"North\":1060,\"Midland\":1246,\"South\":1425,\"West\":1237}},{\"Word\":\"good\",\"f2Formant\":{\"New_England\":1305,\"Mid_Atlantic\":1215,\"North\":1180,\"Midland\":1281,\"South\":1238,\"West\":1221}}],\"woman\":[{\"Word\":\"seed\",\"f2Formant\":{\"New_England\":2852,\"Mid_Atlantic\":2885,\"North\":2842,\"Midland\":2821,\"South\":2980,\"West\":2994}},{\"Word\":\"hid\",\"f2Formant\":{\"New_England\":2321,\"Mid_Atlantic\":2416,\"North\":2238,\"Midland\":2258,\"South\":2324,\"West\":2356}},{\"Word\":\"made\",\"f2Formant\":{\"New_England\":2566,\"Mid_Atlantic\":2757,\"North\":2515,\"Midland\":2459,\"South\":2544,\"West\":2708}},{\"Word\":\"head\",\"f2Formant\":{\"New_England\":2053,\"Mid_Atlantic\":2162,\"North\":1933,\"Midland\":2076,\"South\":2131,\"West\":2108}},{\"Word\":\"sad\",\"f2Formant\":{\"New_England\":1986,\"Mid_Atlantic\":2085,\"North\":2132,\"Midland\":1950,\"South\":2013,\"West\":1966}},{\"Word\":\"god\",\"f2Formant\":{\"New_England\":1380,\"Mid_Atlantic\":1548,\"North\":1468,\"Midland\":1244,\"South\":1398,\"West\":1292}},{\"Word\":\"lawn\",\"f2Formant\":{\"New_England\":1310,\"Mid_Atlantic\":1414,\"North\":1270,\"Midland\":1229,\"South\":1301,\"West\":1316}},{\"Word\":\"bud\",\"f2Formant\":{\"New_England\":1580,\"Mid_Atlantic\":1561,\"North\":1394,\"Midland\":1571,\"South\":1764,\"West\":1617}},{\"Word\":\"showed\",\"f2Formant\":{\"New_England\":1259,\"Mid_Atlantic\":1259,\"North\":1142,\"Midland\":1210,\"South\":1497,\"West\":1325}},{\"Word\":\"spoon\",\"f2Formant\":{\"New_England\":1275,\"Mid_Atlantic\":1530,\"North\":1288,\"Midland\":1457,\"South\":1586,\"West\":1466}},{\"Word\":\"good\",\"f2Formant\":{\"New_England\":1554,\"Mid_Atlantic\":1549,\"North\":1365,\"Midland\":1472,\"South\":1641,\"West\":1564}}]}\r\n\r\nconst shuffleArray = <T>(array: T[]): T[] => {\r\n    for (let i = array.length - 1; i > 0; i--) {\r\n      const j = Math.floor(Math.random() * (i + 1));\r\n      [array[i], array[j]] = [array[j], array[i]];\r\n    }\r\n    return array;\r\n  };\r\n\r\nconst getResFreq = async (\r\n    selectedVowels: string[], \r\n    gender: 'man' | 'woman', \r\n    region: string,\r\n    shuffleOrder: boolean\r\n): Promise<{ [word: string]: number | undefined }> => {\r\n    try {\r\n        const frequencies: { [word: string]: number | undefined } = {};\r\n\r\n        const vowelsToCheck = shuffleOrder ? shuffleArray(selectedVowels) : selectedVowels;\r\n\r\n        for (const word of vowelsToCheck) {\r\n            const wordEntry = jsonData[gender].find((entry: any) => entry.Word === word);\r\n\r\n            if (wordEntry && 'f2Formant' in wordEntry && region in wordEntry.f2Formant) {\r\n                const f2Formant: F2Formant = wordEntry.f2Formant;\r\n                frequencies[word] = f2Formant[region];\r\n            } else {\r\n                frequencies[word] = undefined;\r\n            }\r\n        }\r\n        return frequencies;\r\n    } catch (error) {\r\n        console.error('Error fetching or parsing JSON file:', error);\r\n        return {};\r\n    }\r\n};\r\n\r\nexport default getResFreq;"],"mappings":"AAUA,MAAMA,QAAQ,GAAG;EAAC,KAAK,EAAC,CAAC;IAAC,MAAM,EAAC,MAAM;IAAC,WAAW,EAAC;MAAC,aAAa,EAAC,IAAI;MAAC,cAAc,EAAC,IAAI;MAAC,OAAO,EAAC,IAAI;MAAC,SAAS,EAAC,IAAI;MAAC,OAAO,EAAC,IAAI;MAAC,MAAM,EAAC;IAAI;EAAC,CAAC,EAAC;IAAC,MAAM,EAAC,KAAK;IAAC,WAAW,EAAC;MAAC,aAAa,EAAC,IAAI;MAAC,cAAc,EAAC,IAAI;MAAC,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