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 bundle install 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
lib/proiel/cli/version.rb. - Run
bundle exec rake release. This will:- Create a git tag for the version.
- Push git commits and tags to the remote repository.
- Push the
.gemfile to rubygems.org.