henkan 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -56,14 +56,14 @@ const dictContent = fs.readFileSync(dictPath, 'utf-8');
|
|
|
56
56
|
|
|
57
57
|
const dictWords = convertJMdict(dictContent);
|
|
58
58
|
|
|
59
|
-
const jmDict = undefined,
|
|
59
|
+
const jmDict = undefined, kanjiDic = undefined, tanakaCorpus = undefined, definitions = undefined;
|
|
60
60
|
|
|
61
61
|
const noteTypeName = 'Word';
|
|
62
62
|
const deckName = 'Japanese::Vocabulary::No kanji form words';
|
|
63
63
|
|
|
64
64
|
const noKanjiFormWords = dictWords
|
|
65
65
|
.filter(word => word.kanjiForms === undefined)
|
|
66
|
-
.map(word => getWord(
|
|
66
|
+
.map(word => getWord(word, jmDict, kanjiDic, tanakaCorpus, definitions, noteTypeName, deckName));
|
|
67
67
|
|
|
68
68
|
const ankiNotesFile = generateAnkiNotesFile(noKanjiFormWords);
|
|
69
69
|
|