This is a command-line interface for manipulating PROIEL treebanks.
This library requires Ruby >= 2.4. Install as
gem install proiel-cliThis gem includes a command-line utility, proiel, which solves various routine tasks involving PROIEL-style treebanks.
proiel info, for example, displays metadata and some brief statistics, and proiel convert conll converts the treebank to CoNLL format. Use proiel --help for further examples and usage instructions.
To use the visualize command you will need to have graphviz installed. On macOS you can use Homebrew for this:
brew install graphvizMake sure that the dot command is available in the path:
$ which dot
/usr/local/bin/dotBug reports and pull requests are welcome on GitHub.
To contribute to development, check out the git repository from GitHub and run bin/setup to install all development dependencies. Then run rake to run the tests.
To install a development version of this gem, run bundle exec rake install.
To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the gem to rubygems.org.