1 parent
23844ae301
commit
d25b5dbe6d
268 files changed
+3684
-8861
No files matched your search
Vendored
+2
-3
@@ -54,9 +54,8 @@ export async function withBuiltinDict(): Promise<JiebaInstance> {
|
||||
with: { type: "file" },
|
||||
})
|
||||
).default as unknown as string
|
||||
const dictPath = (
|
||||
await import("@node-rs/jieba/dict.txt", { with: { type: "file" } })
|
||||
).default as unknown as string
|
||||
const dictPath = (await import("@node-rs/jieba/dict.txt", { with: { type: "file" } }))
|
||||
.default as unknown as string
|
||||
|
||||
let addon: { Jieba: { withDict(dict: Buffer): JiebaInstance } }
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user