texteval


Nametexteval JSON
Version 1.0.5 PyPI version JSON
download
home_page
SummarySmall python package to calculate the sentence similarity metrics.
upload_time2023-11-08 09:44:33
maintainer
docs_urlNone
authorDipankar
requires_python>= 3.8
licenseMIT
keywords sentence similarity text python metrics cosine rouge bleu
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Text Eval

A tiny python package to find the sentence similarity metrics.

## Getting started

### Installing
```bash
$ pip install texteval
```

### Usage
```python
from texteval.evaluate import Evaluator

system_summary = "John really loves data science very much and studies it a lot."
input_text = "John very much loves data science and enjoys it a lot."

evaluator = Evaluator()
res = evaluator.rouge_evaluation(input_text,system_summary)
print(res)
```




            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "texteval",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">= 3.8",
    "maintainer_email": "",
    "keywords": "sentence similarity text python metrics cosine rouge bleu",
    "author": "Dipankar",
    "author_email": "dipankarmedhi11@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/27/89/c3aaee4ac647b9a15cf4b231ca4a9b3d13d2453f5ee2cff7b53119c99113/texteval-1.0.5.tar.gz",
    "platform": null,
    "description": "# Text Eval\n\nA tiny python package to find the sentence similarity metrics.\n\n## Getting started\n\n### Installing\n```bash\n$ pip install texteval\n```\n\n### Usage\n```python\nfrom texteval.evaluate import Evaluator\n\nsystem_summary = \"John really loves data science very much and studies it a lot.\"\ninput_text = \"John very much loves data science and enjoys it a lot.\"\n\nevaluator = Evaluator()\nres = evaluator.rouge_evaluation(input_text,system_summary)\nprint(res)\n```\n\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Small python package to calculate the sentence similarity metrics.",
    "version": "1.0.5",
    "project_urls": null,
    "split_keywords": [
        "sentence",
        "similarity",
        "text",
        "python",
        "metrics",
        "cosine",
        "rouge",
        "bleu"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "35b3ed99a207c44635ded4eb5a656860820a54f1266ebd74d0bf74d8879d8855",
                "md5": "911760bec86ef861369cf7e6c94081e4",
                "sha256": "33285c1a29d458e00586c454f75fbe4e17cd3784453dd496744b9a332292fe02"
            },
            "downloads": -1,
            "filename": "texteval-1.0.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "911760bec86ef861369cf7e6c94081e4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">= 3.8",
            "size": 3759,
            "upload_time": "2023-11-08T09:44:30",
            "upload_time_iso_8601": "2023-11-08T09:44:30.654322Z",
            "url": "https://files.pythonhosted.org/packages/35/b3/ed99a207c44635ded4eb5a656860820a54f1266ebd74d0bf74d8879d8855/texteval-1.0.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2789c3aaee4ac647b9a15cf4b231ca4a9b3d13d2453f5ee2cff7b53119c99113",
                "md5": "a1b38b9caf4f9d972604a96c7c5a9d4a",
                "sha256": "7a3d232db21adad13232bf199fb80b0f6f96fb0523d3d5ba3386396f24200b20"
            },
            "downloads": -1,
            "filename": "texteval-1.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "a1b38b9caf4f9d972604a96c7c5a9d4a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">= 3.8",
            "size": 3204,
            "upload_time": "2023-11-08T09:44:33",
            "upload_time_iso_8601": "2023-11-08T09:44:33.327875Z",
            "url": "https://files.pythonhosted.org/packages/27/89/c3aaee4ac647b9a15cf4b231ca4a9b3d13d2453f5ee2cff7b53119c99113/texteval-1.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-08 09:44:33",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "texteval"
}
        
Elapsed time: 2.31295s