aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-07-03 16:38:56 +0200
committerlonkaars <loek@pipeframe.xyz>2023-07-03 16:38:56 +0200
commit5b0b8c82a8477cfe49a538f267805488daa7f5bd (patch)
tree2f8e45d3edb6d1848882b10596980e002053298e /examples
parentdab9bee4b46aaa1241cdb6b565ddbe0f19137c5e (diff)
more correct sentence parsing
Diffstat (limited to 'examples')
-rw-r--r--examples/furigana-html.ts11
1 files changed, 0 insertions, 11 deletions
diff --git a/examples/furigana-html.ts b/examples/furigana-html.ts
index 6a0e801..f0ff067 100644
--- a/examples/furigana-html.ts
+++ b/examples/furigana-html.ts
@@ -14,17 +14,6 @@ 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"));
-
-var test = "日本に来て一番驚いたことは自動販売機の多さだ。";
-console.log(test);
-console.log((await api.sentence(test)).furigana("parenthesis"));
-
-test = "にほんに来て一番驚いたことは自動販売機の多さだ。";
-console.log(test);
-console.log((await api.sentence(test)).furigana("parenthesis"));