Skip to content

Command-line utilities for working with PROIEL treebanks

License

Notifications You must be signed in to change notification settings

proiel/proiel-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PROIEL command-line interface

Status

Gem Version Build 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 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.