src/MeCab.ts
Function dump
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async dump(text: string): Promise<ParsedDumpWord[]> {
const result = await this.runMeCab(text, ["-Odump"]);
// Remove not needed symbol
const splitedLines = result.replace(/\n$/, "").split("\n");