nligraphspacy


Namenligraphspacy JSON
Version 1.1.7 PyPI version JSON
download
home_pagehttps://github.com/Vishnunkumar/nligraphspacy/
SummaryKnowledge graph using Spacy NLP
upload_time2023-08-01 02:52:58
maintainer
docs_urlNone
authorVishnu Nandakumar
requires_python
licenseMIT license
keywords spacy nli keywords entities
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # NLIGraphSpacy
Knowledge graph using NLP Spacy

## Installation

```python
pip install nligraphspacy
```

## Implementation

```python
from nligraphspacy import NLIGRAPH
nligraph = NLIGRAPH.RelationEntityExtract("She worked in the city of London")
nligraph.process_text()
# ('She', 'worked', 'London')

nligraph.get_seperate_entities()
# [{'text': 'A', 'label': ''},
# {'text': 'DAG', 'label': 'SOURCE-NODE'},
# {'text': 'is', 'label': ''},
# {'text': 'used', 'label': 'EDGE'},
# {'text': 'for', 'label': ''},
# {'text': 'organizing', 'label': ''},
# {'text': 'tasks', 'label': 'TARGET-NODE'}]
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Vishnunkumar/nligraphspacy/",
    "name": "nligraphspacy",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "spacy nli keywords entities",
    "author": "Vishnu Nandakumar",
    "author_email": "nkumarvishnu25@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/f8/be/059b64692f80b5487dc8391e2744d865248930bdd45d5238d911e5028980/nligraphspacy-1.1.7.tar.gz",
    "platform": null,
    "description": "# NLIGraphSpacy\nKnowledge graph using NLP Spacy\n\n## Installation\n\n```python\npip install nligraphspacy\n```\n\n## Implementation\n\n```python\nfrom nligraphspacy import NLIGRAPH\nnligraph = NLIGRAPH.RelationEntityExtract(\"She worked in the city of London\")\nnligraph.process_text()\n# ('She', 'worked', 'London')\n\nnligraph.get_seperate_entities()\n# [{'text': 'A', 'label': ''},\n# {'text': 'DAG', 'label': 'SOURCE-NODE'},\n# {'text': 'is', 'label': ''},\n# {'text': 'used', 'label': 'EDGE'},\n# {'text': 'for', 'label': ''},\n# {'text': 'organizing', 'label': ''},\n# {'text': 'tasks', 'label': 'TARGET-NODE'}]\n```\n",
    "bugtrack_url": null,
    "license": "MIT license",
    "summary": "Knowledge graph using Spacy NLP",
    "version": "1.1.7",
    "project_urls": {
        "Homepage": "https://github.com/Vishnunkumar/nligraphspacy/"
    },
    "split_keywords": [
        "spacy",
        "nli",
        "keywords",
        "entities"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f8be059b64692f80b5487dc8391e2744d865248930bdd45d5238d911e5028980",
                "md5": "49150be3c171a905b6d7c46ec50f30fa",
                "sha256": "23342aff3f761bf501ea0d25e3175df948f1d481d70d6e796025a5ad4ea7ee0e"
            },
            "downloads": -1,
            "filename": "nligraphspacy-1.1.7.tar.gz",
            "has_sig": false,
            "md5_digest": "49150be3c171a905b6d7c46ec50f30fa",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2839,
            "upload_time": "2023-08-01T02:52:58",
            "upload_time_iso_8601": "2023-08-01T02:52:58.436812Z",
            "url": "https://files.pythonhosted.org/packages/f8/be/059b64692f80b5487dc8391e2744d865248930bdd45d5238d911e5028980/nligraphspacy-1.1.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-01 02:52:58",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Vishnunkumar",
    "github_project": "nligraphspacy",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "nligraphspacy"
}
        
Elapsed time: 0.26865s