Treebank::Transform
Transforms Perseus Treebank Files.
Right now only a transformation of 1.5 files to the interim Arethusa schema is supported. Elliptic nodes are handled differently these days.
Installation
Add this line to your application's Gemfile:
gem 'treebank-transform'
And then execute:
$ bundle
Or install it yourself as:
$ gem install treebank-transform
Usage
You can transform the example files from your command line to check the output of this tool:
$ treebank-transform do examples/cicero_catilina_sample.xml
$ treebank-transform do examples/hesiod_shield_of_heracles.xml
Contributing
- Fork it ( https://github.com/[my-github-username]/treebank-transform/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request