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.
Files changed (87) hide show
  1. package/README.md +1 -1
  2. package/dist/index.cjs.js +439 -46
  3. package/dist/index.cjs.js.map +2 -2
  4. package/dist/index.mjs +436 -46
  5. package/dist/index.mjs.map +2 -2
  6. package/dist/types/types.d.ts +106 -15
  7. package/dist/types/types.d.ts.map +1 -1
  8. package/dist/types/utils.d.ts +28 -6
  9. package/dist/types/utils.d.ts.map +1 -1
  10. package/docs/api/README.md +8 -2
  11. package/docs/api/functions/capitalizeString.md +1 -1
  12. package/docs/api/functions/convertJMdict.md +1 -1
  13. package/docs/api/functions/convertJMnedict.md +33 -0
  14. package/docs/api/functions/convertJawiktionaryAsync.md +1 -1
  15. package/docs/api/functions/convertJawiktionarySync.md +1 -1
  16. package/docs/api/functions/convertKanjiDic.md +1 -1
  17. package/docs/api/functions/convertKradFile.md +1 -1
  18. package/docs/api/functions/convertRadkFile.md +1 -1
  19. package/docs/api/functions/convertTanakaCorpus.md +1 -1
  20. package/docs/api/functions/convertTanakaCorpusWithFurigana.md +1 -1
  21. package/docs/api/functions/createEntryMaps.md +9 -3
  22. package/docs/api/functions/generateAnkiNote.md +2 -2
  23. package/docs/api/functions/generateAnkiNotesFile.md +1 -1
  24. package/docs/api/functions/generateFurigana.md +1 -1
  25. package/docs/api/functions/getKanji.md +1 -1
  26. package/docs/api/functions/getKanjiExtended.md +1 -1
  27. package/docs/api/functions/getName.md +57 -0
  28. package/docs/api/functions/getValidForms.md +1 -1
  29. package/docs/api/functions/getWord.md +3 -3
  30. package/docs/api/functions/getWordDefinitions.md +1 -1
  31. package/docs/api/functions/getWordDefinitionsWithFurigana.md +1 -1
  32. package/docs/api/functions/hiraganaToKatakana.md +1 -1
  33. package/docs/api/functions/isObjectArray.md +1 -1
  34. package/docs/api/functions/isStringArray.md +1 -1
  35. package/docs/api/functions/isValidArrayWithFirstElement.md +1 -1
  36. package/docs/api/functions/katakanaToHiragana.md +1 -1
  37. package/docs/api/functions/shuffleArray.md +1 -1
  38. package/docs/api/interfaces/DefaultNoteInfo.md +10 -10
  39. package/docs/api/interfaces/Definition.md +4 -4
  40. package/docs/api/interfaces/DictKanji.md +5 -5
  41. package/docs/api/interfaces/DictKanjiForm.md +2 -2
  42. package/docs/api/interfaces/DictKanjiMisc.md +5 -5
  43. package/docs/api/interfaces/DictKanjiReading.md +3 -3
  44. package/docs/api/interfaces/DictKanjiReadingMeaning.md +3 -3
  45. package/docs/api/interfaces/DictKanjiReadingMeaningGroup.md +3 -3
  46. package/docs/api/interfaces/DictKanjiWithRadicals.md +3 -3
  47. package/docs/api/interfaces/DictName.md +75 -0
  48. package/docs/api/interfaces/DictRadical.md +4 -4
  49. package/docs/api/interfaces/DictReading.md +2 -2
  50. package/docs/api/interfaces/EntryMaps.md +33 -9
  51. package/docs/api/interfaces/ExamplePart.md +7 -7
  52. package/docs/api/interfaces/GlossSpecificNumber.md +3 -3
  53. package/docs/api/interfaces/Grammar.md +15 -15
  54. package/docs/api/interfaces/GrammarMeaning.md +3 -3
  55. package/docs/api/interfaces/JaWiktionaryEntry.md +5 -5
  56. package/docs/api/interfaces/Kana.md +11 -11
  57. package/docs/api/interfaces/Kanji.md +23 -23
  58. package/docs/api/interfaces/KanjiComponent.md +3 -3
  59. package/docs/api/interfaces/KanjiForm.md +5 -5
  60. package/docs/api/interfaces/Name.md +163 -0
  61. package/docs/api/interfaces/NeDictMeaning.md +33 -0
  62. package/docs/api/interfaces/NoteAndTag.md +3 -3
  63. package/docs/api/interfaces/NoteHeaderKeys.md +7 -7
  64. package/docs/api/interfaces/Phrase.md +5 -5
  65. package/docs/api/interfaces/Radical.md +16 -16
  66. package/docs/api/interfaces/Reading.md +6 -6
  67. package/docs/api/interfaces/ResultEntry.md +8 -7
  68. package/docs/api/interfaces/TanakaExample.md +7 -7
  69. package/docs/api/interfaces/Translation.md +5 -5
  70. package/docs/api/interfaces/UsefulRegExps.md +8 -8
  71. package/docs/api/interfaces/Word.md +15 -15
  72. package/docs/api/interfaces/WordDefinitionPair.md +4 -4
  73. package/docs/api/type-aliases/Dict.md +1 -1
  74. package/docs/api/type-aliases/{DictName.md → DictNames.md} +3 -3
  75. package/docs/api/type-aliases/EntryExamplesMap.md +13 -0
  76. package/docs/api/type-aliases/EntryType.md +2 -2
  77. package/docs/api/type-aliases/KanjiEntryMap.md +1 -1
  78. package/docs/api/type-aliases/KanjiSVGMap.md +1 -1
  79. package/docs/api/type-aliases/KanjiWordsMap.md +1 -1
  80. package/docs/api/type-aliases/NameIDEntryMap.md +13 -0
  81. package/docs/api/type-aliases/Result.md +2 -2
  82. package/docs/api/type-aliases/WordDefinitionsMap.md +1 -1
  83. package/docs/api/type-aliases/WordIDEntryMap.md +1 -1
  84. package/package.json +8 -7
  85. package/src/types.ts +115 -15
  86. package/src/utils.ts +733 -162
  87. package/docs/api/type-aliases/WordExamplesMap.md +0 -13
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Interface: Radical
8
8
 
