bugfixing #1
This commit is contained in:
parent
afd28d934e
commit
2a6c56ed23
12 changed files with 300 additions and 269 deletions
|
|
@ -1,20 +1,6 @@
|
|||
import fs from "fs";
|
||||
import path from "path";
|
||||
|
||||
const LANG_MAP: Record<string, string> = {
|
||||
english: "en",
|
||||
italian: "it",
|
||||
german: "de",
|
||||
french: "fr",
|
||||
spanish: "es",
|
||||
};
|
||||
|
||||
const POS_MAP: Record<string, string> = {
|
||||
nouns: "noun",
|
||||
verbs: "verb",
|
||||
adverbs: "adverb",
|
||||
adjectives: "adjective",
|
||||
};
|
||||
import { LANG_MAP, POS_MAP } from "../config/constants.js";
|
||||
|
||||
/**
|
||||
* Creates the base JSON file with word, language, and pos.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue