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
Built Distributions
Close
Hashes for syllogio-identifyPropositions-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 790a0c2cfe53b4b1bfae4c6364945070c0ec2e4feeba5d884b449fe7868f6f20 |
|
MD5 | fda1a4853844da611a0e009faed5d85d |
|
BLAKE2b-256 | e23628c97bde2c828f46396b05cb0e8c97e2a01f36ddb35193980c2bf917d2ad |
Close
Hashes for syllogio_identifyPropositions-0.0.2-py3.6.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | d09d1469b511c2d71870d39de2322b9a6c9c503f824fea399f000711358f2d75 |
|
MD5 | 0f067dfe1dac60dfd258c8a5f610d8ca |
|
BLAKE2b-256 | d88891dd43e3940ec51c4525f8a5465b76a61e6e3a442db6cb0786c254e1e3bf |
Close
Hashes for syllogio_identifyPropositions-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f9697d1d939ff83160b2bd199c32873d7fa5196df10586c0ee639749093fdce |
|
MD5 | a87f5fab6946ef8887680a61adb0b5a4 |
|
BLAKE2b-256 | f289e83de4a81d4411aee72537de4b61bb1cb8c2e5462db5c49cdf4ec7694bc2 |