readWordsCsv beta
Function of @v12-engine/editor
ts
export declare function readWordsCsv(text: string, languages: readonly string[]): {
rows: ReadWordRow[];
languages: string[];
unknown: string[];
};A table read from CSV (wordsCsv's, or a spreadsheet's of it): a header with key and a column a language, table and source where it has them. The languages are the columns named as one of languages; unknown the other columns. Throws where it has no key column