summaryrefslogtreecommitdiff
path: root/packages/lang/test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/lang/test.ts')
-rw-r--r--packages/lang/test.ts24
1 files changed, 0 insertions, 24 deletions
diff --git a/packages/lang/test.ts b/packages/lang/test.ts
deleted file mode 100644
index d1763ca..0000000
--- a/packages/lang/test.ts
+++ /dev/null
@@ -1,24 +0,0 @@
-import { franc, francAll } from "franc-all";
-import { getScriptPredictor } from "./src";
-
-const a = "My name is John.";
-const a2 = "My name is John";
-const b = "ของไทย";
-const b2 = "ของไทย";
-const c = "こんにちは";
-const c2 = "こんにちは";
-//
-// This isn't working must be using some browser APIs to do the work I guess
-const fa = franc("My name is John.");
-const fa2 = francAll("My name is John");
-const fb = franc("ของไทย");
-const fb2 = francAll("ของไทย");
-const fc = franc("こんにちは");
-const fc2 = franc("こんにちは");
-
-console.log({ fa, fa2, fb, fb2, fc, fc2 });
-
-const Predictor = getScriptPredictor();
-const ua = Predictor(a);
-
-console.dir({ ua }, { depth: null });