henkan 0.6.1 → 0.8.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.
Files changed (63) hide show
  1. package/README.md +4 -2
  2. package/dist/index.cjs.js +53 -165
  3. package/dist/index.cjs.js.map +3 -3
  4. package/dist/index.mjs +53 -163
  5. package/dist/index.mjs.map +2 -2
  6. package/dist/types/constants.d.ts +0 -3
  7. package/dist/types/constants.d.ts.map +1 -1
  8. package/dist/types/types.d.ts +21 -6
  9. package/dist/types/types.d.ts.map +1 -1
  10. package/dist/types/utils.d.ts +10 -14
  11. package/dist/types/utils.d.ts.map +1 -1
  12. package/docs/api/README.md +1 -1
  13. package/docs/api/functions/capitalizeString.md +1 -1
  14. package/docs/api/functions/convertJMdict.md +1 -1
  15. package/docs/api/functions/convertKanjiDic.md +1 -1
  16. package/docs/api/functions/convertKradFile.md +1 -1
  17. package/docs/api/functions/convertRadkFile.md +1 -1
  18. package/docs/api/functions/convertTanakaCorpus.md +1 -1
  19. package/docs/api/functions/generateAnkiNote.md +1 -1
  20. package/docs/api/functions/generateAnkiNotesFile.md +1 -1
  21. package/docs/api/functions/getKanji.md +1 -1
  22. package/docs/api/functions/getKanjiExtended.md +1 -1
  23. package/docs/api/functions/getWord.md +1 -1
  24. package/docs/api/functions/isStringArray.md +1 -1
  25. package/docs/api/functions/isValidArray.md +1 -1
  26. package/docs/api/functions/isValidArrayWithFirstElement.md +1 -1
  27. package/docs/api/functions/shuffleArray.md +1 -1
  28. package/docs/api/functions/synthesizeSpeech.md +25 -13
  29. package/docs/api/interfaces/DictKanji.md +5 -5
  30. package/docs/api/interfaces/DictKanjiForm.md +4 -4
  31. package/docs/api/interfaces/DictKanjiMisc.md +5 -5
  32. package/docs/api/interfaces/DictKanjiReading.md +3 -3
  33. package/docs/api/interfaces/DictKanjiReadingMeaning.md +3 -3
  34. package/docs/api/interfaces/DictKanjiReadingMeaningGroup.md +3 -3
  35. package/docs/api/interfaces/DictKanjiWithRadicals.md +3 -3
  36. package/docs/api/interfaces/DictMeaning.md +11 -11
  37. package/docs/api/interfaces/DictRadical.md +4 -4
  38. package/docs/api/interfaces/DictReading.md +5 -5
  39. package/docs/api/interfaces/DictWord.md +8 -8
  40. package/docs/api/interfaces/ExamplePart.md +7 -7
  41. package/docs/api/interfaces/GlossSpecificNumber.md +31 -0
  42. package/docs/api/interfaces/Grammar.md +15 -15
  43. package/docs/api/interfaces/GrammarMeaning.md +3 -3
  44. package/docs/api/interfaces/Kana.md +11 -11
  45. package/docs/api/interfaces/Kanji.md +22 -22
  46. package/docs/api/interfaces/KanjiComponent.md +3 -3
  47. package/docs/api/interfaces/KanjiForm.md +4 -4
  48. package/docs/api/interfaces/NoteAndTag.md +3 -3
  49. package/docs/api/interfaces/Phrase.md +16 -4
  50. package/docs/api/interfaces/Radical.md +16 -16
  51. package/docs/api/interfaces/Reading.md +5 -5
  52. package/docs/api/interfaces/ResultEntry.md +7 -7
  53. package/docs/api/interfaces/TanakaExample.md +16 -6
  54. package/docs/api/interfaces/Translation.md +3 -3
  55. package/docs/api/interfaces/UsefulRegExps.md +8 -20
  56. package/docs/api/interfaces/Word.md +14 -14
  57. package/docs/api/type-aliases/Dict.md +1 -1
  58. package/docs/api/type-aliases/DictName.md +1 -1
  59. package/docs/api/type-aliases/EntryType.md +1 -1
  60. package/docs/api/type-aliases/JLPT.md +1 -1
  61. package/docs/api/type-aliases/Result.md +1 -1
  62. package/package.json +5 -5
  63. package/docs/api/functions/makeSSML.md +0 -33
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Interface: Translation
8
8
 
