Skip to content

PropS offers an output representation designed to explicitly and uniformly express much of the proposition structure which is implied from syntax.

License

Notifications You must be signed in to change notification settings

gabrielStanovsky/props

Repository files navigation

Table of Contents generated with DocToc

What is PropS?

PropS offers an output representation designed to explicitly and uniformly express much of the proposition structure which is implied from syntax.

Semantic NLP applications often rely on dependency trees to recognize major elements of the proposition structure of sentences. Yet, while much semantic structure is indeed expressed by syntax, many phenomena are not easily read out of dependency trees, often leading to further ad-hoc heuristic post-processing or to information loss. For that end, PropS post-processes dependency trees to present a compelling representation for downstream tasks.

Find more details, examples, and an online demo at the project page.

Light-weight Installation

See instructions here.

Full Installation (with Berkeley Parser)

Run 'sudo -E python ./setup.py install' from the props root directory. This will install several python packages and other resources which PropS uses and relies upon (see requirements.txt and install.sh for the complete list).

MacOS users might run into issues installing JPype. An instruction to manually install JPype on MacOS can be found on the berkely parser python interface repository.

Prerequisites

  • python 2.7
  • java 7 (make sure to set the JAVA_HOME enviroment variable (e.g., /usr/lib/[your_java_folder])

Testing

Run 'python ./unit_tests/sanity_test.py'

About

PropS offers an output representation designed to explicitly and uniformly express much of the proposition structure which is implied from syntax.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages