NAF output

Submitted by Xsoto on Thu, 12/14/2017 - 11:59


I'm using the '--output naf' option and I see that the resulting format is not tabulated and sometimes consecutive tags appear in the same line, could it be possible to fix it changing some configuration file or adding any other option when calling to Freeling?



NAF is XML, and will be parsed even if it is not tabulated. XML is a machine oriented format, not human-oriented

In any case, you can visualize XML opening the file in a web browser (they will render it nice for you) or you can  pretty-print it with a variety of utilities (e.g. xmllint)