aboutsummaryrefslogtreecommitdiff
path: root/examples/reading-correction-break.ts
diff options
context:
space:
mode:
Diffstat (limited to 'examples/reading-correction-break.ts')
-rw-r--r--examples/reading-correction-break.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/reading-correction-break.ts b/examples/reading-correction-break.ts
index 3f0359b..6761165 100644
--- a/examples/reading-correction-break.ts
+++ b/examples/reading-correction-break.ts
@@ -1,11 +1,13 @@
import Yomikun from "../api/yomikun.ts";
import DirectCoreClient from "../core/direct/client.ts";
+// WIP
+
// Create a direct (local) API instance
var api = new Yomikun(new DirectCoreClient());
-// Excplicitly wait until everything is ready
-// await api.ready;
+// Explicitly wait until everything is ready (not required)
+await api.ready;
// index sentence (generates wrong readings)
var sentence = await api.sentence("日本に来て一番驚いたことは自動販売機の多さだ。");