henkan 2.4.12 → 3.0.1
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/README.md +1 -1
- package/dist/index.cjs.js +439 -46
- package/dist/index.cjs.js.map +2 -2
- package/dist/index.mjs +436 -46
- package/dist/index.mjs.map +2 -2
- package/dist/types/types.d.ts +106 -15
- package/dist/types/types.d.ts.map +1 -1
- package/dist/types/utils.d.ts +28 -6
- package/dist/types/utils.d.ts.map +1 -1
- package/docs/api/README.md +8 -2
- package/docs/api/functions/capitalizeString.md +1 -1
- package/docs/api/functions/convertJMdict.md +1 -1
- package/docs/api/functions/convertJMnedict.md +33 -0
- 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 +9 -3
- package/docs/api/functions/generateAnkiNote.md +2 -2
- package/docs/api/functions/generateAnkiNotesFile.md +1 -1
- package/docs/api/functions/generateFurigana.md +1 -1
- package/docs/api/functions/getKanji.md +1 -1
- package/docs/api/functions/getKanjiExtended.md +1 -1
- package/docs/api/functions/getName.md +57 -0
- package/docs/api/functions/getValidForms.md +1 -1
- package/docs/api/functions/getWord.md +3 -3
- package/docs/api/functions/getWordDefinitions.md +1 -1
- package/docs/api/functions/getWordDefinitionsWithFurigana.md +1 -1
- package/docs/api/functions/hiraganaToKatakana.md +1 -1
- package/docs/api/functions/isObjectArray.md +1 -1
- package/docs/api/functions/isStringArray.md +1 -1
- package/docs/api/functions/isValidArrayWithFirstElement.md +1 -1
- package/docs/api/functions/katakanaToHiragana.md +1 -1
- package/docs/api/functions/shuffleArray.md +1 -1
- package/docs/api/interfaces/DefaultNoteInfo.md +10 -10
- package/docs/api/interfaces/Definition.md +4 -4
- package/docs/api/interfaces/DictKanji.md +5 -5
- package/docs/api/interfaces/DictKanjiForm.md +2 -2
- package/docs/api/interfaces/DictKanjiMisc.md +5 -5
- package/docs/api/interfaces/DictKanjiReading.md +3 -3
- package/docs/api/interfaces/DictKanjiReadingMeaning.md +3 -3
- package/docs/api/interfaces/DictKanjiReadingMeaningGroup.md +3 -3
- package/docs/api/interfaces/DictKanjiWithRadicals.md +3 -3
- package/docs/api/interfaces/DictName.md +75 -0
- package/docs/api/interfaces/DictRadical.md +4 -4
- package/docs/api/interfaces/DictReading.md +2 -2
- package/docs/api/interfaces/EntryMaps.md +33 -9
- package/docs/api/interfaces/ExamplePart.md +7 -7
- package/docs/api/interfaces/GlossSpecificNumber.md +3 -3
- package/docs/api/interfaces/Grammar.md +15 -15
- package/docs/api/interfaces/GrammarMeaning.md +3 -3
- package/docs/api/interfaces/JaWiktionaryEntry.md +5 -5
- package/docs/api/interfaces/Kana.md +11 -11
- package/docs/api/interfaces/Kanji.md +23 -23
- package/docs/api/interfaces/KanjiComponent.md +3 -3
- package/docs/api/interfaces/KanjiForm.md +5 -5
- package/docs/api/interfaces/Name.md +163 -0
- package/docs/api/interfaces/NeDictMeaning.md +33 -0
- 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 +6 -6
- package/docs/api/interfaces/ResultEntry.md +8 -7
- package/docs/api/interfaces/TanakaExample.md +7 -7
- package/docs/api/interfaces/Translation.md +5 -5
- package/docs/api/interfaces/UsefulRegExps.md +8 -8
- package/docs/api/interfaces/Word.md +15 -15
- package/docs/api/interfaces/WordDefinitionPair.md +4 -4
- package/docs/api/type-aliases/Dict.md +1 -1
- package/docs/api/type-aliases/{DictName.md → DictNames.md} +3 -3
- package/docs/api/type-aliases/EntryExamplesMap.md +13 -0
- package/docs/api/type-aliases/EntryType.md +2 -2
- package/docs/api/type-aliases/KanjiEntryMap.md +1 -1
- package/docs/api/type-aliases/KanjiSVGMap.md +1 -1
- package/docs/api/type-aliases/KanjiWordsMap.md +1 -1
- package/docs/api/type-aliases/NameIDEntryMap.md +13 -0
- package/docs/api/type-aliases/Result.md +2 -2
- package/docs/api/type-aliases/WordDefinitionsMap.md +1 -1
- package/docs/api/type-aliases/WordIDEntryMap.md +1 -1
- package/package.json +8 -7
- package/src/types.ts +115 -15
- package/src/utils.ts +733 -162
- package/docs/api/type-aliases/WordExamplesMap.md +0 -13
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: Kanji
|
|
8
8
|
|
|
9
|
-
Defined in: [types.ts:
|
|
9
|
+
Defined in: [types.ts:777](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L777)
|
|
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:809](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L809)
|
|
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:673](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L673)
|
|
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:681](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L681)
|
|
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:841](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L841)
|
|
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:825](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L825)
|
|
74
74
|
|
|
75
75
|
#### See
|
|
76
76
|
|
|
@@ -82,7 +82,7 @@ Defined in: [types.ts:757](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:821](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L821)
|
|
86
86
|
|
|
87
87
|
#### See
|
|
88
88
|
|
|
@@ -94,7 +94,7 @@ Defined in: [types.ts:753](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:665](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L665)
|
|
98
98
|
|
|
99
99
|
ID used for the Anki note ID
|
|
100
100
|
|
|
@@ -108,7 +108,7 @@ ID used for the Anki note ID
|
|
|
108
108
|
|
|
109
109
|
> `optional` **jlpt**: `` `N${number}` ``
|
|
110
110
|
|
|
111
|
-
Defined in: [types.ts:
|
|
111
|
+
Defined in: [types.ts:829](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L829)
|
|
112
112
|
|
|
113
113
|
#### See
|
|
114
114
|
|
|
@@ -120,7 +120,7 @@ Defined in: [types.ts:761](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:781](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L781)
|
|
124
124
|
|
|
125
125
|
#### See
|
|
126
126
|
|
|
@@ -132,7 +132,7 @@ Defined in: [types.ts:713](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:833](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L833)
|
|
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:797](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L797)
|
|
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:789](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L789)
|
|
156
156
|
|
|
157
157
|
#### See
|
|
158
158
|
|
|
@@ -164,7 +164,7 @@ Defined in: [types.ts:721](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:813](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L813)
|
|
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:801](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L801)
|
|
178
178
|
|
|
179
179
|
#### See
|
|
180
180
|
|
|
@@ -186,7 +186,7 @@ Defined in: [types.ts:733](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:661](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L661)
|
|
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:669](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L669)
|
|
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:793](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L793)
|
|
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:837](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L837)
|
|
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:785](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L785)
|
|
238
238
|
|
|
239
239
|
#### See
|
|
240
240
|
|
|
@@ -246,7 +246,7 @@ Defined in: [types.ts:717](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:805](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L805)
|
|
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:677](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L677)
|
|
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:817](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L817)
|
|
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:761](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L761)
|
|
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:765](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L765)
|
|
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:769](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L769)
|
|
30
30
|
|
|
31
31
|
The meaning of the component
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: KanjiForm
|
|
8
8
|
|
|
9
|
-
Defined in: [types.ts:
|
|
9
|
+
Defined in: [types.ts:703](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L703)
|
|
10
10
|
|
|
11
|
-
A kanji form of the word
|
|
11
|
+
A kanji form of the word/name
|
|
12
12
|
|
|
13
13
|
Converted from a [DictKanjiForm](DictKanjiForm.md)
|
|
14
14
|
|
|
@@ -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:715](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L715)
|
|
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:707](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L707)
|
|
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:711](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L711)
|
|
42
42
|
|
|
43
43
|
Optional notes for the kanji form
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
[**henkan**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[henkan](../README.md) / Name
|
|
6
|
+
|
|
7
|
+
# Interface: Name
|
|
8
|
+
|
|
9
|
+
Defined in: [types.ts:955](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L955)
|
|
10
|
+
|
|
11
|
+
Name information
|
|
12
|
+
|
|
13
|
+
Converted from [DictName](DictName.md)
|
|
14
|
+
|
|
15
|
+
## Extends
|
|
16
|
+
|
|
17
|
+
- [`ResultEntry`](ResultEntry.md)\<`"name"`\>
|
|
18
|
+
|
|
19
|
+
## Properties
|
|
20
|
+
|
|
21
|
+
### common?
|
|
22
|
+
|
|
23
|
+
> `optional` **common**: `true`
|
|
24
|
+
|
|
25
|
+
Defined in: [types.ts:979](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L979)
|
|
26
|
+
|
|
27
|
+
#### See
|
|
28
|
+
|
|
29
|
+
[DictName.isCommon](DictName.md#iscommon)
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### deckPath?
|
|
34
|
+
|
|
35
|
+
> `optional` **deckPath**: `string`
|
|
36
|
+
|
|
37
|
+
Defined in: [types.ts:673](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L673)
|
|
38
|
+
|
|
39
|
+
The full path of the Anki deck
|
|
40
|
+
|
|
41
|
+
#### Inherited from
|
|
42
|
+
|
|
43
|
+
[`ResultEntry`](ResultEntry.md).[`deckPath`](ResultEntry.md#deckpath)
|
|
44
|
+
|
|
45
|
+
***
|
|
46
|
+
|
|
47
|
+
### doNotCreateNote?
|
|
48
|
+
|
|
49
|
+
> `optional` **doNotCreateNote**: `true`
|
|
50
|
+
|
|
51
|
+
Defined in: [types.ts:681](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L681)
|
|
52
|
+
|
|
53
|
+
Whether or not this entry should be converted into an Anki note
|
|
54
|
+
|
|
55
|
+
#### Inherited from
|
|
56
|
+
|
|
57
|
+
[`ResultEntry`](ResultEntry.md).[`doNotCreateNote`](ResultEntry.md#donotcreatenote)
|
|
58
|
+
|
|
59
|
+
***
|
|
60
|
+
|
|
61
|
+
### id?
|
|
62
|
+
|
|
63
|
+
> `optional` **id**: `` `${number}` ``
|
|
64
|
+
|
|
65
|
+
Defined in: [types.ts:665](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L665)
|
|
66
|
+
|
|
67
|
+
ID used for the Anki note ID
|
|
68
|
+
|
|
69
|
+
#### Inherited from
|
|
70
|
+
|
|
71
|
+
[`ResultEntry`](ResultEntry.md).[`id`](ResultEntry.md#id)
|
|
72
|
+
|
|
73
|
+
***
|
|
74
|
+
|
|
75
|
+
### kanji?
|
|
76
|
+
|
|
77
|
+
> `optional` **kanji**: [`Kanji`](Kanji.md)[]
|
|
78
|
+
|
|
79
|
+
Defined in: [types.ts:971](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L971)
|
|
80
|
+
|
|
81
|
+
A list of kanji used in the kanji forms
|
|
82
|
+
|
|
83
|
+
***
|
|
84
|
+
|
|
85
|
+
### kanjiForms?
|
|
86
|
+
|
|
87
|
+
> `optional` **kanjiForms**: [`KanjiForm`](KanjiForm.md)[]
|
|
88
|
+
|
|
89
|
+
Defined in: [types.ts:967](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L967)
|
|
90
|
+
|
|
91
|
+
The name kanji forms
|
|
92
|
+
|
|
93
|
+
***
|
|
94
|
+
|
|
95
|
+
### nameReadings
|
|
96
|
+
|
|
97
|
+
> **nameReadings**: [`Reading`](Reading.md)[]
|
|
98
|
+
|
|
99
|
+
Defined in: [types.ts:959](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L959)
|
|
100
|
+
|
|
101
|
+
The name readings (in kana)
|
|
102
|
+
|
|
103
|
+
***
|
|
104
|
+
|
|
105
|
+
### noteID?
|
|
106
|
+
|
|
107
|
+
> `optional` **noteID**: `string`
|
|
108
|
+
|
|
109
|
+
Defined in: [types.ts:661](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L661)
|
|
110
|
+
|
|
111
|
+
ID used for the resulting Anki note
|
|
112
|
+
|
|
113
|
+
#### Inherited from
|
|
114
|
+
|
|
115
|
+
[`ResultEntry`](ResultEntry.md).[`noteID`](ResultEntry.md#noteid)
|
|
116
|
+
|
|
117
|
+
***
|
|
118
|
+
|
|
119
|
+
### noteTypeName?
|
|
120
|
+
|
|
121
|
+
> `optional` **noteTypeName**: `string`
|
|
122
|
+
|
|
123
|
+
Defined in: [types.ts:669](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L669)
|
|
124
|
+
|
|
125
|
+
Anki note type name
|
|
126
|
+
|
|
127
|
+
#### Inherited from
|
|
128
|
+
|
|
129
|
+
[`ResultEntry`](ResultEntry.md).[`noteTypeName`](ResultEntry.md#notetypename)
|
|
130
|
+
|
|
131
|
+
***
|
|
132
|
+
|
|
133
|
+
### phrases?
|
|
134
|
+
|
|
135
|
+
> `optional` **phrases**: [`Phrase`](Phrase.md)[]
|
|
136
|
+
|
|
137
|
+
Defined in: [types.ts:975](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L975)
|
|
138
|
+
|
|
139
|
+
Phrases associated to the name
|
|
140
|
+
|
|
141
|
+
***
|
|
142
|
+
|
|
143
|
+
### tags?
|
|
144
|
+
|
|
145
|
+
> `optional` **tags**: `string`[]
|
|
146
|
+
|
|
147
|
+
Defined in: [types.ts:677](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L677)
|
|
148
|
+
|
|
149
|
+
Tags generated based on the entry's information
|
|
150
|
+
|
|
151
|
+
#### Inherited from
|
|
152
|
+
|
|
153
|
+
[`ResultEntry`](ResultEntry.md).[`tags`](ResultEntry.md#tags)
|
|
154
|
+
|
|
155
|
+
***
|
|
156
|
+
|
|
157
|
+
### translations
|
|
158
|
+
|
|
159
|
+
> **translations**: [`Translation`](Translation.md)[]
|
|
160
|
+
|
|
161
|
+
Defined in: [types.ts:963](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L963)
|
|
162
|
+
|
|
163
|
+
The name translations
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
[**henkan**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[henkan](../README.md) / NeDictMeaning
|
|
6
|
+
|
|
7
|
+
# Interface: NeDictMeaning
|
|
8
|
+
|
|
9
|
+
Defined in: [types.ts:229](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L229)
|
|
10
|
+
|
|
11
|
+
Name translation information
|
|
12
|
+
|
|
13
|
+
Equivalent to the `trans` JMnedict element
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
### nameTypes?
|
|
18
|
+
|
|
19
|
+
> `optional` **nameTypes**: `string`[]
|
|
20
|
+
|
|
21
|
+
Defined in: [types.ts:237](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L237)
|
|
22
|
+
|
|
23
|
+
Types of the name
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### translations
|
|
28
|
+
|
|
29
|
+
> **translations**: `string`[]
|
|
30
|
+
|
|
31
|
+
Defined in: [types.ts:233](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L233)
|
|
32
|
+
|
|
33
|
+
Name translations
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: NoteAndTag
|
|
8
8
|
|
|
9
|
-
Defined in: [types.ts:
|
|
9
|
+
Defined in: [types.ts:687](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L687)
|
|
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:691](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L691)
|
|
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:695](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L695)
|
|
30
30
|
|
|
31
31
|
The tag
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: NoteHeaderKeys
|
|
8
8
|
|
|
9
|
-
Defined in: [types.ts:
|
|
9
|
+
Defined in: [types.ts:1095](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L1095)
|
|
10
10
|
|
|
11
11
|
Anki note file headers keys
|
|
12
12
|
|
|
@@ -20,7 +20,7 @@ Anki note file headers keys
|
|
|
20
20
|
|
|
21
21
|
> `readonly` **deck**: `` `${string}:` ``
|
|
22
22
|
|
|
23
|
-
Defined in: [types.ts:
|
|
23
|
+
Defined in: [types.ts:1115](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L1115)
|
|
24
24
|
|
|
25
25
|
Deck name column header
|
|
26
26
|
|
|
@@ -30,7 +30,7 @@ Deck name column header
|
|
|
30
30
|
|
|
31
31
|
> `readonly` **guid**: `` `${string}:` ``
|
|
32
32
|
|
|
33
|
-
Defined in: [types.ts:
|
|
33
|
+
Defined in: [types.ts:1107](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L1107)
|
|
34
34
|
|
|
35
35
|
GUID column header
|
|
36
36
|
|
|
@@ -40,7 +40,7 @@ GUID column header
|
|
|
40
40
|
|
|
41
41
|
> `readonly` **html**: `` `${string}:false` `` \| `` `${string}:true` ``
|
|
42
42
|
|
|
43
|
-
Defined in: [types.ts:
|
|
43
|
+
Defined in: [types.ts:1103](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L1103)
|
|
44
44
|
|
|
45
45
|
HTML treatment
|
|
46
46
|
|
|
@@ -50,7 +50,7 @@ HTML treatment
|
|
|
50
50
|
|
|
51
51
|
> `readonly` **notetype**: `` `${string}:` ``
|
|
52
52
|
|
|
53
|
-
Defined in: [types.ts:
|
|
53
|
+
Defined in: [types.ts:1111](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L1111)
|
|
54
54
|
|
|
55
55
|
Note type column header
|
|
56
56
|
|
|
@@ -60,7 +60,7 @@ Note type column header
|
|
|
60
60
|
|
|
61
61
|
> `readonly` **separator**: `` `${string}:${string}` ``
|
|
62
62
|
|
|
63
|
-
Defined in: [types.ts:
|
|
63
|
+
Defined in: [types.ts:1099](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L1099)
|
|
64
64
|
|
|
65
65
|
Field separator
|
|
66
66
|
|
|
@@ -70,6 +70,6 @@ Field separator
|
|
|
70
70
|
|
|
71
71
|
> `readonly` **tags**: `` `${string}:` ``
|
|
72
72
|
|
|
73
|
-
Defined in: [types.ts:
|
|
73
|
+
Defined in: [types.ts:1119](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L1119)
|
|
74
74
|
|
|
75
75
|
Tags column header (*must be completed with a number after `:`*)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: Phrase
|
|
8
8
|
|
|
9
|
-
Defined in: [types.ts:
|
|
9
|
+
Defined in: [types.ts:891](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L891)
|
|
10
10
|
|
|
11
11
|
Phrase information
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ Converted from [TanakaExample](TanakaExample.md)
|
|
|
18
18
|
|
|
19
19
|
> `readonly` `optional` **glossNumber**: [`GlossSpecificNumber`](GlossSpecificNumber.md)
|
|
20
20
|
|
|
21
|
-
Defined in: [types.ts:
|
|
21
|
+
Defined in: [types.ts:907](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L907)
|
|
22
22
|
|
|
23
23
|
#### See
|
|
24
24
|
|
|
@@ -30,7 +30,7 @@ Defined in: [types.ts:839](https://github.com/Ronokof/Henkan/blob/main/src/types
|
|
|
30
30
|
|
|
31
31
|
> `readonly` **originalPhrase**: `string`
|
|
32
32
|
|
|
33
|
-
Defined in: [types.ts:
|
|
33
|
+
Defined in: [types.ts:903](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L903)
|
|
34
34
|
|
|
35
35
|
#### See
|
|
36
36
|
|
|
@@ -42,7 +42,7 @@ Defined in: [types.ts:835](https://github.com/Ronokof/Henkan/blob/main/src/types
|
|
|
42
42
|
|
|
43
43
|
> `readonly` **phrase**: `string`
|
|
44
44
|
|
|
45
|
-
Defined in: [types.ts:
|
|
45
|
+
Defined in: [types.ts:895](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L895)
|
|
46
46
|
|
|
47
47
|
The Japanese phrase, either with furigana attached or not
|
|
48
48
|
|
|
@@ -52,7 +52,7 @@ The Japanese phrase, either with furigana attached or not
|
|
|
52
52
|
|
|
53
53
|
> `readonly` **translation**: `string`
|
|
54
54
|
|
|
55
|
-
Defined in: [types.ts:
|
|
55
|
+
Defined in: [types.ts:899](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L899)
|
|
56
56
|
|
|
57
57
|
#### See
|
|
58
58
|
|