Identify natural language propositions in a written argument.
Project description
Syllogio Identify Propositions
Identify natural language propositions in a written argument.
Installation
-
Install pip package.
pip install syllogio-identifyPropositions
-
Install spacy module (Tested with "en_core_web_sm").
python -m spacy download <model name>
-
Add model name to configuration.
; setup.cfg [syllogio-identifyPropositions] model_name = <model name> ; defaults to "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-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b3a7347cf7923f2d5a1f6a2088d32f33e0bfa9323b43a2a984a0f100a84b4f4 |
|
MD5 | 867d65d3926f3941f01028aee013557b |
|
BLAKE2b-256 | 093edb7001095d31893f9c10ea18fe919851009a85d1fb8ffd8d53e71fecd9eb |
Close
Hashes for syllogio_identifyPropositions-1.0.0-py3.6.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c1152fce9127fe5a92faea9052a984fc9e989339f0dadaf2155a84c80cdfc57 |
|
MD5 | 15b56f54168f7c7e08abdac713cb379b |
|
BLAKE2b-256 | c028295d054fe3e83733ae189153e4f365fd7179219ef60772bf5c3993028be0 |
Close
Hashes for syllogio_identifyPropositions-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 738b1742403cb816f55b1a6602ed3e86c881b9cfee413bfa75f9d85b003321bd |
|
MD5 | e76c9f16943339ae98f649ff3127f4d0 |
|
BLAKE2b-256 | c1898df6bfe1e2a17a282a7ad5a211df1b989b1e8f9dbeb7bbc4b79d3133f2ce |