henkan 2.2.4 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +671 -592
- package/dist/index.cjs.js.map +3 -3
- package/dist/index.mjs +659 -589
- package/dist/index.mjs.map +3 -3
- package/dist/types/constants.d.ts +1 -0
- package/dist/types/constants.d.ts.map +1 -1
- package/dist/types/types.d.ts +22 -12
- package/dist/types/types.d.ts.map +1 -1
- package/dist/types/utils.d.ts +34 -22
- package/dist/types/utils.d.ts.map +1 -1
- package/docs/api/README.md +2 -0
- package/docs/api/functions/convertJMdict.md +1 -1
- package/docs/api/functions/convertJawiktionaryAsync.md +1 -1
- package/docs/api/functions/convertJawiktionarySync.md +1 -1
- package/docs/api/functions/convertKanjiDic.md +1 -1
- package/docs/api/functions/convertKradFile.md +1 -1
- package/docs/api/functions/convertRadkFile.md +1 -1
- package/docs/api/functions/convertTanakaCorpus.md +1 -1
- package/docs/api/functions/convertTanakaCorpusWithFurigana.md +1 -1
- package/docs/api/functions/createEntryMaps.md +1 -1
- package/docs/api/functions/generateAnkiNote.md +1 -1
- package/docs/api/functions/generateAnkiNotesFile.md +1 -1
- package/docs/api/functions/getKanji.md +4 -4
- package/docs/api/functions/getKanjiExtended.md +1 -1
- package/docs/api/functions/getValidForms.md +1 -1
- package/docs/api/functions/getWord.md +4 -4
- package/docs/api/functions/getWordDefinitions.md +4 -4
- package/docs/api/functions/getWordDefinitionsWithFurigana.md +1 -1
- package/docs/api/functions/hiraganaToKatakana.md +27 -0
- package/docs/api/functions/katakanaToHiragana.md +27 -0
- package/docs/api/interfaces/DefaultNoteInfo.md +4 -4
- package/docs/api/interfaces/Definition.md +6 -2
- package/docs/api/interfaces/DictKanjiMisc.md +1 -1
- package/docs/api/interfaces/DictWord.md +3 -3
- package/docs/api/interfaces/Grammar.md +16 -16
- package/docs/api/interfaces/GrammarMeaning.md +3 -3
- package/docs/api/interfaces/JaWiktionaryEntry.md +2 -2
- package/docs/api/interfaces/Kana.md +11 -11
- package/docs/api/interfaces/Kanji.md +24 -24
- package/docs/api/interfaces/KanjiComponent.md +3 -3
- package/docs/api/interfaces/KanjiForm.md +4 -4
- package/docs/api/interfaces/NoteAndTag.md +3 -3
- package/docs/api/interfaces/NoteHeaderKeys.md +7 -7
- package/docs/api/interfaces/Phrase.md +5 -5
- package/docs/api/interfaces/Radical.md +16 -16
- package/docs/api/interfaces/Reading.md +5 -5
- package/docs/api/interfaces/ResultEntry.md +10 -10
- package/docs/api/interfaces/Translation.md +3 -3
- package/docs/api/interfaces/UsefulRegExps.md +8 -8
- package/docs/api/interfaces/Word.md +15 -15
- package/docs/api/interfaces/WordDefinitionPair.md +15 -3
- package/docs/api/type-aliases/Dict.md +1 -1
- package/docs/api/type-aliases/EntryType.md +1 -1
- package/docs/api/type-aliases/JLPT.md +1 -1
- package/docs/api/type-aliases/Result.md +1 -1
- package/package.json +7 -4
- package/src/constants.ts +1225 -0
- package/src/index.ts +3 -0
- package/src/types.ts +1056 -0
- package/src/utils.ts +3018 -0
|
@@ -34,8 +34,12 @@ The definition with furigana attached
|
|
|
34
34
|
|
|
35
35
|
### mayNotBeAccurate?
|
|
36
36
|
|
|
37
|
-
> `optional` **mayNotBeAccurate**: `
|
|
37
|
+
> `optional` **mayNotBeAccurate**: `1` \| `2`
|
|
38
38
|
|
|
39
|
-
Defined in: [types.ts:
|
|
39
|
+
Defined in: [types.ts:549](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L549)
|
|
40
40
|
|
|
41
41
|
Whether or not the definition is associated with other words
|
|
42
|
+
|
|
43
|
+
- `undefined` - accurate
|
|
44
|
+
- `1` - maybe inaccurate
|
|
45
|
+
- `2` - most likely inaccurate
|
|
@@ -50,7 +50,7 @@ Whether or not the entry has a priority tag (`k_pri` or `r_pri`)
|
|
|
50
50
|
|
|
51
51
|
> `optional` **kanjiForms**: [`DictKanjiForm`](DictKanjiForm.md)[]
|
|
52
52
|
|
|
53
|
-
Defined in: [types.ts:
|
|
53
|
+
Defined in: [types.ts:207](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L207)
|
|
54
54
|
|
|
55
55
|
The word's kanji forms
|
|
56
56
|
|
|
@@ -60,7 +60,7 @@ The word's kanji forms
|
|
|
60
60
|
|
|
61
61
|
> **meanings**: [`DictMeaning`](DictMeaning.md)[]
|
|
62
62
|
|
|
63
|
-
Defined in: [types.ts:
|
|
63
|
+
Defined in: [types.ts:203](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L203)
|
|
64
64
|
|
|
65
65
|
The word's meanings/senses
|
|
66
66
|
|
|
@@ -70,7 +70,7 @@ The word's meanings/senses
|
|
|
70
70
|
|
|
71
71
|
> **readings**: [`DictReading`](DictReading.md)[]
|
|
72
72
|
|
|
73
|
-
Defined in: [types.ts:
|
|
73
|
+
Defined in: [types.ts:199](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L199)
|
|
74
74
|
|
|
75
75
|
The word's readings
|
|
76
76
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: Grammar
|
|
8
8
|
|
|
9
|
-
Defined in: [types.ts:
|
|
9
|
+
Defined in: [types.ts:923](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L923)
|
|
10
10
|
|
|
11
11
|
Grammar point information
|
|
12
12
|
|
|
@@ -20,7 +20,7 @@ Grammar point information
|
|
|
20
20
|
|
|
21
21
|
> `optional` **audio**: `string`
|
|
22
22
|
|
|
23
|
-
Defined in: [types.ts:
|
|
23
|
+
Defined in: [types.ts:955](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L955)
|
|
24
24
|
|
|
25
25
|
The filename of an audio file for the grammar point
|
|
26
26
|
|
|
@@ -30,7 +30,7 @@ The filename of an audio file for the grammar point
|
|
|
30
30
|
|
|
31
31
|
> `optional` **deckPath**: `string`
|
|
32
32
|
|
|
33
|
-
Defined in: [types.ts:
|
|
33
|
+
Defined in: [types.ts:607](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L607)
|
|
34
34
|
|
|
35
35
|
The full path of the Anki deck
|
|
36
36
|
|
|
@@ -44,7 +44,7 @@ The full path of the Anki deck
|
|
|
44
44
|
|
|
45
45
|
> `optional` **doNotCreateNote**: `true`
|
|
46
46
|
|
|
47
|
-
Defined in: [types.ts:
|
|
47
|
+
Defined in: [types.ts:615](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L615)
|
|
48
48
|
|
|
49
49
|
Whether or not this entry should be converted into an Anki note
|
|
50
50
|
|
|
@@ -58,7 +58,7 @@ Whether or not this entry should be converted into an Anki note
|
|
|
58
58
|
|
|
59
59
|
> `optional` **id**: `` `${number}` ``
|
|
60
60
|
|
|
61
|
-
Defined in: [types.ts:
|
|
61
|
+
Defined in: [types.ts:599](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L599)
|
|
62
62
|
|
|
63
63
|
ID used for the Anki note ID
|
|
64
64
|
|
|
@@ -70,9 +70,9 @@ ID used for the Anki note ID
|
|
|
70
70
|
|
|
71
71
|
### jlpt?
|
|
72
72
|
|
|
73
|
-
> `optional` **jlpt**:
|
|
73
|
+
> `optional` **jlpt**: `` `N${number}` ``
|
|
74
74
|
|
|
75
|
-
Defined in: [types.ts:
|
|
75
|
+
Defined in: [types.ts:947](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L947)
|
|
76
76
|
|
|
77
77
|
The [post-2010 JLPT](https://en.wikipedia.org/wiki/Japanese-Language_Proficiency_Test#Test_format) level
|
|
78
78
|
|
|
@@ -82,7 +82,7 @@ The [post-2010 JLPT](https://en.wikipedia.org/wiki/Japanese-Language_Proficiency
|
|
|
82
82
|
|
|
83
83
|
> **meaning**: [`GrammarMeaning`](GrammarMeaning.md)
|
|
84
84
|
|
|
85
|
-
Defined in: [types.ts:
|
|
85
|
+
Defined in: [types.ts:931](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L931)
|
|
86
86
|
|
|
87
87
|
The English meaning/translation of the grammar point
|
|
88
88
|
|
|
@@ -92,7 +92,7 @@ The English meaning/translation of the grammar point
|
|
|
92
92
|
|
|
93
93
|
> `optional` **noteID**: `string`
|
|
94
94
|
|
|
95
|
-
Defined in: [types.ts:
|
|
95
|
+
Defined in: [types.ts:595](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L595)
|
|
96
96
|
|
|
97
97
|
ID used for the resulting Anki note
|
|
98
98
|
|
|
@@ -106,7 +106,7 @@ ID used for the resulting Anki note
|
|
|
106
106
|
|
|
107
107
|
> `optional` **noteTypeName**: `string`
|
|
108
108
|
|
|
109
|
-
Defined in: [types.ts:
|
|
109
|
+
Defined in: [types.ts:603](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L603)
|
|
110
110
|
|
|
111
111
|
Anki note type name
|
|
112
112
|
|
|
@@ -120,7 +120,7 @@ Anki note type name
|
|
|
120
120
|
|
|
121
121
|
> `optional` **phrases**: [`Phrase`](Phrase.md)[]
|
|
122
122
|
|
|
123
|
-
Defined in: [types.ts:
|
|
123
|
+
Defined in: [types.ts:943](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L943)
|
|
124
124
|
|
|
125
125
|
Example phrase using the grammar point
|
|
126
126
|
|
|
@@ -130,7 +130,7 @@ Example phrase using the grammar point
|
|
|
130
130
|
|
|
131
131
|
> `readonly` **point**: `string`
|
|
132
132
|
|
|
133
|
-
Defined in: [types.ts:
|
|
133
|
+
Defined in: [types.ts:927](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L927)
|
|
134
134
|
|
|
135
135
|
The most common form in which the grammar point written in
|
|
136
136
|
|
|
@@ -140,7 +140,7 @@ The most common form in which the grammar point written in
|
|
|
140
140
|
|
|
141
141
|
> `optional` **readings**: [`Reading`](Reading.md)[]
|
|
142
142
|
|
|
143
|
-
Defined in: [types.ts:
|
|
143
|
+
Defined in: [types.ts:935](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L935)
|
|
144
144
|
|
|
145
145
|
The readings of the grammar point
|
|
146
146
|
|
|
@@ -150,7 +150,7 @@ The readings of the grammar point
|
|
|
150
150
|
|
|
151
151
|
> `optional` **source**: `string`
|
|
152
152
|
|
|
153
|
-
Defined in: [types.ts:
|
|
153
|
+
Defined in: [types.ts:951](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L951)
|
|
154
154
|
|
|
155
155
|
The source from which data for this grammar point has been extracted
|
|
156
156
|
|
|
@@ -160,7 +160,7 @@ The source from which data for this grammar point has been extracted
|
|
|
160
160
|
|
|
161
161
|
> `optional` **tags**: `string`[]
|
|
162
162
|
|
|
163
|
-
Defined in: [types.ts:
|
|
163
|
+
Defined in: [types.ts:611](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L611)
|
|
164
164
|
|
|
165
165
|
Tags generated based on the entry's information
|
|
166
166
|
|
|
@@ -174,6 +174,6 @@ Tags generated based on the entry's information
|
|
|
174
174
|
|
|
175
175
|
> `optional` **usages**: `string`[]
|
|
176
176
|
|
|
177
|
-
Defined in: [types.ts:
|
|
177
|
+
Defined in: [types.ts:939](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L939)
|
|
178
178
|
|
|
179
179
|
Ways in which the grammar point is used in Japanese
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: GrammarMeaning
|
|
8
8
|
|
|
9
|
-
Defined in: [types.ts:
|
|
9
|
+
Defined in: [types.ts:909](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L909)
|
|
10
10
|
|
|
11
11
|
Grammar point meaning
|
|
12
12
|
|
|
@@ -16,7 +16,7 @@ Grammar point meaning
|
|
|
16
16
|
|
|
17
17
|
> `optional` **example**: `string`
|
|
18
18
|
|
|
19
|
-
Defined in: [types.ts:
|
|
19
|
+
Defined in: [types.ts:917](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L917)
|
|
20
20
|
|
|
21
21
|
An example phrase using the grammar point
|
|
22
22
|
|
|
@@ -26,6 +26,6 @@ An example phrase using the grammar point
|
|
|
26
26
|
|
|
27
27
|
> **meaning**: `string`
|
|
28
28
|
|
|
29
|
-
Defined in: [types.ts:
|
|
29
|
+
Defined in: [types.ts:913](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L913)
|
|
30
30
|
|
|
31
31
|
The meaning of the grammar point
|
|
@@ -26,7 +26,7 @@ Other forms (as kanji form or kana) of the word
|
|
|
26
26
|
|
|
27
27
|
> `optional` **pos\_title**: [`POS`](../type-aliases/POS.md)
|
|
28
28
|
|
|
29
|
-
Defined in: [types.ts:
|
|
29
|
+
Defined in: [types.ts:523](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L523)
|
|
30
30
|
|
|
31
31
|
The part of speech (in Japanese)
|
|
32
32
|
|
|
@@ -36,7 +36,7 @@ The part of speech (in Japanese)
|
|
|
36
36
|
|
|
37
37
|
> **senses**: `JaWiktionaryEntrySense`[]
|
|
38
38
|
|
|
39
|
-
Defined in: [types.ts:
|
|
39
|
+
Defined in: [types.ts:519](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L519)
|
|
40
40
|
|
|
41
41
|
The word senses
|
|
42
42
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: Kana
|
|
8
8
|
|
|
9
|
-
Defined in: [types.ts:
|
|
9
|
+
Defined in: [types.ts:887](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L887)
|
|
10
10
|
|
|
11
11
|
Kana information
|
|
12
12
|
|
|
@@ -20,7 +20,7 @@ Kana information
|
|
|
20
20
|
|
|
21
21
|
> `optional` **audio**: `string`
|
|
22
22
|
|
|
23
|
-
Defined in: [types.ts:
|
|
23
|
+
Defined in: [types.ts:899](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L899)
|
|
24
24
|
|
|
25
25
|
The filename of an audio file for the kana reading
|
|
26
26
|
|
|
@@ -30,7 +30,7 @@ The filename of an audio file for the kana reading
|
|
|
30
30
|
|
|
31
31
|
> `optional` **deckPath**: `string`
|
|
32
32
|
|
|
33
|
-
Defined in: [types.ts:
|
|
33
|
+
Defined in: [types.ts:607](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L607)
|
|
34
34
|
|
|
35
35
|
The full path of the Anki deck
|
|
36
36
|
|
|
@@ -44,7 +44,7 @@ The full path of the Anki deck
|
|
|
44
44
|
|
|
45
45
|
> `optional` **doNotCreateNote**: `true`
|
|
46
46
|
|
|
47
|
-
Defined in: [types.ts:
|
|
47
|
+
Defined in: [types.ts:615](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L615)
|
|
48
48
|
|
|
49
49
|
Whether or not this entry should be converted into an Anki note
|
|
50
50
|
|
|
@@ -58,7 +58,7 @@ Whether or not this entry should be converted into an Anki note
|
|
|
58
58
|
|
|
59
59
|
> `optional` **id**: `` `${number}` ``
|
|
60
60
|
|
|
61
|
-
Defined in: [types.ts:
|
|
61
|
+
Defined in: [types.ts:599](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L599)
|
|
62
62
|
|
|
63
63
|
ID used for the Anki note ID
|
|
64
64
|
|
|
@@ -72,7 +72,7 @@ ID used for the Anki note ID
|
|
|
72
72
|
|
|
73
73
|
> `readonly` **kana**: `string`
|
|
74
74
|
|
|
75
|
-
Defined in: [types.ts:
|
|
75
|
+
Defined in: [types.ts:891](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L891)
|
|
76
76
|
|
|
77
77
|
The kana character
|
|
78
78
|
|
|
@@ -82,7 +82,7 @@ The kana character
|
|
|
82
82
|
|
|
83
83
|
> `optional` **noteID**: `string`
|
|
84
84
|
|
|
85
|
-
Defined in: [types.ts:
|
|
85
|
+
Defined in: [types.ts:595](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L595)
|
|
86
86
|
|
|
87
87
|
ID used for the resulting Anki note
|
|
88
88
|
|
|
@@ -96,7 +96,7 @@ ID used for the resulting Anki note
|
|
|
96
96
|
|
|
97
97
|
> `optional` **noteTypeName**: `string`
|
|
98
98
|
|
|
99
|
-
Defined in: [types.ts:
|
|
99
|
+
Defined in: [types.ts:603](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L603)
|
|
100
100
|
|
|
101
101
|
Anki note type name
|
|
102
102
|
|
|
@@ -110,7 +110,7 @@ Anki note type name
|
|
|
110
110
|
|
|
111
111
|
> **reading**: `string`
|
|
112
112
|
|
|
113
|
-
Defined in: [types.ts:
|
|
113
|
+
Defined in: [types.ts:895](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L895)
|
|
114
114
|
|
|
115
115
|
The romaji reading of the kana
|
|
116
116
|
|
|
@@ -120,7 +120,7 @@ The romaji reading of the kana
|
|
|
120
120
|
|
|
121
121
|
> `optional` **svg**: `string`
|
|
122
122
|
|
|
123
|
-
Defined in: [types.ts:
|
|
123
|
+
Defined in: [types.ts:903](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L903)
|
|
124
124
|
|
|
125
125
|
The kana SVG filename
|
|
126
126
|
|
|
@@ -130,7 +130,7 @@ The kana SVG filename
|
|
|
130
130
|
|
|
131
131
|
> `optional` **tags**: `string`[]
|
|
132
132
|
|
|
133
|
-
Defined in: [types.ts:
|
|
133
|
+
Defined in: [types.ts:611](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L611)
|
|
134
134
|
|
|
135
135
|
Tags generated based on the entry's information
|
|
136
136
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: Kanji
|
|
8
8
|
|
|
9
|
-
Defined in: [types.ts:
|
|
9
|
+
Defined in: [types.ts:711](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L711)
|
|
10
10
|
|
|
11
11
|
Kanji information
|
|
12
12
|
|
|
@@ -22,7 +22,7 @@ Converted from [DictKanji](DictKanji.md) and extra info added
|
|
|
22
22
|
|
|
23
23
|
> `optional` **components**: [`KanjiComponent`](KanjiComponent.md)[]
|
|
24
24
|
|
|
25
|
-
Defined in: [types.ts:
|
|
25
|
+
Defined in: [types.ts:743](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L743)
|
|
26
26
|
|
|
27
27
|
The kanji radicals/components
|
|
28
28
|
|
|
@@ -32,7 +32,7 @@ The kanji radicals/components
|
|
|
32
32
|
|
|
33
33
|
> `optional` **deckPath**: `string`
|
|
34
34
|
|
|
35
|
-
Defined in: [types.ts:
|
|
35
|
+
Defined in: [types.ts:607](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L607)
|
|
36
36
|
|
|
37
37
|
The full path of the Anki deck
|
|
38
38
|
|
|
@@ -46,7 +46,7 @@ The full path of the Anki deck
|
|
|
46
46
|
|
|
47
47
|
> `optional` **doNotCreateNote**: `true`
|
|
48
48
|
|
|
49
|
-
Defined in: [types.ts:
|
|
49
|
+
Defined in: [types.ts:615](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L615)
|
|
50
50
|
|
|
51
51
|
Whether or not this entry should be converted into an Anki note
|
|
52
52
|
|
|
@@ -60,7 +60,7 @@ Whether or not this entry should be converted into an Anki note
|
|
|
60
60
|
|
|
61
61
|
> `optional` **externalInfo**: `true`
|
|
62
62
|
|
|
63
|
-
Defined in: [types.ts:
|
|
63
|
+
Defined in: [types.ts:775](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L775)
|
|
64
64
|
|
|
65
65
|
Whether or not this kanji object contains information extracted from [source](#source)
|
|
66
66
|
|
|
@@ -70,7 +70,7 @@ Whether or not this kanji object contains information extracted from [source](#s
|
|
|
70
70
|
|
|
71
71
|
> `optional` **frequency**: `string`
|
|
72
72
|
|
|
73
|
-
Defined in: [types.ts:
|
|
73
|
+
Defined in: [types.ts:759](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L759)
|
|
74
74
|
|
|
75
75
|
#### See
|
|
76
76
|
|
|
@@ -82,7 +82,7 @@ Defined in: [types.ts:749](https://github.com/Ronokof/Henkan/blob/main/src/types
|
|
|
82
82
|
|
|
83
83
|
> `optional` **grade**: `string`
|
|
84
84
|
|
|
85
|
-
Defined in: [types.ts:
|
|
85
|
+
Defined in: [types.ts:755](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L755)
|
|
86
86
|
|
|
87
87
|
#### See
|
|
88
88
|
|
|
@@ -94,7 +94,7 @@ Defined in: [types.ts:745](https://github.com/Ronokof/Henkan/blob/main/src/types
|
|
|
94
94
|
|
|
95
95
|
> `optional` **id**: `` `${number}` ``
|
|
96
96
|
|
|
97
|
-
Defined in: [types.ts:
|
|
97
|
+
Defined in: [types.ts:599](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L599)
|
|
98
98
|
|
|
99
99
|
ID used for the Anki note ID
|
|
100
100
|
|
|
@@ -106,9 +106,9 @@ ID used for the Anki note ID
|
|
|
106
106
|
|
|
107
107
|
### jlpt?
|
|
108
108
|
|
|
109
|
-
> `optional` **jlpt**:
|
|
109
|
+
> `optional` **jlpt**: `` `N${number}` ``
|
|
110
110
|
|
|
111
|
-
Defined in: [types.ts:
|
|
111
|
+
Defined in: [types.ts:763](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L763)
|
|
112
112
|
|
|
113
113
|
#### See
|
|
114
114
|
|
|
@@ -120,7 +120,7 @@ Defined in: [types.ts:753](https://github.com/Ronokof/Henkan/blob/main/src/types
|
|
|
120
120
|
|
|
121
121
|
> `readonly` **kanji**: `string`
|
|
122
122
|
|
|
123
|
-
Defined in: [types.ts:
|
|
123
|
+
Defined in: [types.ts:715](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L715)
|
|
124
124
|
|
|
125
125
|
#### See
|
|
126
126
|
|
|
@@ -132,7 +132,7 @@ Defined in: [types.ts:705](https://github.com/Ronokof/Henkan/blob/main/src/types
|
|
|
132
132
|
|
|
133
133
|
> `optional` **kokuji**: `true`
|
|
134
134
|
|
|
135
|
-
Defined in: [types.ts:
|
|
135
|
+
Defined in: [types.ts:767](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L767)
|
|
136
136
|
|
|
137
137
|
Whether or not the kanji is a kokuji
|
|
138
138
|
|
|
@@ -142,7 +142,7 @@ Whether or not the kanji is a kokuji
|
|
|
142
142
|
|
|
143
143
|
> `optional` **kunyomi**: `string`[]
|
|
144
144
|
|
|
145
|
-
Defined in: [types.ts:
|
|
145
|
+
Defined in: [types.ts:731](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L731)
|
|
146
146
|
|
|
147
147
|
The kanji kunyomi readings
|
|
148
148
|
|
|
@@ -152,7 +152,7 @@ The kanji kunyomi readings
|
|
|
152
152
|
|
|
153
153
|
> `optional` **meanings**: `string`[]
|
|
154
154
|
|
|
155
|
-
Defined in: [types.ts:
|
|
155
|
+
Defined in: [types.ts:723](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L723)
|
|
156
156
|
|
|
157
157
|
#### See
|
|
158
158
|
|
|
@@ -164,7 +164,7 @@ Defined in: [types.ts:713](https://github.com/Ronokof/Henkan/blob/main/src/types
|
|
|
164
164
|
|
|
165
165
|
> `optional` **mnemonic**: `string`
|
|
166
166
|
|
|
167
|
-
Defined in: [types.ts:
|
|
167
|
+
Defined in: [types.ts:747](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L747)
|
|
168
168
|
|
|
169
169
|
The kanji mnemonic
|
|
170
170
|
|
|
@@ -174,7 +174,7 @@ The kanji mnemonic
|
|
|
174
174
|
|
|
175
175
|
> `optional` **nanori**: `string`[]
|
|
176
176
|
|
|
177
|
-
Defined in: [types.ts:
|
|
177
|
+
Defined in: [types.ts:735](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L735)
|
|
178
178
|
|
|
179
179
|
#### See
|
|
180
180
|
|
|
@@ -186,7 +186,7 @@ Defined in: [types.ts:725](https://github.com/Ronokof/Henkan/blob/main/src/types
|
|
|
186
186
|
|
|
187
187
|
> `optional` **noteID**: `string`
|
|
188
188
|
|
|
189
|
-
Defined in: [types.ts:
|
|
189
|
+
Defined in: [types.ts:595](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L595)
|
|
190
190
|
|
|
191
191
|
ID used for the resulting Anki note
|
|
192
192
|
|
|
@@ -200,7 +200,7 @@ ID used for the resulting Anki note
|
|
|
200
200
|
|
|
201
201
|
> `optional` **noteTypeName**: `string`
|
|
202
202
|
|
|
203
|
-
Defined in: [types.ts:
|
|
203
|
+
Defined in: [types.ts:603](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L603)
|
|
204
204
|
|
|
205
205
|
Anki note type name
|
|
206
206
|
|
|
@@ -214,7 +214,7 @@ Anki note type name
|
|
|
214
214
|
|
|
215
215
|
> `optional` **onyomi**: `string`[]
|
|
216
216
|
|
|
217
|
-
Defined in: [types.ts:
|
|
217
|
+
Defined in: [types.ts:727](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L727)
|
|
218
218
|
|
|
219
219
|
The kanji onyomi readings
|
|
220
220
|
|
|
@@ -224,7 +224,7 @@ The kanji onyomi readings
|
|
|
224
224
|
|
|
225
225
|
> `optional` **source**: `string`
|
|
226
226
|
|
|
227
|
-
Defined in: [types.ts:
|
|
227
|
+
Defined in: [types.ts:771](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L771)
|
|
228
228
|
|
|
229
229
|
The source (besides KANJIDIC) from which data for this kanji has been extracted
|
|
230
230
|
|
|
@@ -234,7 +234,7 @@ The source (besides KANJIDIC) from which data for this kanji has been extracted
|
|
|
234
234
|
|
|
235
235
|
> `optional` **strokes**: `string`
|
|
236
236
|
|
|
237
|
-
Defined in: [types.ts:
|
|
237
|
+
Defined in: [types.ts:719](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L719)
|
|
238
238
|
|
|
239
239
|
#### See
|
|
240
240
|
|
|
@@ -246,7 +246,7 @@ Defined in: [types.ts:709](https://github.com/Ronokof/Henkan/blob/main/src/types
|
|
|
246
246
|
|
|
247
247
|
> `optional` **svg**: `string`
|
|
248
248
|
|
|
249
|
-
Defined in: [types.ts:
|
|
249
|
+
Defined in: [types.ts:739](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L739)
|
|
250
250
|
|
|
251
251
|
The kanji SVG filename
|
|
252
252
|
|
|
@@ -256,7 +256,7 @@ The kanji SVG filename
|
|
|
256
256
|
|
|
257
257
|
> `optional` **tags**: `string`[]
|
|
258
258
|
|
|
259
|
-
Defined in: [types.ts:
|
|
259
|
+
Defined in: [types.ts:611](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L611)
|
|
260
260
|
|
|
261
261
|
Tags generated based on the entry's information
|
|
262
262
|
|
|
@@ -270,6 +270,6 @@ Tags generated based on the entry's information
|
|
|
270
270
|
|
|
271
271
|
> `optional` **words**: [`Word`](Word.md)[]
|
|
272
272
|
|
|
273
|
-
Defined in: [types.ts:
|
|
273
|
+
Defined in: [types.ts:751](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L751)
|
|
274
274
|
|
|
275
275
|
Words that use the kanji
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: KanjiComponent
|
|
8
8
|
|
|
9
|
-
Defined in: [types.ts:
|
|
9
|
+
Defined in: [types.ts:695](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L695)
|
|
10
10
|
|
|
11
11
|
Kanji component information
|
|
12
12
|
|
|
@@ -16,7 +16,7 @@ Kanji component information
|
|
|
16
16
|
|
|
17
17
|
> `readonly` **component**: `string`
|
|
18
18
|
|
|
19
|
-
Defined in: [types.ts:
|
|
19
|
+
Defined in: [types.ts:699](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L699)
|
|
20
20
|
|
|
21
21
|
The component character
|
|
22
22
|
|
|
@@ -26,6 +26,6 @@ The component character
|
|
|
26
26
|
|
|
27
27
|
> `optional` **meaning**: `string`
|
|
28
28
|
|
|
29
|
-
Defined in: [types.ts:
|
|
29
|
+
Defined in: [types.ts:703](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L703)
|
|
30
30
|
|
|
31
31
|
The meaning of the component
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: KanjiForm
|
|
8
8
|
|
|
9
|
-
Defined in: [types.ts:
|
|
9
|
+
Defined in: [types.ts:637](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L637)
|
|
10
10
|
|
|
11
11
|
A kanji form of the word
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ Converted from a [DictKanjiForm](DictKanjiForm.md)
|
|
|
18
18
|
|
|
19
19
|
> `optional` **common**: `true`
|
|
20
20
|
|
|
21
|
-
Defined in: [types.ts:
|
|
21
|
+
Defined in: [types.ts:649](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L649)
|
|
22
22
|
|
|
23
23
|
Whether or not the kanji form is common
|
|
24
24
|
|
|
@@ -28,7 +28,7 @@ Whether or not the kanji form is common
|
|
|
28
28
|
|
|
29
29
|
> `readonly` **kanjiForm**: `string`
|
|
30
30
|
|
|
31
|
-
Defined in: [types.ts:
|
|
31
|
+
Defined in: [types.ts:641](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L641)
|
|
32
32
|
|
|
33
33
|
The kanji form
|
|
34
34
|
|
|
@@ -38,6 +38,6 @@ The kanji form
|
|
|
38
38
|
|
|
39
39
|
> `optional` **notes**: `string`[]
|
|
40
40
|
|
|
41
|
-
Defined in: [types.ts:
|
|
41
|
+
Defined in: [types.ts:645](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L645)
|
|
42
42
|
|
|
43
43
|
Optional notes for the kanji form
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: NoteAndTag
|
|
8
8
|
|
|
9
|
-
Defined in: [types.ts:
|
|
9
|
+
Defined in: [types.ts:621](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L621)
|
|
10
10
|
|
|
11
11
|
A pair of a "kanji form"/"reading"/"sense" note and its associated tag
|
|
12
12
|
|
|
@@ -16,7 +16,7 @@ A pair of a "kanji form"/"reading"/"sense" note and its associated tag
|
|
|
16
16
|
|
|
17
17
|
> `readonly` **note**: `string`
|
|
18
18
|
|
|
19
|
-
Defined in: [types.ts:
|
|
19
|
+
Defined in: [types.ts:625](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L625)
|
|
20
20
|
|
|
21
21
|
The note
|
|
22
22
|
|
|
@@ -26,6 +26,6 @@ The note
|
|
|
26
26
|
|
|
27
27
|
> `readonly` `optional` **tag**: `string`
|
|
28
28
|
|
|
29
|
-
Defined in: [types.ts:
|
|
29
|
+
Defined in: [types.ts:629](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L629)
|
|
30
30
|
|
|
31
31
|
The tag
|