We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b1b46a2 + 412764e commit 981449fCopy full SHA for 981449f
src/types/yomitan/termbankmeta.ts
@@ -7,7 +7,7 @@ type TermFrequency =
7
};
8
9
type FrequencyTerm = [
10
- {},
+ string,
11
'freq',
12
(
13
| TermFrequency
@@ -26,15 +26,27 @@ type PitchAccentInfo = {
26
27
28
type PitchTerm = [
29
30
'pitch',
31
{
32
reading: string;
33
pitches: PitchAccentInfo[];
34
},
35
];
36
37
-type TermMetaEntryType = PitchTerm | FrequencyTerm;
+type TermPhoneticTranscription = [
38
39
+ 'ipa',
40
+ {
41
+ reading: string;
42
+ transcriptions: {
43
+ ipa: string;
44
+ tags?: string[];
45
+ }[];
46
+ },
47
+];
48
+
49
+type TermMetaEntryType = PitchTerm | FrequencyTerm | TermPhoneticTranscription;
50
type DictionaryTermMetaBankV3 = TermMetaEntryType[];
51
52
export type {
0 commit comments