sera1mu/deno-mecab

View on GitHub

Showing 1 of 1 total issue

Function dump has 35 lines of code (exceeds 25 allowed). Consider refactoring.
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");
Severity: Minor
Found in src/MeCab.ts - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language