Skip to main content

Identify natural language propositions in a written argument.

Project description

Syllogio Identify Propositions

Identify natural language propositions in a written argument.

Installation

pip install syllogio-identifyPropositions
python -m spacy download en_core_web_sm

Usage

Command line

> idpr "All men are mortal. Socrates is a man. Therefore, Socrates is mortal."
[
  "All men are mortal",
  "Socrates is a man",
  "Therefore, Socrates is mortal"
]

Programmatic

from identifyPropositions import identify

propositions = identify("All men are mortal. Socrates is a man. Therefore, Socrates is mortal.")

# propositions will be:
# [
#   "All men are mortal",
#   "Socrates is a man",
#   "Therefore, Socrates is mortal"
# ]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

syllogio-identifyPropositions-0.0.2.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distributions

syllogio_identifyPropositions-0.0.2-py3.6.egg (6.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page