Skip to content

Instantly share code, notes, and snippets.

@JMan-Zx
JMan-Zx / biaori-to-anki.js
Created January 2, 2023 20:33 — forked from breezewish/biaori-to-anki.js
将《新标准日语》的音频和单词导入到 Anki https://zhuanlan.zhihu.com/p/58139619
const assert = require("assert").strict;
const child_process = require("child_process");
const path = require("path");
const crypto = require("crypto");
const glob = require("glob");
const fs = require("fs-extra");
const _ = require("lodash");
const sort = require("alphanum-sort");
const Kuroshiro = require("kuroshiro");
const KuromojiAnalyzer = require("kuroshiro-analyzer-kuromoji");