Skip to content
Extraits de code Groupes Projets
avatar de l'utilisateur
Michael Witrant rédigé
c6378e76
Historique

Amendment extraction

Tools to extract amendment texts from EU documents.

Installation

You need Ruby 1.9+. Clone the repository and run "bundle" to install the gems.

Usage

First you must save the doc file to OpenDocument text (.odt) with OpenOffice or LibreOffice.

Then you can run the command line version:

./extract_amendments.rb <odt file> >result.mediawiki

Or you can use the web server :

Run the server with ruby server.rb and go to http://localhost:4567/. Click or browse, select your odt file and submit. Your browser should display the mediawiki text to copy/paste.