diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/furigana-html.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/furigana-html.ts b/examples/furigana-html.ts index f0ff067..6b6d2cd 100644 --- a/examples/furigana-html.ts +++ b/examples/furigana-html.ts @@ -14,6 +14,9 @@ var sentence = await api.sentence("日本に来て一番驚いたことは自動 // Copy the sentence verbatim but add furigana to each word's kanji var furigana = sentence.furigana("HTML"); +// TODO: sentence is not copied verbatim, words are replaced by their kanji if they matched by kana only console.log(furigana); +// this sentence works :tada: +// console.log((await api.sentence("浮上したハイラル城の下にてゼルダ様達の捜索を行うこととなった")).furigana("HTML")); |