Metadata-Version: 2.1
Name: syllogio-identifyPropositions
Version: 3.0.0
Summary: Identify natural language propositions in a written argument.
Home-page: https://github.com/syllogio/syllogio-identifyPropositions
Author: Peter Sieg
Author-email: chasingmaxwell@gmail.com
License: MIT
Description: # Syllogio Identify Propositions
        
        Identify natural language propositions in a written argument.
        
        # Installation
        
        1. Install pip package.
        
           ```bash
           pip install syllogio-identifyPropositions
           ```
        
        2. Install [spacy module](https://spacy.io/models) (Tested with "en_core_web_sm").
        
           ```
           python -m spacy download <model name>
           ```
        
        3. OPTIONAL: Add model name to configuration.
        
           ```ini
           ; setup.cfg
        
           [syllogio-identifyPropositions]
           model_name = <model name> ; defaults to "en_core_web_sm"
           ```
        
        # Usage
        
        ## Command line
        
        Usage:
        
        ```
        Usage: idpr [options] INPUT
        
        Options:
          -m <model> --model <model>    Specify a spaCy model. Defaults to "en_core_web_sm".
          -V --version                  Print version and exit.
          -h --help                     Show this message.
        ```
        
        Example:
        
        ```
        > 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
        
        ```python
        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"
        # ]
        ```
        
Platform: UNKNOWN
Description-Content-Type: text/markdown
