BasicTextMetrics


NameBasicTextMetrics JSON
Version 0.2.1 PyPI version JSON
download
home_page
SummaryAnalyze textual data and extract useful metrics such as word count, character count, average word length, and most common words
upload_time2024-02-28 13:32:17
maintainer
docs_urlNone
author
requires_python>=3.6
licenseMIT License Copyright (c) 2022 LearnOpenCV Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords text analysis text metrics word counting character counting word length frequency analysis linguistic analysis natural language processing (nlp) textual data processing textual insights textual statistics textual analytics language metrics language analysis text readability sentiment analysis (potentially) tokenization part-of-speech tagging (pos tagging) textual summarization lexical analysis
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            TextMetrics

TextMetrics is a Python package for basic text analysis and statistics. It provides simple yet efficient functions to analyze textual data and extract useful metrics such as word count, character count, average word length, and most common words.

Features

Word Count: Count the number of words in a text.
Character Count: Count the number of characters in a text.
Average Word Length: Calculate the average length of words in a text.
Most Common Words: Find the most common words in a text.

Installation
You can install Basictextmetrics using pip:
pip install BasicTextMetrics

Usage
Here's a quick example demonstrating the usage of BasicTextMetrics:

python
Copy code
from basictextmetrics import core

text = "This is a sample text for demonstrating the BasicTextMetrics package."
print("Word count:", core.word_count(text))
print("Character count:", core.char_count(text))
print("Average word length:", core.avg_word_length(text))
print("Most common words:", core.most_common_words(text))

Contributing
Contributions are welcome! If you find any issues or have suggestions for improvement, feel free to open an issue or submit a pull request on the GitHub repository.

License
This project is licensed under the MIT License - see the LICENSE file for details.

This README provides a brief overview of the BasicTextMetrics package, its features, installation instructions, usage examples, guidelines for contributing, and information about the license. Feel free to customize it further based on your preferences and specific details of the package.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "BasicTextMetrics",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "Text analysis,Text metrics,Word counting,Character counting,Word length,Frequency analysis,Linguistic analysis,Natural language processing (NLP),Textual data processing,Textual insights,Textual statistics,Textual analytics,Language metrics,Language analysis,Text readability,Sentiment analysis (potentially),Tokenization,Part-of-speech tagging (PoS tagging),Textual summarization,Lexical analysis",
    "author": "",
    "author_email": "Famosa Muyiwa <nenling19@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/ce/49/8f36455cbbc00999a7bca5890db7c3fed60cd7b7c044e9ccded1fa35f87c/BasicTextMetrics-0.2.1.tar.gz",
    "platform": null,
    "description": "TextMetrics\n\nTextMetrics is a Python package for basic text analysis and statistics. It provides simple yet efficient functions to analyze textual data and extract useful metrics such as word count, character count, average word length, and most common words.\n\nFeatures\n\nWord Count: Count the number of words in a text.\nCharacter Count: Count the number of characters in a text.\nAverage Word Length: Calculate the average length of words in a text.\nMost Common Words: Find the most common words in a text.\n\nInstallation\nYou can install Basictextmetrics using pip:\npip install BasicTextMetrics\n\nUsage\nHere's a quick example demonstrating the usage of BasicTextMetrics:\n\npython\nCopy code\nfrom basictextmetrics import core\n\ntext = \"This is a sample text for demonstrating the BasicTextMetrics package.\"\nprint(\"Word count:\", core.word_count(text))\nprint(\"Character count:\", core.char_count(text))\nprint(\"Average word length:\", core.avg_word_length(text))\nprint(\"Most common words:\", core.most_common_words(text))\n\nContributing\nContributions are welcome! If you find any issues or have suggestions for improvement, feel free to open an issue or submit a pull request on the GitHub repository.\n\nLicense\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\nThis README provides a brief overview of the BasicTextMetrics package, its features, installation instructions, usage examples, guidelines for contributing, and information about the license. Feel free to customize it further based on your preferences and specific details of the package.\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2022 LearnOpenCV  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "Analyze textual data and extract useful metrics such as word count, character count, average word length, and most common words",
    "version": "0.2.1",
    "project_urls": {
        "Source": "https://github.com/famosamuyiwa/TextMetrics.git"
    },
    "split_keywords": [
        "text analysis",
        "text metrics",
        "word counting",
        "character counting",
        "word length",
        "frequency analysis",
        "linguistic analysis",
        "natural language processing (nlp)",
        "textual data processing",
        "textual insights",
        "textual statistics",
        "textual analytics",
        "language metrics",
        "language analysis",
        "text readability",
        "sentiment analysis (potentially)",
        "tokenization",
        "part-of-speech tagging (pos tagging)",
        "textual summarization",
        "lexical analysis"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "71697793469e12660b5201a9a2becef54892176cbecb3bfc235c52faf1ecdc96",
                "md5": "53a8edc118477f96b930d080ff4e8201",
                "sha256": "c4f7312be84b63783394d7235f5e5fa460e314c561afa5538eb37b3e4b7d9a3f"
            },
            "downloads": -1,
            "filename": "BasicTextMetrics-0.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "53a8edc118477f96b930d080ff4e8201",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 4340,
            "upload_time": "2024-02-28T13:32:14",
            "upload_time_iso_8601": "2024-02-28T13:32:14.846386Z",
            "url": "https://files.pythonhosted.org/packages/71/69/7793469e12660b5201a9a2becef54892176cbecb3bfc235c52faf1ecdc96/BasicTextMetrics-0.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ce498f36455cbbc00999a7bca5890db7c3fed60cd7b7c044e9ccded1fa35f87c",
                "md5": "b65be232aba08e1083e60d99de212f4d",
                "sha256": "b5848712a2c1b3a463fde319c6d2fef481589273791c2d2b924dd9ce2fb5b434"
            },
            "downloads": -1,
            "filename": "BasicTextMetrics-0.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "b65be232aba08e1083e60d99de212f4d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 3574,
            "upload_time": "2024-02-28T13:32:17",
            "upload_time_iso_8601": "2024-02-28T13:32:17.279381Z",
            "url": "https://files.pythonhosted.org/packages/ce/49/8f36455cbbc00999a7bca5890db7c3fed60cd7b7c044e9ccded1fa35f87c/BasicTextMetrics-0.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-28 13:32:17",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "famosamuyiwa",
    "github_project": "TextMetrics",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "basictextmetrics"
}
        
Elapsed time: 0.51123s