9
- Defined in: [types.ts:779](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L779)
9
+ Defined in: [types.ts:847](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L847)
10
10
 
11
11
  Kanji radical/component information
12
12
 
@@ -20,7 +20,7 @@ Kanji radical/component information
20
20
 
21
21
  > `optional` **deckPath**: `string`
22
22
 
23
- Defined in: [types.ts:605](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L605)
23
+ Defined in: [types.ts:673](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L673)
24
24
 
25
25
  The full path of the Anki deck
26
26
 
@@ -34,7 +34,7 @@ The full path of the Anki deck
34
34
 
35
35
  > `optional` **doNotCreateNote**: `true`
36
36
 
37
- Defined in: [types.ts:613](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L613)
37
+ Defined in: [types.ts:681](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L681)
38
38
 
39
39
  Whether or not this entry should be converted into an Anki note
40
40
 
@@ -48,7 +48,7 @@ Whether or not this entry should be converted into an Anki note
48
48
 
49
49
  > `optional` **externalInfo**: `true`
50
50
 
51
- Defined in: [types.ts:815](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L815)
51
+ Defined in: [types.ts:883](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L883)
52
52
 
53
53
  Whether or not this radical/component object contains information extracted from [sources](#sources)
54
54
 
@@ -58,7 +58,7 @@ Whether or not this radical/component object contains information extracted from
58
58
 
59
59
  > `optional` **id**: `` `${number}` ``
60
60
 
61
- Defined in: [types.ts:597](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L597)
61
+ Defined in: [types.ts:665](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L665)
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
  > `optional` **kanji**: [`Kanji`](Kanji.md)[]
74
74
 
75
- Defined in: [types.ts:807](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L807)
75
+ Defined in: [types.ts:875](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L875)
76
76
 
77
77
  Kanji that include the radical/component
78
78
 
@@ -82,7 +82,7 @@ Kanji that include the radical/component
82
82
 
83
83
  > **meanings**: `string`[]
84
84
 
85
- Defined in: [types.ts:791](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L791)
85
+ Defined in: [types.ts:859](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L859)
86
86
 
87
87
  The radical/component meanings
88
88
 
@@ -92,7 +92,7 @@ The radical/component meanings
92
92
 
93
93
  > `optional` **mnemonic**: `string`
94
94
 
95
- Defined in: [types.ts:803](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L803)
95
+ Defined in: [types.ts:871](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L871)
96
96
 
97
97
  The radical/component mnemonic
98
98
 
@@ -102,7 +102,7 @@ The radical/component mnemonic
102
102
 
103
103
  > `optional` **noteID**: `string`
104
104
 
105
- Defined in: [types.ts:593](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L593)
105
+ Defined in: [types.ts:661](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L661)
106
106
 
107
107
  ID used for the resulting Anki note
108
108
 
@@ -116,7 +116,7 @@ ID used for the resulting Anki note
116
116
 
117
117
  > `optional` **noteTypeName**: `string`
118
118
 
119
- Defined in: [types.ts:601](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L601)
119
+ Defined in: [types.ts:669](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L669)
120
120
 
121
121
  Anki note type name
122
122
 
@@ -130,7 +130,7 @@ Anki note type name
130
130
 
131
131
  > `readonly` **radical**: `string`
132
132
 
133
- Defined in: [types.ts:783](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L783)
133
+ Defined in: [types.ts:851](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L851)
134
134
 
135
135
  The radical/component character
136
136
 
@@ -140,7 +140,7 @@ The radical/component character
140
140
 
141
141
  > **reading**: `string`
142
142
 
143
- Defined in: [types.ts:787](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L787)
143
+ Defined in: [types.ts:855](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L855)
144
144
 
145
145
  The radical/component reading (in kana)
146
146
 
@@ -150,7 +150,7 @@ The radical/component reading (in kana)
150
150
 
151
151
  > `optional` **sources**: `string`[]
152
152
 
153
- Defined in: [types.ts:811](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L811)
153
+ Defined in: [types.ts:879](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L879)
154
154
 
155
155
  The sources from which data for this radical/component has been extracted
156
156
 
@@ -160,7 +160,7 @@ The sources from which data for this radical/component has been extracted
160
160
 
161
161
  > `optional` **strokes**: `string`
162
162
 
163
- Defined in: [types.ts:795](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L795)
163
+ Defined in: [types.ts:863](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L863)
164
164
 
165
165
  The stroke count of the radical/component
166
166
 
@@ -170,7 +170,7 @@ The stroke count of the radical/component
170
170
 
171
171
  > `optional` **svg**: `string`
172
172
 
173
- Defined in: [types.ts:799](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L799)
173
+ Defined in: [types.ts:867](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L867)
174
174
 
175
175
  The radical/component SVG filename
176
176
 
@@ -180,7 +180,7 @@ The radical/component SVG filename
180
180
 
181
181
  > `optional` **tags**: `string`[]
182
182
 
183
- Defined in: [types.ts:609](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L609)
183
+ Defined in: [types.ts:677](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L677)
184
184
 
185
185
  Tags generated based on the entry's information
186
186
 
@@ -6,9 +6,9 @@
6
6
 
7
7
  # Interface: Reading
8
8
 
9
- Defined in: [types.ts:655](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L655)
9
+ Defined in: [types.ts:723](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L723)
10
10
 
11
- A reading of the word
11
+ A reading of the word/name
12
12
 
13
13
  Converted from [DictReading](DictReading.md)
14
14
 
@@ -18,7 +18,7 @@ Converted from [DictReading](DictReading.md)
18
18
 
19
19
  > `optional` **audio**: `string`
20
20
 
21
- Defined in: [types.ts:671](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L671)
21
+ Defined in: [types.ts:739](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L739)
22
22
 
23
23
  The filename of an audio file for the reading
24
24
 
@@ -28,7 +28,7 @@ The filename of an audio file for the reading
28
28
 
29
29
  > `optional` **common**: `true`
30
30
 
31
- Defined in: [types.ts:667](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L667)
31
+ Defined in: [types.ts:735](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L735)
32
32
 
33
33
  Whether or not the reading is common
34
34
 
@@ -38,7 +38,7 @@ Whether or not the reading is common
38
38
 
39
39
  > `optional` **notes**: `string`[]
40
40
 
41
- Defined in: [types.ts:663](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L663)
41
+ Defined in: [types.ts:731](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L731)
42
42
 
43
43
  Optional notes for the reading
44
44
 
@@ -48,6 +48,6 @@ Optional notes for the reading
48
48
 
49
49
  > `readonly` **reading**: `string`
50
50
 
51
- Defined in: [types.ts:659](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L659)
51
+ Defined in: [types.ts:727](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L727)
52
52
 
53
53
  The reading (in kana)
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Interface: ResultEntry\<E\>
8
8
 
9
- Defined in: [types.ts:589](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L589)
9
+ Defined in: [types.ts:657](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L657)
10
10
 
11
11
  Basic Anki note information
12
12
 
@@ -15,6 +15,7 @@ Basic Anki note information
15
15
  - [`Kanji`](Kanji.md)
16
16
  - [`Radical`](Radical.md)
17
17
  - [`Word`](Word.md)
18
+ - [`Name`](Name.md)
18
19
  - [`Kana`](Kana.md)
19
20
  - [`Grammar`](Grammar.md)
20
21
 
@@ -30,7 +31,7 @@ Basic Anki note information
30
31
 
31
32
  > `optional` **deckPath**: `string`
32
33
 
33
- Defined in: [types.ts:605](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L605)
34
+ Defined in: [types.ts:673](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L673)
34
35
 
35
36
  The full path of the Anki deck
36
37
 
@@ -40,7 +41,7 @@ The full path of the Anki deck
40
41
 
41
42
  > `optional` **doNotCreateNote**: `true`
42
43
 
43
- Defined in: [types.ts:613](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L613)
44
+ Defined in: [types.ts:681](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L681)
44
45
 
45
46
  Whether or not this entry should be converted into an Anki note
46
47
 
@@ -50,7 +51,7 @@ Whether or not this entry should be converted into an Anki note
50
51
 
51
52
  > `optional` **id**: `` `${number}` ``
52
53
 
53
- Defined in: [types.ts:597](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L597)
54
+ Defined in: [types.ts:665](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L665)
54
55
 
55
56
  ID used for the Anki note ID
56
57
 
@@ -60,7 +61,7 @@ ID used for the Anki note ID
60
61
 
61
62
  > `optional` **noteID**: `string`
62
63
 
63
- Defined in: [types.ts:593](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L593)
64
+ Defined in: [types.ts:661](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L661)
64
65
 
65
66
  ID used for the resulting Anki note
66
67
 
@@ -70,7 +71,7 @@ ID used for the resulting Anki note
70
71
 
71
72
  > `optional` **noteTypeName**: `string`
72
73
 
73
- Defined in: [types.ts:601](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L601)
74
+ Defined in: [types.ts:669](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L669)
74
75
 
75
76
  Anki note type name
76
77
 
@@ -80,6 +81,6 @@ Anki note type name
80
81
 
81
82
  > `optional` **tags**: `string`[]
82
83
 
83
- Defined in: [types.ts:609](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L609)
84
+ Defined in: [types.ts:677](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L677)
84
85
 
85
86
  Tags generated based on the entry's information
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Interface: TanakaExample
8
8
 
9
- Defined in: [types.ts:413](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L413)
9
+ Defined in: [types.ts:463](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L463)
10
10
 
11
11
  Tanaka Corpus `examples.utf` examples
12
12
 
@@ -16,7 +16,7 @@ Tanaka Corpus `examples.utf` examples
16
16
 
17
17
  > `optional` **furigana**: `string`
18
18
 
19
- Defined in: [types.ts:433](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L433)
19
+ Defined in: [types.ts:483](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L483)
20
20
 
21
21
  The Japanese phrase, with furigana attached
22
22
 
@@ -26,7 +26,7 @@ The Japanese phrase, with furigana attached
26
26
 
27
27
  > `optional` **glossNumber**: [`GlossSpecificNumber`](GlossSpecificNumber.md)
28
28
 
29
- Defined in: [types.ts:437](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L437)
29
+ Defined in: [types.ts:487](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L487)
30
30
 
31
31
  The word-gloss pair
32
32
 
@@ -36,7 +36,7 @@ The word-gloss pair
36
36
 
37
37
  > `readonly` **id**: `` `${number}_${number}` ``
38
38
 
39
- Defined in: [types.ts:417](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L417)
39
+ Defined in: [types.ts:467](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L467)
40
40
 
41
41
  The ID of the example
42
42
 
@@ -46,7 +46,7 @@ The ID of the example
46
46
 
47
47
  > `readonly` **parts**: [`ExamplePart`](ExamplePart.md)[]
48
48
 
49
- Defined in: [types.ts:429](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L429)
49
+ Defined in: [types.ts:479](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L479)
50
50
 
51
51
  The `B` section, split into parts
52
52
 
@@ -56,7 +56,7 @@ The `B` section, split into parts
56
56
 
57
57
  > `readonly` **phrase**: `string`
58
58
 
59
- Defined in: [types.ts:421](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L421)
59
+ Defined in: [types.ts:471](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L471)
60
60
 
61
61
  The Japanese phrase (found in the `A` section, **before** the tab)
62
62
 
@@ -66,6 +66,6 @@ The Japanese phrase (found in the `A` section, **before** the tab)
66
66
 
67
67
  > `readonly` **translation**: `string`
68
68
 
69
- Defined in: [types.ts:425](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L425)
69
+ Defined in: [types.ts:475](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L475)
70
70
 
71
71
  The English translation of the phrase (found in the `A` section, **after** the tab)
@@ -6,11 +6,11 @@
6
6
 
7
7
  # Interface: Translation
8
8
 
9
- Defined in: [types.ts:679](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L679)
9
+ Defined in: [types.ts:747](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L747)
10
10
 
11
- A translation of the word
11
+ A translation of the word/name
12
12
 
13
- Converted from [DictMeaning](DictMeaning.md)
13
+ Converted from [DictMeaning](DictMeaning.md) or [NeDictMeaning](NeDictMeaning.md)
14
14
 
15
15
  ## Properties
16
16
 
@@ -18,7 +18,7 @@ Converted from [DictMeaning](DictMeaning.md)
18
18
 
19
19
  > `optional` **notes**: `string`[]
20
20
 
21
- Defined in: [types.ts:687](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L687)
21
+ Defined in: [types.ts:755](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L755)
22
22
 
23
23
  Information about the translation
24
24
 
@@ -28,6 +28,6 @@ Information about the translation
28
28
 
29
29
  > `readonly` **translation**: `string`
30
30
 
31
- Defined in: [types.ts:683](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L683)
31
+ Defined in: [types.ts:751](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L751)
32
32
 
33
33
  The translation
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Interface: UsefulRegExps
8
8
 
9
- Defined in: [types.ts:1025](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L1025)
9
+ Defined in: [types.ts:1125](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L1125)
10
10
 
11
11
  Some useful regular expressions
12
12
 
@@ -16,7 +16,7 @@ Some useful regular expressions
16
16
 
17
17
  > `readonly` **hiragana**: `RegExp`
18
18
 
19
- Defined in: [types.ts:1029](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L1029)
19
+ Defined in: [types.ts:1129](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L1129)
20
20
 
21
21
  Matches any *hiragana* character(s)
22
22
 
@@ -26,7 +26,7 @@ Matches any *hiragana* character(s)
26
26
 
27
27
  > `readonly` **kanji**: `RegExp`
28
28
 
29
- Defined in: [types.ts:1037](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L1037)
29
+ Defined in: [types.ts:1137](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L1137)
30
30
 
31
31
  Matches any *kanji* character(s)
32
32
 
@@ -36,7 +36,7 @@ Matches any *kanji* character(s)
36
36
 
37
37
  > `readonly` **katakana**: `RegExp`
38
38
 
39
- Defined in: [types.ts:1033](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L1033)
39
+ Defined in: [types.ts:1133](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L1133)
40
40
 
41
41
  Matches any *katakana* character(s)
42
42
 
@@ -46,7 +46,7 @@ Matches any *katakana* character(s)
46
46
 
47
47
  > `readonly` **regExChars**: `RegExp`
48
48
 
49
- Defined in: [types.ts:1041](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L1041)
49
+ Defined in: [types.ts:1141](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L1141)
50
50
 
51
51
  Matches any character that is part of the regex syntax
52
52
 
@@ -56,7 +56,7 @@ Matches any character that is part of the regex syntax
56
56
 
57
57
  > `readonly` **tanakaID**: `RegExp`
58
58
 
59
- Defined in: [types.ts:1045](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L1045)
59
+ Defined in: [types.ts:1145](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L1145)
60
60
 
61
61
  Matches the `#ID=` part in a Tanaka Corpus `examples.utf` file
62
62
 
@@ -66,7 +66,7 @@ Matches the `#ID=` part in a Tanaka Corpus `examples.utf` file
66
66
 
67
67
  > `readonly` **tanakaPart**: `RegExp`
68
68
 
69
- Defined in: [types.ts:1049](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L1049)
69
+ Defined in: [types.ts:1149](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L1149)
70
70
 
71
71
  Matches and splits a part found in the `B` section of a Tanaka Corpus `examples.utf` file
72
72
 
@@ -76,6 +76,6 @@ Matches and splits a part found in the `B` section of a Tanaka Corpus `examples.
76
76
 
77
77
  > `readonly` **tanakaReferenceID**: `RegExp`
78
78
 
79
- Defined in: [types.ts:1053](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L1053)
79
+ Defined in: [types.ts:1153](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L1153)
80
80
 
81
81
  Matches the reference ID element of a Tanaka example part
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Interface: Word
8
8
 
9
- Defined in: [types.ts:847](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L847)
9
+ Defined in: [types.ts:915](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L915)
10
10
 
11
11
  Word information
12
12
 
@@ -22,7 +22,7 @@ Converted from [DictWord](DictWord.md)
22
22
 
23
23
  > `optional` **common**: `true`
24
24
 
25
- Defined in: [types.ts:875](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L875)
25
+ Defined in: [types.ts:943](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L943)
26
26
 
27
27
  #### See
28
28
 
@@ -34,7 +34,7 @@ Defined in: [types.ts:875](https://github.com/Ronokof/Henkan/blob/main/src/types
34
34
 
35
35
  > `optional` **deckPath**: `string`
36
36
 
37
- Defined in: [types.ts:605](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L605)
37
+ Defined in: [types.ts:673](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L673)
38
38
 
39
39
  The full path of the Anki deck
40
40
 
@@ -48,7 +48,7 @@ The full path of the Anki deck
48
48
 
49
49
  > `optional` **definitions**: [`Definition`](Definition.md)[]
50
50
 
51
- Defined in: [types.ts:871](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L871)
51
+ Defined in: [types.ts:939](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L939)
52
52
 
53
53
  Japanese definitions associated with the word
54
54
 
@@ -58,7 +58,7 @@ Japanese definitions associated with the word
58
58
 
59
59
  > `optional` **doNotCreateNote**: `true`
60
60
 
61
- Defined in: [types.ts:613](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L613)
61
+ Defined in: [types.ts:681](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L681)
62
62
 
63
63
  Whether or not this entry should be converted into an Anki note
64
64
 
@@ -72,7 +72,7 @@ Whether or not this entry should be converted into an Anki note
72
72
 
73
73
  > `optional` **id**: `` `${number}` ``
74
74
 
75
- Defined in: [types.ts:597](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L597)
75
+ Defined in: [types.ts:665](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L665)
76
76
 
77
77
  ID used for the Anki note ID
78
78
 
@@ -86,7 +86,7 @@ ID used for the Anki note ID
86
86
 
87
87
  > `optional` **kanji**: [`Kanji`](Kanji.md)[]
88
88
 
89
- Defined in: [types.ts:863](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L863)
89
+ Defined in: [types.ts:931](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L931)
90
90
 
91
91
  A list of kanji used in the kanji forms
92
92
 
@@ -96,7 +96,7 @@ A list of kanji used in the kanji forms
96
96
 
97
97
  > `optional` **kanjiForms**: [`KanjiForm`](KanjiForm.md)[]
98
98
 
99
- Defined in: [types.ts:859](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L859)
99
+ Defined in: [types.ts:927](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L927)
100
100
 
101
101
  The word kanji forms
102
102
 
@@ -106,7 +106,7 @@ The word kanji forms
106
106
 
107
107
  > `optional` **noteID**: `string`
108
108
 
109
- Defined in: [types.ts:593](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L593)
109
+ Defined in: [types.ts:661](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L661)
110
110
 
111
111
  ID used for the resulting Anki note
112
112
 
@@ -120,7 +120,7 @@ ID used for the resulting Anki note
120
120
 
121
121
  > `optional` **noteTypeName**: `string`
122
122
 
123
- Defined in: [types.ts:601](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L601)
123
+ Defined in: [types.ts:669](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L669)
124
124
 
125
125
  Anki note type name
126
126
 
@@ -134,7 +134,7 @@ Anki note type name
134
134
 
135
135
  > `optional` **phrases**: [`Phrase`](Phrase.md)[]
136
136
 
137
- Defined in: [types.ts:867](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L867)
137
+ Defined in: [types.ts:935](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L935)
138
138
 
139
139
  Phrases associated to the word
140
140
 
@@ -144,7 +144,7 @@ Phrases associated to the word
144
144
 
145
145
  > **readings**: [`Reading`](Reading.md)[]
146
146
 
147
- Defined in: [types.ts:851](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L851)
147
+ Defined in: [types.ts:919](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L919)
148
148
 
149
149
  The word readings (in kana)
150
150
 
@@ -154,7 +154,7 @@ The word readings (in kana)
154
154
 
155
155
  > `optional` **tags**: `string`[]
156
156
 
157
- Defined in: [types.ts:609](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L609)
157
+ Defined in: [types.ts:677](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L677)
158
158
 
159
159
  Tags generated based on the entry's information
160
160
 
@@ -168,7 +168,7 @@ Tags generated based on the entry's information
168
168
 
169
169
  > **translations**: [`Translation`](Translation.md)[]
170
170
 
171
- Defined in: [types.ts:855](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L855)
171
+ Defined in: [types.ts:923](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L923)
172
172
 
173
173
  The word translations/senses
174
174
 
@@ -178,7 +178,7 @@ The word translations/senses
178
178
 
179
179
  > `optional` **usuallyInKana**: `true`
180
180
 
181
- Defined in: [types.ts:879](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L879)
181
+ Defined in: [types.ts:947](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L947)
182
182
 
183
183
  #### See
184
184
 
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Interface: WordDefinitionPair
8
8
 
9
- Defined in: [types.ts:553](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L553)
9
+ Defined in: [types.ts:615](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L615)
10
10
 
11
11
  A word paired with its definitions
12
12
 
@@ -16,7 +16,7 @@ A word paired with its definitions
16
16
 
17
17
  > **definitions**: [`Definition`](Definition.md)[]
18
18
 
19
- Defined in: [types.ts:561](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L561)
19
+ Defined in: [types.ts:623](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L623)
20
20
 
21
21
  The word definitions
22
22
 
@@ -26,7 +26,7 @@ The word definitions
26
26
 
27
27
  > `optional` **wordForms**: `Set`\<`string`\>
28
28
 
29
- Defined in: [types.ts:567](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L567)
29
+ Defined in: [types.ts:629](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L629)
30
30
 
31
31
  The word's readings and/or kanji forms used when searching definitions.
32
32
 
@@ -38,6 +38,6 @@ The word's readings and/or kanji forms used when searching definitions.
38
38
 
39
39
  > **wordID**: `` `${number}` ``
40
40
 
41
- Defined in: [types.ts:557](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L557)
41
+ Defined in: [types.ts:619](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L619)
42
42
 
43
43
  The word's JMdict entry ID
@@ -8,6 +8,6 @@
8
8
 
9
9
  > **Dict** = [`DictWord`](../interfaces/DictWord.md)[] \| [`DictKanji`](../interfaces/DictKanji.md)[] \| [`TanakaExample`](../interfaces/TanakaExample.md)[] \| [`DictRadical`](../interfaces/DictRadical.md)[] \| [`DictKanjiWithRadicals`](../interfaces/DictKanjiWithRadicals.md)[] \| [`WordDefinitionPair`](../interfaces/WordDefinitionPair.md)[]
10
10
 
11
- Defined in: [types.ts:573](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L573)
11
+ Defined in: [types.ts:635](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L635)
12
12
 
13
13
  Types of converted dictionary entries
@@ -2,11 +2,11 @@
2
2
 
3
3
  ***
4
4
 
5
- [henkan](../README.md) / DictName
5
+ [henkan](../README.md) / DictNames
6
6
 
7
- # Type Alias: DictName
7
+ # Type Alias: DictNames
8
8
 
9
- > **DictName** = `"JMDict"` \| `"Kanjidic"` \| `"tanaka"` \| `"radk"` \| `"krad"`
9
+ > **DictNames** = `"JMDict"` \| `"Kanjidic"` \| `"tanaka"` \| `"radk"` \| `"krad"`
10
10
 
11
11
  Defined in: [types.ts:50](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L50)
12
12
 
@@ -0,0 +1,13 @@
1
+ [**henkan**](../README.md)
2
+
3
+ ***
4
+
5
+ [henkan](../README.md) / EntryExamplesMap
6
+
7
+ # Type Alias: EntryExamplesMap
8
+
9
+ > **EntryExamplesMap** = `Map`\<[`StringNumber`](StringNumber.md), [`TanakaExample`](../interfaces/TanakaExample.md)[]\>
10
+
11
+ Defined in: [types.ts:513](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L513)
12
+
13
+ A `JMdict/JMnedict entry ID` ---> `Tanaka examples associated with the JMdict/JMnedict entry` map
@@ -6,8 +6,8 @@
6
6
 
7
7
  # Type Alias: EntryType
8
8
 
9
- > **EntryType** = `"word"` \| `"kanji"` \| `"radical"` \| `"kana"` \| `"grammar"`
9
+ > **EntryType** = `"word"` \| `"name"` \| `"kanji"` \| `"radical"` \| `"kana"` \| `"grammar"`
10
10
 
11
- Defined in: [types.ts:584](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L584)
11
+ Defined in: [types.ts:646](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L646)
12
12
 
13
13
  Names of entry types used for the Anki note IDs
@@ -8,6 +8,6 @@
8
8
 
9
9
  > **KanjiEntryMap** = `Map`\<`string`, [`DictKanji`](../interfaces/DictKanji.md)\>
10
10
 
11
- Defined in: [types.ts:447](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L447)
11
+ Defined in: [types.ts:501](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L501)
12
12
 
13
13
  A `KANJIDIC kanji character` ---> [DictKanji](../interfaces/DictKanji.md) `object` map
@@ -8,6 +8,6 @@
8
8
 
9
9
  > **KanjiSVGMap** = `Map`\<`string`, `string`\>
10
10
 
11
- Defined in: [types.ts:451](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L451)
11
+ Defined in: [types.ts:505](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L505)
12
12
 
13
13
  A `KANJIDIC kanji character` ---> `SVG filename` map
@@ -8,6 +8,6 @@
8
8
 
9
9
  > **KanjiWordsMap** = `Map`\<`string`, [`DictWord`](../interfaces/DictWord.md)[]\>
10
10
 
11
- Defined in: [types.ts:455](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L455)
11
+ Defined in: [types.ts:509](https://github.com/Ronokof/Henkan/blob/main/src/types.ts#L509)
12
12
 
13
13
  A `KANJIDIC kanji character` ---> `JMdict entries with kanji forms that include the kanji` map