-tsv option does not produce proper tsv output

Issue #64 resolved
Martin Gauthier created an issue

Running kma with -tsv option to generate a TSV file does not create a proper TSV output, it seems the records (lines) are separated by tab characters (\t) instead of newline characters (\n).

Changing kma.c line 920 from

            } else if(strcmp(argv[args], "-tsv") == 0) {
                tsv = 0xffffffffffffffff;

to

            } else if(strcmp(argv[args], "-tsv") == 0) {
                tsv = 0xffff;

seems to fix the problem.

Comments (2)

  1. Log in to comment