{"id":13398641,"url":"https://github.com/sloria/TextBlob","last_synced_at":"2025-03-14T02:31:30.612Z","repository":{"id":9251992,"uuid":"11075275","full_name":"sloria/TextBlob","owner":"sloria","description":"Simple, Pythonic, text processing--Sentiment analysis, part-of-speech tagging, noun phrase extraction, translation, and more.","archived":false,"fork":false,"pushed_at":"2024-10-28T23:05:39.000Z","size":7950,"stargazers_count":9134,"open_issues_count":112,"forks_count":1151,"subscribers_count":262,"default_branch":"dev","last_synced_at":"2024-10-29T11:28:04.344Z","etag":null,"topics":["natural-language-processing","nlp","nltk","pattern","python","python-3"],"latest_commit_sha":null,"homepage":"https://textblob.readthedocs.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sloria.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.rst","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-06-30T18:29:18.000Z","updated_at":"2024-10-29T03:34:50.000Z","dependencies_parsed_at":"2022-07-10T17:47:27.265Z","dependency_job_id":"1ae03d34-8032-4065-9875-d9b5d944f38b","html_url":"https://github.com/sloria/TextBlob","commit_stats":{"total_commits":533,"total_committers":36,"mean_commits":"14.805555555555555","dds":"0.29831144465290804","last_synced_commit":"df8033d7a19e71946e881b4da9db2746ac45674d"},"previous_names":[],"tags_count":41,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sloria%2FTextBlob","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sloria%2FTextBlob/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sloria%2FTextBlob/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sloria%2FTextBlob/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sloria","download_url":"https://codeload.github.com/sloria/TextBlob/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243511660,"owners_count":20302595,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["natural-language-processing","nlp","nltk","pattern","python","python-3"],"created_at":"2024-07-30T19:00:29.810Z","updated_at":"2025-03-14T02:31:30.037Z","avatar_url":"https://github.com/sloria.png","language":"Python","readme":"\nTextBlob: Simplified Text Processing\n====================================\n\n.. image:: https://badgen.net/pypi/v/TextBlob\n    :target: https://pypi.org/project/textblob/\n    :alt: Latest version\n\n.. image:: https://github.com/sloria/TextBlob/actions/workflows/build-release.yml/badge.svg\n    :target: https://github.com/sloria/TextBlob/actions/workflows/build-release.yml\n    :alt: Build status\n\n\nHomepage: `https://textblob.readthedocs.io/ \u003chttps://textblob.readthedocs.io/\u003e`_\n\n`TextBlob` is a Python library for processing textual data. It provides a simple API for diving into common natural language processing (NLP) tasks such as part-of-speech tagging, noun phrase extraction, sentiment analysis, classification, and more.\n\n\n.. code-block:: python\n\n    from textblob import TextBlob\n\n    text = \"\"\"\n    The titular threat of The Blob has always struck me as the ultimate movie\n    monster: an insatiably hungry, amoeba-like mass able to penetrate\n    virtually any safeguard, capable of--as a doomed doctor chillingly\n    describes it--\"assimilating flesh on contact.\n    Snide comparisons to gelatin be damned, it's a concept with the most\n    devastating of potential consequences, not unlike the grey goo scenario\n    proposed by technological theorists fearful of\n    artificial intelligence run rampant.\n    \"\"\"\n\n    blob = TextBlob(text)\n    blob.tags  # [('The', 'DT'), ('titular', 'JJ'),\n    #  ('threat', 'NN'), ('of', 'IN'), ...]\n\n    blob.noun_phrases  # WordList(['titular threat', 'blob',\n    #            'ultimate movie monster',\n    #            'amoeba-like mass', ...])\n\n    for sentence in blob.sentences:\n        print(sentence.sentiment.polarity)\n    # 0.060\n    # -0.341\n\n\nTextBlob stands on the giant shoulders of `NLTK`_ and `pattern`_, and plays nicely with both.\n\nFeatures\n--------\n\n- Noun phrase extraction\n- Part-of-speech tagging\n- Sentiment analysis\n- Classification (Naive Bayes, Decision Tree)\n- Tokenization (splitting text into words and sentences)\n- Word and phrase frequencies\n- Parsing\n- `n`-grams\n- Word inflection (pluralization and singularization) and lemmatization\n- Spelling correction\n- Add new models or languages through extensions\n- WordNet integration\n\nGet it now\n----------\n::\n\n    $ pip install -U textblob\n    $ python -m textblob.download_corpora\n\nExamples\n--------\n\nSee more examples at the `Quickstart guide`_.\n\n.. _`Quickstart guide`: https://textblob.readthedocs.io/en/latest/quickstart.html#quickstart\n\n\nDocumentation\n-------------\n\nFull documentation is available at https://textblob.readthedocs.io/.\n\nProject Links\n-------------\n\n- Docs: https://textblob.readthedocs.io/\n- Changelog: https://textblob.readthedocs.io/en/latest/changelog.html\n- PyPI: https://pypi.python.org/pypi/TextBlob\n- Issues: https://github.com/sloria/TextBlob/issues\n\nLicense\n-------\n\nMIT licensed. See the bundled `LICENSE \u003chttps://github.com/sloria/TextBlob/blob/master/LICENSE\u003e`_ file for more details.\n\n.. _pattern: https://github.com/clips/pattern/\n.. _NLTK: http://nltk.org/\n","funding_links":[],"categories":["NLP","Natural Language Processing","Python","其他_NLP自然语言处理","文本数据和NLP","📚 فهرست","Awesome Python","Uncategorized"],"sub_categories":["Analysis","General Purpose NLP","其他_文本生成、文本对话","هوش مصنوعی و NLP","Natural Language Processing","Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsloria%2FTextBlob","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsloria%2FTextBlob","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsloria%2FTextBlob/lists"}