henkan 0.1.0 → 0.1.2
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 +43 -5
- package/dist/index.cjs.js.map +3 -3
- package/dist/index.mjs +43 -5
- package/dist/index.mjs.map +3 -3
- package/dist/types/types.d.ts +14 -0
- package/dist/types/types.d.ts.map +1 -1
- package/dist/types/utils.d.ts +2 -1
- package/dist/types/utils.d.ts.map +1 -1
- package/docs/api/functions/capitalizeString.md +1 -1
- package/docs/api/functions/convertJMdict.md +8 -2
- 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/generateAnkiNote.md +1 -1
- package/docs/api/functions/generateAnkiNotesFile.md +1 -1
- package/docs/api/functions/getKanji.md +1 -1
- package/docs/api/functions/getKanjiExtended.md +1 -1
- package/docs/api/functions/getWord.md +1 -1
- package/docs/api/functions/isStringArray.md +1 -1
- package/docs/api/functions/isValidArray.md +1 -1
- package/docs/api/functions/isValidArrayWithFirstElement.md +1 -1
- package/docs/api/functions/makeSSML.md +1 -1
- package/docs/api/functions/shuffleArray.md +1 -1
- package/docs/api/functions/synthesizeSpeech.md +1 -1
- package/docs/api/interfaces/DictKanji.md +4 -4
- package/docs/api/interfaces/DictKanjiForm.md +4 -4
- 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/DictMeaning.md +11 -11
- package/docs/api/interfaces/DictRadical.md +4 -4
- package/docs/api/interfaces/DictReading.md +5 -5
- package/docs/api/interfaces/DictWord.md +27 -5
- package/docs/api/interfaces/ExamplePart.md +7 -7
- package/docs/api/interfaces/Grammar.md +28 -14
- package/docs/api/interfaces/GrammarMeaning.md +3 -3
- package/docs/api/interfaces/Kana.md +24 -10
- package/docs/api/interfaces/Kanji.md +34 -20
- package/docs/api/interfaces/KanjiComponent.md +3 -3
- package/docs/api/interfaces/KanjiForm.md +3 -3
- package/docs/api/interfaces/Phrase.md +4 -4
- package/docs/api/interfaces/Radical.md +29 -15
- package/docs/api/interfaces/Reading.md +4 -4
- package/docs/api/interfaces/ResultEntry.md +16 -6
- package/docs/api/interfaces/TanakaExample.md +5 -5
- package/docs/api/interfaces/Translation.md +3 -3
- package/docs/api/interfaces/UsefulRegExps.md +9 -9
- package/docs/api/interfaces/Word.md +27 -13
- package/docs/api/type-aliases/Dict.md +1 -1
- package/docs/api/type-aliases/DictName.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 +2 -2
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: DictRadical
|
|
8
8
|
|
|
9
|
-
Defined in: [types.ts:
|
|
9
|
+
Defined in: [types.ts:255](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L255)
|
|
10
10
|
|
|
11
11
|
RADKFILE2 entry (radical)
|
|
12
12
|
|
|
@@ -16,7 +16,7 @@ RADKFILE2 entry (radical)
|
|
|
16
16
|
|
|
17
17
|
> **kanji**: [`DictKanji`](DictKanji.md)[]
|
|
18
18
|
|
|
19
|
-
Defined in: [types.ts:
|
|
19
|
+
Defined in: [types.ts:263](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L263)
|
|
20
20
|
|
|
21
21
|
The kanji that include the radical
|
|
22
22
|
|
|
@@ -26,7 +26,7 @@ The kanji that include the radical
|
|
|
26
26
|
|
|
27
27
|
> `readonly` **radical**: `string`
|
|
28
28
|
|
|
29
|
-
Defined in: [types.ts:
|
|
29
|
+
Defined in: [types.ts:259](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L259)
|
|
30
30
|
|
|
31
31
|
The radical character
|
|
32
32
|
|
|
@@ -36,6 +36,6 @@ The radical character
|
|
|
36
36
|
|
|
37
37
|
> **strokes**: `string`
|
|
38
38
|
|
|
39
|
-
Defined in: [types.ts:
|
|
39
|
+
Defined in: [types.ts:267](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L267)
|
|
40
40
|
|
|
41
41
|
The stroke count of the radical
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: DictReading
|
|
8
8
|
|
|
9
|
-
Defined in: [types.ts:40](https://github.com/Ronokof/Henkan/blob/
|
|
9
|
+
Defined in: [types.ts:40](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L40)
|
|
10
10
|
|
|
11
11
|
Word reading information
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ Equivalent to the `r_ele` JMdict element
|
|
|
18
18
|
|
|
19
19
|
> `optional` **commonness**: `string`[]
|
|
20
20
|
|
|
21
|
-
Defined in: [types.ts:56](https://github.com/Ronokof/Henkan/blob/
|
|
21
|
+
Defined in: [types.ts:56](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L56)
|
|
22
22
|
|
|
23
23
|
Priority codes
|
|
24
24
|
|
|
@@ -32,7 +32,7 @@ Priority codes
|
|
|
32
32
|
|
|
33
33
|
> `optional` **kanjiFormRestrictions**: `string`[]
|
|
34
34
|
|
|
35
|
-
Defined in: [types.ts:60](https://github.com/Ronokof/Henkan/blob/
|
|
35
|
+
Defined in: [types.ts:60](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L60)
|
|
36
36
|
|
|
37
37
|
Kanji forms the reading is restricted to
|
|
38
38
|
|
|
@@ -42,7 +42,7 @@ Kanji forms the reading is restricted to
|
|
|
42
42
|
|
|
43
43
|
> `optional` **notes**: `string`[]
|
|
44
44
|
|
|
45
|
-
Defined in: [types.ts:50](https://github.com/Ronokof/Henkan/blob/
|
|
45
|
+
Defined in: [types.ts:50](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L50)
|
|
46
46
|
|
|
47
47
|
Other information about the reading
|
|
48
48
|
|
|
@@ -56,6 +56,6 @@ Other information about the reading
|
|
|
56
56
|
|
|
57
57
|
> `readonly` **reading**: `string`
|
|
58
58
|
|
|
59
|
-
Defined in: [types.ts:44](https://github.com/Ronokof/Henkan/blob/
|
|
59
|
+
Defined in: [types.ts:44](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L44)
|
|
60
60
|
|
|
61
61
|
The reading of the word
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: DictWord
|
|
8
8
|
|
|
9
|
-
Defined in: [types.ts:125](https://github.com/Ronokof/Henkan/blob/
|
|
9
|
+
Defined in: [types.ts:125](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L125)
|
|
10
10
|
|
|
11
11
|
JMdict entry (word)
|
|
12
12
|
|
|
@@ -14,21 +14,43 @@ Equivalent to the `entry` JMdict element
|
|
|
14
14
|
|
|
15
15
|
## Properties
|
|
16
16
|
|
|
17
|
+
### hasPhrases?
|
|
18
|
+
|
|
19
|
+
> `optional` **hasPhrases**: `true`
|
|
20
|
+
|
|
21
|
+
Defined in: [types.ts:151](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L151)
|
|
22
|
+
|
|
23
|
+
Whether or not the entry has at least one Tanaka Corpus phrase associated with it
|
|
24
|
+
|
|
25
|
+
**May not always be accurate**
|
|
26
|
+
|
|
27
|
+
***
|
|
28
|
+
|
|
17
29
|
### id
|
|
18
30
|
|
|
19
31
|
> `readonly` **id**: `string`
|
|
20
32
|
|
|
21
|
-
Defined in: [types.ts:129](https://github.com/Ronokof/Henkan/blob/
|
|
33
|
+
Defined in: [types.ts:129](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L129)
|
|
22
34
|
|
|
23
35
|
The entry sequence number
|
|
24
36
|
|
|
25
37
|
***
|
|
26
38
|
|
|
39
|
+
### isCommon?
|
|
40
|
+
|
|
41
|
+
> `optional` **isCommon**: `true`
|
|
42
|
+
|
|
43
|
+
Defined in: [types.ts:145](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L145)
|
|
44
|
+
|
|
45
|
+
Whether or not the entry has a priority tag (`k_pri` or `r_pri`)
|
|
46
|
+
|
|
47
|
+
***
|
|
48
|
+
|
|
27
49
|
### kanjiForms?
|
|
28
50
|
|
|
29
51
|
> `optional` **kanjiForms**: [`DictKanjiForm`](DictKanjiForm.md)[]
|
|
30
52
|
|
|
31
|
-
Defined in: [types.ts:133](https://github.com/Ronokof/Henkan/blob/
|
|
53
|
+
Defined in: [types.ts:133](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L133)
|
|
32
54
|
|
|
33
55
|
The word's kanji forms
|
|
34
56
|
|
|
@@ -38,7 +60,7 @@ The word's kanji forms
|
|
|
38
60
|
|
|
39
61
|
> **meanings**: [`DictMeaning`](DictMeaning.md)[]
|
|
40
62
|
|
|
41
|
-
Defined in: [types.ts:141](https://github.com/Ronokof/Henkan/blob/
|
|
63
|
+
Defined in: [types.ts:141](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L141)
|
|
42
64
|
|
|
43
65
|
The word's meanings/senses
|
|
44
66
|
|
|
@@ -48,6 +70,6 @@ The word's meanings/senses
|
|
|
48
70
|
|
|
49
71
|
> **readings**: [`DictReading`](DictReading.md)[]
|
|
50
72
|
|
|
51
|
-
Defined in: [types.ts:137](https://github.com/Ronokof/Henkan/blob/
|
|
73
|
+
Defined in: [types.ts:137](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L137)
|
|
52
74
|
|
|
53
75
|
The word's readings
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: ExamplePart
|
|
8
8
|
|
|
9
|
-
Defined in: [types.ts:
|
|
9
|
+
Defined in: [types.ts:289](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L289)
|
|
10
10
|
|
|
11
11
|
A word/part from the `B` section of a Tanaka Corpus `examples.utf` entry
|
|
12
12
|
|
|
@@ -16,7 +16,7 @@ A word/part from the `B` section of a Tanaka Corpus `examples.utf` entry
|
|
|
16
16
|
|
|
17
17
|
> **baseForm**: `string`
|
|
18
18
|
|
|
19
|
-
Defined in: [types.ts:
|
|
19
|
+
Defined in: [types.ts:293](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L293)
|
|
20
20
|
|
|
21
21
|
The common form in which the word is found in JMdict
|
|
22
22
|
|
|
@@ -26,7 +26,7 @@ The common form in which the word is found in JMdict
|
|
|
26
26
|
|
|
27
27
|
> `optional` **edited**: `true`
|
|
28
28
|
|
|
29
|
-
Defined in: [types.ts:
|
|
29
|
+
Defined in: [types.ts:317](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L317)
|
|
30
30
|
|
|
31
31
|
Whether or not the word is part of an entry that has been edited and adapted
|
|
32
32
|
|
|
@@ -40,7 +40,7 @@ Whether or not the word is part of an entry that has been edited and adapted
|
|
|
40
40
|
|
|
41
41
|
> `optional` **glossNumber**: `number`
|
|
42
42
|
|
|
43
|
-
Defined in: [types.ts:
|
|
43
|
+
Defined in: [types.ts:301](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L301)
|
|
44
44
|
|
|
45
45
|
The JMdict sense number corresponding to the word’s usage in the phrase
|
|
46
46
|
|
|
@@ -50,7 +50,7 @@ The JMdict sense number corresponding to the word’s usage in the phrase
|
|
|
50
50
|
|
|
51
51
|
> `optional` **inflectedForm**: `string`
|
|
52
52
|
|
|
53
|
-
Defined in: [types.ts:
|
|
53
|
+
Defined in: [types.ts:305](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L305)
|
|
54
54
|
|
|
55
55
|
The actual form in which the word is used in the phrase
|
|
56
56
|
|
|
@@ -60,7 +60,7 @@ The actual form in which the word is used in the phrase
|
|
|
60
60
|
|
|
61
61
|
> `optional` **reading**: `string`
|
|
62
62
|
|
|
63
|
-
Defined in: [types.ts:
|
|
63
|
+
Defined in: [types.ts:297](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L297)
|
|
64
64
|
|
|
65
65
|
The reading (in kana) of the word
|
|
66
66
|
|
|
@@ -70,6 +70,6 @@ The reading (in kana) of the word
|
|
|
70
70
|
|
|
71
71
|
> `optional` **referenceID**: `string`
|
|
72
72
|
|
|
73
|
-
Defined in: [types.ts:
|
|
73
|
+
Defined in: [types.ts:309](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L309)
|
|
74
74
|
|
|
75
75
|
A sequence number that references a JMdict entry associated with the word
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: Grammar
|
|
8
8
|
|
|
9
|
-
Defined in: [types.ts:
|
|
9
|
+
Defined in: [types.ts:658](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L658)
|
|
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:690](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L690)
|
|
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:376](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L376)
|
|
34
34
|
|
|
35
35
|
The full path of the Anki deck
|
|
36
36
|
|
|
@@ -40,11 +40,25 @@ The full path of the Anki deck
|
|
|
40
40
|
|
|
41
41
|
***
|
|
42
42
|
|
|
43
|
+
### doNotCreateNote?
|
|
44
|
+
|
|
45
|
+
> `optional` **doNotCreateNote**: `true`
|
|
46
|
+
|
|
47
|
+
Defined in: [types.ts:384](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L384)
|
|
48
|
+
|
|
49
|
+
Whether or not this entry should be converted into an Anki note
|
|
50
|
+
|
|
51
|
+
#### Inherited from
|
|
52
|
+
|
|
53
|
+
[`ResultEntry`](ResultEntry.md).[`doNotCreateNote`](ResultEntry.md#donotcreatenote)
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
43
57
|
### id?
|
|
44
58
|
|
|
45
59
|
> `readonly` `optional` **id**: `string`
|
|
46
60
|
|
|
47
|
-
Defined in: [types.ts:
|
|
61
|
+
Defined in: [types.ts:368](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L368)
|
|
48
62
|
|
|
49
63
|
ID used for the Anki note ID
|
|
50
64
|
|
|
@@ -58,7 +72,7 @@ ID used for the Anki note ID
|
|
|
58
72
|
|
|
59
73
|
> `optional` **jlpt**: [`JLPT`](../type-aliases/JLPT.md)
|
|
60
74
|
|
|
61
|
-
Defined in: [types.ts:
|
|
75
|
+
Defined in: [types.ts:682](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L682)
|
|
62
76
|
|
|
63
77
|
The \[post-2010 JLPT\](https://en.wikipedia.org/wiki/Japanese-Language\_Proficiency\_Test#Test\_format) level
|
|
64
78
|
|
|
@@ -68,7 +82,7 @@ The \[post-2010 JLPT\](https://en.wikipedia.org/wiki/Japanese-Language\_Proficie
|
|
|
68
82
|
|
|
69
83
|
> **meaning**: [`GrammarMeaning`](GrammarMeaning.md)
|
|
70
84
|
|
|
71
|
-
Defined in: [types.ts:
|
|
85
|
+
Defined in: [types.ts:666](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L666)
|
|
72
86
|
|
|
73
87
|
The English meaning/translation of the grammar point
|
|
74
88
|
|
|
@@ -78,7 +92,7 @@ The English meaning/translation of the grammar point
|
|
|
78
92
|
|
|
79
93
|
> `readonly` `optional` **noteID**: `` `grammar_${string}` ``
|
|
80
94
|
|
|
81
|
-
Defined in: [types.ts:
|
|
95
|
+
Defined in: [types.ts:364](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L364)
|
|
82
96
|
|
|
83
97
|
ID used for the resulting Anki note
|
|
84
98
|
|
|
@@ -92,7 +106,7 @@ ID used for the resulting Anki note
|
|
|
92
106
|
|
|
93
107
|
> `optional` **noteTypeName**: `string`
|
|
94
108
|
|
|
95
|
-
Defined in: [types.ts:
|
|
109
|
+
Defined in: [types.ts:372](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L372)
|
|
96
110
|
|
|
97
111
|
Anki note type name
|
|
98
112
|
|
|
@@ -106,7 +120,7 @@ Anki note type name
|
|
|
106
120
|
|
|
107
121
|
> `optional` **phrases**: [`Phrase`](Phrase.md)[]
|
|
108
122
|
|
|
109
|
-
Defined in: [types.ts:
|
|
123
|
+
Defined in: [types.ts:678](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L678)
|
|
110
124
|
|
|
111
125
|
Example phrase using the grammar point
|
|
112
126
|
|
|
@@ -116,7 +130,7 @@ Example phrase using the grammar point
|
|
|
116
130
|
|
|
117
131
|
> `readonly` **point**: `string`
|
|
118
132
|
|
|
119
|
-
Defined in: [types.ts:
|
|
133
|
+
Defined in: [types.ts:662](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L662)
|
|
120
134
|
|
|
121
135
|
The most common form in which the grammar point written in
|
|
122
136
|
|
|
@@ -126,7 +140,7 @@ The most common form in which the grammar point written in
|
|
|
126
140
|
|
|
127
141
|
> `optional` **readings**: [`Reading`](Reading.md)[]
|
|
128
142
|
|
|
129
|
-
Defined in: [types.ts:
|
|
143
|
+
Defined in: [types.ts:670](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L670)
|
|
130
144
|
|
|
131
145
|
The readings of the grammar point
|
|
132
146
|
|
|
@@ -136,7 +150,7 @@ The readings of the grammar point
|
|
|
136
150
|
|
|
137
151
|
> `optional` **source**: `string`
|
|
138
152
|
|
|
139
|
-
Defined in: [types.ts:
|
|
153
|
+
Defined in: [types.ts:686](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L686)
|
|
140
154
|
|
|
141
155
|
The source from which data for this grammar point has been extracted
|
|
142
156
|
|
|
@@ -146,7 +160,7 @@ The source from which data for this grammar point has been extracted
|
|
|
146
160
|
|
|
147
161
|
> `optional` **tags**: `string`[]
|
|
148
162
|
|
|
149
|
-
Defined in: [types.ts:
|
|
163
|
+
Defined in: [types.ts:380](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L380)
|
|
150
164
|
|
|
151
165
|
Tags generated based on the entry's information
|
|
152
166
|
|
|
@@ -160,6 +174,6 @@ Tags generated based on the entry's information
|
|
|
160
174
|
|
|
161
175
|
> `optional` **usages**: `string`[]
|
|
162
176
|
|
|
163
|
-
Defined in: [types.ts:
|
|
177
|
+
Defined in: [types.ts:674](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L674)
|
|
164
178
|
|
|
165
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:644](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L644)
|
|
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:652](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L652)
|
|
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:648](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L648)
|
|
30
30
|
|
|
31
31
|
The meaning of the grammar point
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: Kana
|
|
8
8
|
|
|
9
|
-
Defined in: [types.ts:
|
|
9
|
+
Defined in: [types.ts:622](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L622)
|
|
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:634](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L634)
|
|
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:376](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L376)
|
|
34
34
|
|
|
35
35
|
The full path of the Anki deck
|
|
36
36
|
|
|
@@ -40,11 +40,25 @@ The full path of the Anki deck
|
|
|
40
40
|
|
|
41
41
|
***
|
|
42
42
|
|
|
43
|
+
### doNotCreateNote?
|
|
44
|
+
|
|
45
|
+
> `optional` **doNotCreateNote**: `true`
|
|
46
|
+
|
|
47
|
+
Defined in: [types.ts:384](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L384)
|
|
48
|
+
|
|
49
|
+
Whether or not this entry should be converted into an Anki note
|
|
50
|
+
|
|
51
|
+
#### Inherited from
|
|
52
|
+
|
|
53
|
+
[`ResultEntry`](ResultEntry.md).[`doNotCreateNote`](ResultEntry.md#donotcreatenote)
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
43
57
|
### id?
|
|
44
58
|
|
|
45
59
|
> `readonly` `optional` **id**: `string`
|
|
46
60
|
|
|
47
|
-
Defined in: [types.ts:
|
|
61
|
+
Defined in: [types.ts:368](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L368)
|
|
48
62
|
|
|
49
63
|
ID used for the Anki note ID
|
|
50
64
|
|
|
@@ -58,7 +72,7 @@ ID used for the Anki note ID
|
|
|
58
72
|
|
|
59
73
|
> `readonly` **kana**: `string`
|
|
60
74
|
|
|
61
|
-
Defined in: [types.ts:
|
|
75
|
+
Defined in: [types.ts:626](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L626)
|
|
62
76
|
|
|
63
77
|
The kana character
|
|
64
78
|
|
|
@@ -68,7 +82,7 @@ The kana character
|
|
|
68
82
|
|
|
69
83
|
> `readonly` `optional` **noteID**: `` `kana_${string}` ``
|
|
70
84
|
|
|
71
|
-
Defined in: [types.ts:
|
|
85
|
+
Defined in: [types.ts:364](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L364)
|
|
72
86
|
|
|
73
87
|
ID used for the resulting Anki note
|
|
74
88
|
|
|
@@ -82,7 +96,7 @@ ID used for the resulting Anki note
|
|
|
82
96
|
|
|
83
97
|
> `optional` **noteTypeName**: `string`
|
|
84
98
|
|
|
85
|
-
Defined in: [types.ts:
|
|
99
|
+
Defined in: [types.ts:372](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L372)
|
|
86
100
|
|
|
87
101
|
Anki note type name
|
|
88
102
|
|
|
@@ -96,7 +110,7 @@ Anki note type name
|
|
|
96
110
|
|
|
97
111
|
> **reading**: `string`
|
|
98
112
|
|
|
99
|
-
Defined in: [types.ts:
|
|
113
|
+
Defined in: [types.ts:630](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L630)
|
|
100
114
|
|
|
101
115
|
The romaji reading of the kana
|
|
102
116
|
|
|
@@ -106,7 +120,7 @@ The romaji reading of the kana
|
|
|
106
120
|
|
|
107
121
|
> `optional` **svg**: `string`
|
|
108
122
|
|
|
109
|
-
Defined in: [types.ts:
|
|
123
|
+
Defined in: [types.ts:638](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L638)
|
|
110
124
|
|
|
111
125
|
The kana SVG filename
|
|
112
126
|
|
|
@@ -116,7 +130,7 @@ The kana SVG filename
|
|
|
116
130
|
|
|
117
131
|
> `optional` **tags**: `string`[]
|
|
118
132
|
|
|
119
|
-
Defined in: [types.ts:
|
|
133
|
+
Defined in: [types.ts:380](https://github.com/Ronokof/Henkan/blob/cdcdfbcc72ca03339cd98398efd7d5e82826d66f/src/types.ts#L380)
|
|
120
134
|
|
|
121
135
|
Tags generated based on the entry's information
|
|
122
136
|
|