UniversalDependencies / tools

Various utilities for processing the data.
GNU General Public License v2.0
205 stars 44 forks source link

Test suite (runtests.sh) execution fails with error --lang is required #6

Closed spyysalo closed 7 years ago

spyysalo commented 7 years ago

The script runtests.sh fails to execute the test suite as all invocations ofvalidate.py fail with

usage: validate.py [-h] [--noecho] [--echo] [--quiet] [--max-err MAX_ERR]
                   [--err-enc ERR_ENC] --lang LANG [--multiple-roots]
                   [input] [output]
validate.py: error: argument --lang is required

Can we either add a dummy language or something like a --nolang argument for the test suite? (@fginter)

spyysalo commented 7 years ago

Continues to fail when executed with

python validate.py --lang=ud < test-cases/valid/empty-file.conll

Possibly related: https://github.com/UniversalDependencies/docs/issues/244