9
- Defined in: [types.ts:464](https://github.com/Ronokof/Henkan/blob/17cbd9518a408e69828b76e5f6f939abe525b24c/src/types.ts#L464)
9
+ Defined in: [types.ts:482](https://github.com/Ronokof/Henkan/blob/509701feced30c3685817fc5852353b86cc93a16/src/types.ts#L482)
10
10
 
11
11
  A translation of the word
12
12
 
@@ -18,7 +18,7 @@ Converted from [DictMeaning](DictMeaning.md)
18
18
 
19
19
  > `optional` **notes**: `string`[]
20
20
 
21
- Defined in: [types.ts:472](https://github.com/Ronokof/Henkan/blob/17cbd9518a408e69828b76e5f6f939abe525b24c/src/types.ts#L472)
21
+ Defined in: [types.ts:490](https://github.com/Ronokof/Henkan/blob/509701feced30c3685817fc5852353b86cc93a16/src/types.ts#L490)
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:468](https://github.com/Ronokof/Henkan/blob/17cbd9518a408e69828b76e5f6f939abe525b24c/src/types.ts#L468)
31
+ Defined in: [types.ts:486](https://github.com/Ronokof/Henkan/blob/509701feced30c3685817fc5852353b86cc93a16/src/types.ts#L486)
32
32
 
33
33
  The translation
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Interface: UsefulRegExps
8
8
 
9
- Defined in: [types.ts:737](https://github.com/Ronokof/Henkan/blob/17cbd9518a408e69828b76e5f6f939abe525b24c/src/types.ts#L737)
9
+ Defined in: [types.ts:759](https://github.com/Ronokof/Henkan/blob/509701feced30c3685817fc5852353b86cc93a16/src/types.ts#L759)
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:741](https://github.com/Ronokof/Henkan/blob/17cbd9518a408e69828b76e5f6f939abe525b24c/src/types.ts#L741)
19
+ Defined in: [types.ts:763](https://github.com/Ronokof/Henkan/blob/509701feced30c3685817fc5852353b86cc93a16/src/types.ts#L763)
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:749](https://github.com/Ronokof/Henkan/blob/17cbd9518a408e69828b76e5f6f939abe525b24c/src/types.ts#L749)
29
+ Defined in: [types.ts:771](https://github.com/Ronokof/Henkan/blob/509701feced30c3685817fc5852353b86cc93a16/src/types.ts#L771)
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:745](https://github.com/Ronokof/Henkan/blob/17cbd9518a408e69828b76e5f6f939abe525b24c/src/types.ts#L745)
39
+ Defined in: [types.ts:767](https://github.com/Ronokof/Henkan/blob/509701feced30c3685817fc5852353b86cc93a16/src/types.ts#L767)
40
40
 
41
41
  Matches any *katakana* character(s)
42
42
 
@@ -46,29 +46,17 @@ Matches any *katakana* character(s)
46
46
 
47
47
  > `readonly` **regExChars**: `RegExp`
48
48
 
49
- Defined in: [types.ts:759](https://github.com/Ronokof/Henkan/blob/17cbd9518a408e69828b76e5f6f939abe525b24c/src/types.ts#L759)
49
+ Defined in: [types.ts:775](https://github.com/Ronokof/Henkan/blob/509701feced30c3685817fc5852353b86cc93a16/src/types.ts#L775)
50
50
 
51
51
  Matches any character that is part of the regex syntax
52
52
 
53
53
  ***
54
54
 
55
- ### scriptSplit
56
-
57
- > `readonly` **scriptSplit**: `RegExp`
58
-
59
- Defined in: [types.ts:755](https://github.com/Ronokof/Henkan/blob/17cbd9518a408e69828b76e5f6f939abe525b24c/src/types.ts#L755)
60
-
61
- Matches and splits Japanese expressions into different scripts
62
-
63
- Used when creating a SSML
64
-
65
- ***
66
-
67
55
  ### tanakaID
68
56
 
69
57
  > `readonly` **tanakaID**: `RegExp`
70
58
 
71
- Defined in: [types.ts:763](https://github.com/Ronokof/Henkan/blob/17cbd9518a408e69828b76e5f6f939abe525b24c/src/types.ts#L763)
59
+ Defined in: [types.ts:779](https://github.com/Ronokof/Henkan/blob/509701feced30c3685817fc5852353b86cc93a16/src/types.ts#L779)
72
60
 
73
61
  Matches the `#ID=` part in a Tanaka Corpus `examples.utf` file
74
62
 
@@ -78,7 +66,7 @@ Matches the `#ID=` part in a Tanaka Corpus `examples.utf` file
78
66
 
79
67
  > `readonly` **tanakaPart**: `RegExp`
80
68
 
81
- Defined in: [types.ts:767](https://github.com/Ronokof/Henkan/blob/17cbd9518a408e69828b76e5f6f939abe525b24c/src/types.ts#L767)
69
+ Defined in: [types.ts:783](https://github.com/Ronokof/Henkan/blob/509701feced30c3685817fc5852353b86cc93a16/src/types.ts#L783)
82
70
 
83
71
  Matches and splits a part found in the `B` section of a Tanaka Corpus `examples.utf` file
84
72
 
@@ -88,6 +76,6 @@ Matches and splits a part found in the `B` section of a Tanaka Corpus `examples.
88
76
 
89
77
  > `readonly` **tanakaReferenceID**: `RegExp`
90
78
 
91
- Defined in: [types.ts:771](https://github.com/Ronokof/Henkan/blob/17cbd9518a408e69828b76e5f6f939abe525b24c/src/types.ts#L771)
79
+ Defined in: [types.ts:787](https://github.com/Ronokof/Henkan/blob/509701feced30c3685817fc5852353b86cc93a16/src/types.ts#L787)
92
80
 
93
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:624](https://github.com/Ronokof/Henkan/blob/17cbd9518a408e69828b76e5f6f939abe525b24c/src/types.ts#L624)
9
+ Defined in: [types.ts:646](https://github.com/Ronokof/Henkan/blob/509701feced30c3685817fc5852353b86cc93a16/src/types.ts#L646)
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:648](https://github.com/Ronokof/Henkan/blob/17cbd9518a408e69828b76e5f6f939abe525b24c/src/types.ts#L648)
25
+ Defined in: [types.ts:670](https://github.com/Ronokof/Henkan/blob/509701feced30c3685817fc5852353b86cc93a16/src/types.ts#L670)
26
26
 
27
27
  #### See
28
28
 
@@ -34,7 +34,7 @@ Defined in: [types.ts:648](https://github.com/Ronokof/Henkan/blob/17cbd9518a408e
34
34
 
35
35
  > `optional` **deckPath**: `string`
36
36
 
37
- Defined in: [types.ts:390](https://github.com/Ronokof/Henkan/blob/17cbd9518a408e69828b76e5f6f939abe525b24c/src/types.ts#L390)
37
+ Defined in: [types.ts:408](https://github.com/Ronokof/Henkan/blob/509701feced30c3685817fc5852353b86cc93a16/src/types.ts#L408)
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` **doNotCreateNote**: `true`
50
50
 
51
- Defined in: [types.ts:398](https://github.com/Ronokof/Henkan/blob/17cbd9518a408e69828b76e5f6f939abe525b24c/src/types.ts#L398)
51
+ Defined in: [types.ts:416](https://github.com/Ronokof/Henkan/blob/509701feced30c3685817fc5852353b86cc93a16/src/types.ts#L416)
52
52
 
53
53
  Whether or not this entry should be converted into an Anki note
54
54
 
@@ -62,7 +62,7 @@ Whether or not this entry should be converted into an Anki note
62
62
 
63
63
  > `readonly` `optional` **id**: `string`
64
64
 
65
- Defined in: [types.ts:382](https://github.com/Ronokof/Henkan/blob/17cbd9518a408e69828b76e5f6f939abe525b24c/src/types.ts#L382)
65
+ Defined in: [types.ts:400](https://github.com/Ronokof/Henkan/blob/509701feced30c3685817fc5852353b86cc93a16/src/types.ts#L400)
66
66
 
67
67
  ID used for the Anki note ID
68
68
 
@@ -76,7 +76,7 @@ ID used for the Anki note ID
76
76
 
77
77
  > `optional` **kanji**: [`Kanji`](Kanji.md)[]
78
78
 
79
- Defined in: [types.ts:640](https://github.com/Ronokof/Henkan/blob/17cbd9518a408e69828b76e5f6f939abe525b24c/src/types.ts#L640)
79
+ Defined in: [types.ts:662](https://github.com/Ronokof/Henkan/blob/509701feced30c3685817fc5852353b86cc93a16/src/types.ts#L662)
80
80
 
81
81
  A list of kanji used in the kanji forms
82
82
 
@@ -86,7 +86,7 @@ A list of kanji used in the kanji forms
86
86
 
87
87
  > `optional` **kanjiForms**: [`KanjiForm`](KanjiForm.md)[]
88
88
 
89
- Defined in: [types.ts:636](https://github.com/Ronokof/Henkan/blob/17cbd9518a408e69828b76e5f6f939abe525b24c/src/types.ts#L636)
89
+ Defined in: [types.ts:658](https://github.com/Ronokof/Henkan/blob/509701feced30c3685817fc5852353b86cc93a16/src/types.ts#L658)
90
90
 
91
91
  The word kanji forms
92
92
 
@@ -96,7 +96,7 @@ The word kanji forms
96
96
 
97
97
  > `readonly` `optional` **noteID**: `` `word_${string}` ``
98
98
 
99
- Defined in: [types.ts:378](https://github.com/Ronokof/Henkan/blob/17cbd9518a408e69828b76e5f6f939abe525b24c/src/types.ts#L378)
99
+ Defined in: [types.ts:396](https://github.com/Ronokof/Henkan/blob/509701feced30c3685817fc5852353b86cc93a16/src/types.ts#L396)
100
100
 
101
101
  ID used for the resulting Anki note
102
102
 
@@ -110,7 +110,7 @@ ID used for the resulting Anki note
110
110
 
111
111
  > `optional` **noteTypeName**: `string`
112
112
 
113
- Defined in: [types.ts:386](https://github.com/Ronokof/Henkan/blob/17cbd9518a408e69828b76e5f6f939abe525b24c/src/types.ts#L386)
113
+ Defined in: [types.ts:404](https://github.com/Ronokof/Henkan/blob/509701feced30c3685817fc5852353b86cc93a16/src/types.ts#L404)
114
114
 
115
115
  Anki note type name
116
116
 
@@ -124,7 +124,7 @@ Anki note type name
124
124
 
125
125
  > `optional` **phrases**: [`Phrase`](Phrase.md)[]
126
126
 
127
- Defined in: [types.ts:644](https://github.com/Ronokof/Henkan/blob/17cbd9518a408e69828b76e5f6f939abe525b24c/src/types.ts#L644)
127
+ Defined in: [types.ts:666](https://github.com/Ronokof/Henkan/blob/509701feced30c3685817fc5852353b86cc93a16/src/types.ts#L666)
128
128
 
129
129
  Phrases associated to the word
130
130
 
@@ -134,7 +134,7 @@ Phrases associated to the word
134
134
 
135
135
  > **readings**: [`Reading`](Reading.md)[]
136
136
 
137
- Defined in: [types.ts:628](https://github.com/Ronokof/Henkan/blob/17cbd9518a408e69828b76e5f6f939abe525b24c/src/types.ts#L628)
137
+ Defined in: [types.ts:650](https://github.com/Ronokof/Henkan/blob/509701feced30c3685817fc5852353b86cc93a16/src/types.ts#L650)
138
138
 
139
139
  The word readings (in kana)
140
140
 
@@ -144,7 +144,7 @@ The word readings (in kana)
144
144
 
145
145
  > `optional` **tags**: `string`[]
146
146
 
147
- Defined in: [types.ts:394](https://github.com/Ronokof/Henkan/blob/17cbd9518a408e69828b76e5f6f939abe525b24c/src/types.ts#L394)
147
+ Defined in: [types.ts:412](https://github.com/Ronokof/Henkan/blob/509701feced30c3685817fc5852353b86cc93a16/src/types.ts#L412)
148
148
 
149
149
  Tags generated based on the entry's information
150
150
 
@@ -158,7 +158,7 @@ Tags generated based on the entry's information
158
158
 
159
159
  > **translations**: [`Translation`](Translation.md)[]
160
160
 
161
- Defined in: [types.ts:632](https://github.com/Ronokof/Henkan/blob/17cbd9518a408e69828b76e5f6f939abe525b24c/src/types.ts#L632)
161
+ Defined in: [types.ts:654](https://github.com/Ronokof/Henkan/blob/509701feced30c3685817fc5852353b86cc93a16/src/types.ts#L654)
162
162
 
163
163
  The word translations/senses
164
164
 
@@ -168,7 +168,7 @@ The word translations/senses
168
168
 
169
169
  > `optional` **usuallyInKana**: `true`
170
170
 
171
- Defined in: [types.ts:652](https://github.com/Ronokof/Henkan/blob/17cbd9518a408e69828b76e5f6f939abe525b24c/src/types.ts#L652)
171
+ Defined in: [types.ts:674](https://github.com/Ronokof/Henkan/blob/509701feced30c3685817fc5852353b86cc93a16/src/types.ts#L674)
172
172
 
173
173
  #### See
174
174
 
@@ -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)[]
10
10
 
11
- Defined in: [types.ts:359](https://github.com/Ronokof/Henkan/blob/17cbd9518a408e69828b76e5f6f939abe525b24c/src/types.ts#L359)
11
+ Defined in: [types.ts:377](https://github.com/Ronokof/Henkan/blob/509701feced30c3685817fc5852353b86cc93a16/src/types.ts#L377)
12
12
 
13
13
  Any type of entry list
@@ -8,6 +8,6 @@
8
8
 
9
9
  > **DictName** = `"JMDict"` \| `"Kanjidic"` \| `"tanaka"` \| `"radk"` \| `"krad"`
10
10
 
11
- Defined in: [types.ts:9](https://github.com/Ronokof/Henkan/blob/17cbd9518a408e69828b76e5f6f939abe525b24c/src/types.ts#L9)
11
+ Defined in: [types.ts:9](https://github.com/Ronokof/Henkan/blob/509701feced30c3685817fc5852353b86cc93a16/src/types.ts#L9)
12
12
 
13
13
  Standardized dictionary names
@@ -8,6 +8,6 @@
8
8
 
9
9
  > **EntryType** = `"word"` \| `"kanji"` \| `"radical"` \| `"kana"` \| `"grammar"`
10
10
 
11
- Defined in: [types.ts:369](https://github.com/Ronokof/Henkan/blob/17cbd9518a408e69828b76e5f6f939abe525b24c/src/types.ts#L369)
11
+ Defined in: [types.ts:387](https://github.com/Ronokof/Henkan/blob/509701feced30c3685817fc5852353b86cc93a16/src/types.ts#L387)
12
12
 
13
13
  Names of entry types used for the Anki note IDs
@@ -8,6 +8,6 @@
8
8
 
9
9
  > **JLPT** = `"N5"` \| `"N4"` \| `"N3"` \| `"N2"` \| `"N1"`
10
10
 
11
- Defined in: [types.ts:4](https://github.com/Ronokof/Henkan/blob/17cbd9518a408e69828b76e5f6f939abe525b24c/src/types.ts#L4)
11
+ Defined in: [types.ts:4](https://github.com/Ronokof/Henkan/blob/509701feced30c3685817fc5852353b86cc93a16/src/types.ts#L4)
12
12
 
13
13
  JLPT levels
@@ -8,6 +8,6 @@
8
8
 
9
9
  > **Result** = [`Word`](../interfaces/Word.md) \| [`Kanji`](../interfaces/Kanji.md) \| [`Radical`](../interfaces/Radical.md) \| [`Kana`](../interfaces/Kana.md) \| [`Grammar`](../interfaces/Grammar.md)
10
10
 
11
- Defined in: [types.ts:732](https://github.com/Ronokof/Henkan/blob/17cbd9518a408e69828b76e5f6f939abe525b24c/src/types.ts#L732)
11
+ Defined in: [types.ts:754](https://github.com/Ronokof/Henkan/blob/509701feced30c3685817fc5852353b86cc93a16/src/types.ts#L754)
12
12
 
13
13
  Any type of converted entry from a [Dict](Dict.md) array + others not from a dictionary
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "henkan",
3
- "version": "0.6.1",
3
+ "version": "0.8.0",
4
4
  "description": "A Node.JS library that helps you convert any dictionary from EDRDG, transform their entries into more user-friendly schemas and create Anki notes from them.",
5
5
  "keywords": [
6
6
  "fjsd",
@@ -62,23 +62,23 @@
62
62
  "devDependencies": {
63
63
  "@types/node": "^24.10.1",
64
64
  "@types/xml2js": "^0.4.14",
65
- "@typescript-eslint/eslint-plugin": "^8.46.4",
66
- "@typescript-eslint/parser": "^8.46.4",
65
+ "@typescript-eslint/eslint-plugin": "^8.47.0",
66
+ "@typescript-eslint/parser": "^8.47.0",
67
67
  "esbuild": "^0.27.0",
68
68
  "eslint": "^9.39.1",
69
69
  "eslint-plugin-prettier": "^5.5.4",
70
70
  "prettier": "^3.6.2",
71
- "rimraf": "^6.1.0",
71
+ "rimraf": "^6.1.2",
72
72
  "typedoc": "^0.28.14",
73
73
  "typedoc-plugin-markdown": "^4.9.0",
74
74
  "typescript": "^5.9.3"
75
75
  },
76
76
  "dependencies": {
77
- "@aws-sdk/client-polly": "^3.932.0",
78
77
  "iconv-lite": "^0.7.0",
79
78
  "kuroshiro": "^1.2.0",
80
79
  "kuroshiro-analyzer-kuromoji": "^1.1.0",
81
80
  "libxmljs2": "^0.37.0",
81
+ "node-fetch": "^3.3.2",
82
82
  "xml2js": "^0.6.2"
83
83
  },
84
84
  "engines": {
@@ -1,33 +0,0 @@
1
- [**henkan**](../README.md)
2
-
3
- ***
4
-
5
- [henkan](../README.md) / makeSSML
6
-
7
- # Function: makeSSML()
8
-
9
- > **makeSSML**(`formText`, `fullReading`): `string`
10
-
11
- Defined in: [utils.ts:1500](https://github.com/Ronokof/Henkan/blob/17cbd9518a408e69828b76e5f6f939abe525b24c/src/utils.ts#L1500)
12
-
13
- Builds SSML text for Japanese words
14
-
15
- ## Parameters
16
-
17
- ### formText
18
-
19
- `string`
20
-
21
- The normal form of the word (usually kanji form)
22
-
23
- ### fullReading
24
-
25
- `string`
26
-
27
- The reading of the word (hiragana or katakana)
28
-
29
- ## Returns
30
-
31
- `string`
32
-
33
- The SSML text