PROIEL command-line interface
Status
Description
This is a command-line interface for manipulating PROIEL treebanks.
Installation
This library requires Ruby >= 2.4. Install as
gem install proiel-cli
Using the command-line interface
This 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 graphviz
Make sure that the dot command is available in the path:
$ which dot
/usr/local/bin/dot
Contributing
Bug reports and pull requests are welcome on GitHub.
Development
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.
Releasing a new version
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.