View on GitHub

Graphene

Coreference Resolution, Simplification and Open Relation Extraction Pipeline

Usage of the Graphene-CLI

The Graphene-CLI captures the same functionalities as the Graphene-Core API.

Running the CLI

The CLI can be executed through Maven by running:

cd graphene-cli
mvn exec:java -Dexec.args="...command-line-arguments..." -Dconfig.file="...path-to-config-file..."

Arguments

The following argument specifies the data source specified by –input

Examples:

mvn exec:java -Dexec.args="--operation RE --output CMDLINE --reformat DEFAULT --input TEXT 'The text.'" -Dconfig.file="../conf/graphene.conf"
mvn exec:java -Dexec.args="--operation RE --output CMDLINE --reformat DEFAULT --input FILE input.txt" -Dconfig.file="../conf/graphene.conf"

Back to the home page