Skip to content
No description, website, or topics provided.
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
docs
src/main
LICENSE
README.md
_config.yml
pom.xml
sample.txt

README.md

ContractFrames

The system takes as input a text about different events involving a purchase contract and returns the PROLEG representation. See the system description for further reference.

Installation

$ sudo apt-get install openjdk-8-jdk
$ sudo apt-get install git
$ sudo apt-get install maven
$ git clone https://github.com/mnavasloro/ContractFrames
$ mvn clean install

Execution

To get help:

$ java -jar contractf.jar -help

The output should be similar to:

usage: oeg.contractFrames.Main
 -format <arg>   OPTION to choose the format. (proleg), ttl
 -help           COMMAND to show help (Help)
 -logs           OPTION to enable logs
 -nologs         OPTION to disables logs
 -parse <arg>    COMMAND to parse a file

To produced PROLEG from a text file talking about a contract (in English):

$ java -jar contractf.jar -parse sample.txt

To produced RDF from a text file talking about a contract (in English):

$ java -jar contractf.jar -format rdf -parse sample.txt

Logs can be enabled/disabled with the commands -nologs or -nlogs. There will be a text file named ./logs/ContractFrames.txt with the logs

You can’t perform that action at this time.