decat


Namedecat JSON
Version 1.0.3 PyPI version JSON
download
home_pagehttps://github.com/sudoMode/Decat
SummaryDe-concatenate strings that do not have white-spaces.
upload_time2023-05-06 19:42:34
maintainer
docs_urlNone
authorMandeep Singh
requires_python>=3.6
licenseMIT
keywords nlp text mining
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Decat
```python
thisisawesome --> ['this', 'is', 'awesome']
```
---

[comment]: <> (badges 1)
<p align="center">
    <a href="#">
        <img src="https://forthebadge.com/images/badges/made-with-python.svg"/>
    </a>
    <a href="#">
        <img src="https://forthebadge.com/images/badges/60-percent-of-the-time-works-every-time.svg"/>
    </a>
    <a href="#">
        <img src="https://forthebadge.com/images/badges/open-source.svg"/>
    </a>
    <a href="#">
        <img src="https://forthebadge.com/images/badges/built-with-love.svg"/>
    </a>
</p>

---

[comment]: <> (badges 2)
<p align="center">
    <a href="https://www.codefactor.io/repository/github/sudomode/decat">
        <img src="https://img.shields.io/codefactor/grade/github/sudomode/decat/master?style=for-the-badge"/>
    </a>
    <a href="#">
        <img src="https://img.shields.io/github/v/release/sudomode/decat?style=for-the-badge"/>
    </a>
    <a href="#">
        <img src="https://img.shields.io/github/languages/code-size/sudomode/decat?style=for-the-badge"/>
    </a>
    <a href="#">
        <img src="https://img.shields.io/github/license/sudomode/decat?color=rgb%28100%2C%20150%2C%20150%29&style=for-the-badge"/>
    </a>
</p>

---


[comment]: <> (Into)
***Decat*** is a Python package capable of de-concatenating strings that do not have 
white-spaces in them, or in other words, it allows the user to infer spaces 
programmatically. This is a simple utility that comes in handy with various modern 
Natural Language Processing(NLP) tasks such as cleaning, exploration or even manipulation 
of text. [Zipf's Law](https://en.wikipedia.org/wiki/Zipf%27s_law) is 
at the 
core of this 
project, the aim is to provide an easy interface for programmers to extract meaningful 
information out of deformed pieces of texts.


## Get Started
> ### Install It
>>```python
>> >> pip install decat
>>```
> ### Play With It
>>```python
>> >> decat -i someweirdtext
>> >> ['some', 'weird', 'text']
>>```
>> or
>>```python
>> >> python -m decat -i justanotherstring
>> >> ['just', 'another', 'string']
>>```
> ### Use It In Your Projects
>> #### _Sample Code_
>>> ```python
>>> from decat import decat
>>> 
>>> 
>>> weird_text = '“AnyfoolcanwritecodethatacomputercanunderstandGoodprogrammerswritecodethathumanscanunderstand.”–MartinFowler'
>>> weird_text_simplified = decat(weird_text)
>>> print(weird_text_simplified)
>>>```
>> #### _Console_
>>> ['any', 'fool', 'can', 'write', 'code', 'that', 'a', 'computer', 'can', 
 'understand', 'good', 'programmers', 'write', 'code', 'that', 'humans', 'can', 
 'understand', 'martin', 'fowler'] 

## Features
>> 🪶 A light weight package, built around the features available in standard library
>
>> 📚 An ever-expanding vocabulary, knows more than 300K English words
> 
>> 🪃 Simplistic design, allows for easy expansion to new languages and custom vocabulary sets

## Dependencies
> ⭕️ ___None___ 🎉

## Limitations
> ❗ Requires Python >= 3.6
> 
> ❗ ️All input will be treated as lower-case
>>```python
>> >> ATitleCaseString --> ['a', 'title', 'case', 'string']
>>```
> ❗️ Punctuation marks, numbers and special characters will be stripped from the input and
> will not be preserved in the output
>>```python
>> >>  dummy.email1234@gmail.com --> ['dummy', 'email', 'gmail', 'com']
>>```


## License
> ### MIT

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/sudoMode/Decat",
    "name": "decat",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "nlp,text mining",
    "author": "Mandeep Singh",
    "author_email": "singh.mandeep22207@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/65/89/15fcb3572e7ba49f98dc15ceb83108e5a85b5d6c286e4271a1c9b2bb3a8a/decat-1.0.3.tar.gz",
    "platform": null,
    "description": "# Decat\n```python\nthisisawesome --> ['this', 'is', 'awesome']\n```\n---\n\n[comment]: <> (badges 1)\n<p align=\"center\">\n    <a href=\"#\">\n        <img src=\"https://forthebadge.com/images/badges/made-with-python.svg\"/>\n    </a>\n    <a href=\"#\">\n        <img src=\"https://forthebadge.com/images/badges/60-percent-of-the-time-works-every-time.svg\"/>\n    </a>\n    <a href=\"#\">\n        <img src=\"https://forthebadge.com/images/badges/open-source.svg\"/>\n    </a>\n    <a href=\"#\">\n        <img src=\"https://forthebadge.com/images/badges/built-with-love.svg\"/>\n    </a>\n</p>\n\n---\n\n[comment]: <> (badges 2)\n<p align=\"center\">\n    <a href=\"https://www.codefactor.io/repository/github/sudomode/decat\">\n        <img src=\"https://img.shields.io/codefactor/grade/github/sudomode/decat/master?style=for-the-badge\"/>\n    </a>\n    <a href=\"#\">\n        <img src=\"https://img.shields.io/github/v/release/sudomode/decat?style=for-the-badge\"/>\n    </a>\n    <a href=\"#\">\n        <img src=\"https://img.shields.io/github/languages/code-size/sudomode/decat?style=for-the-badge\"/>\n    </a>\n    <a href=\"#\">\n        <img src=\"https://img.shields.io/github/license/sudomode/decat?color=rgb%28100%2C%20150%2C%20150%29&style=for-the-badge\"/>\n    </a>\n</p>\n\n---\n\n\n[comment]: <> (Into)\n***Decat*** is a Python package capable of de-concatenating strings that do not have \nwhite-spaces in them, or in other words, it allows the user to infer spaces \nprogrammatically. This is a simple utility that comes in handy with various modern \nNatural Language Processing(NLP) tasks such as cleaning, exploration or even manipulation \nof text. [Zipf's Law](https://en.wikipedia.org/wiki/Zipf%27s_law) is \nat the \ncore of this \nproject, the aim is to provide an easy interface for programmers to extract meaningful \ninformation out of deformed pieces of texts.\n\n\n## Get Started\n> ### Install It\n>>```python\n>> >> pip install decat\n>>```\n> ### Play With It\n>>```python\n>> >> decat -i someweirdtext\n>> >> ['some', 'weird', 'text']\n>>```\n>> or\n>>```python\n>> >> python -m decat -i justanotherstring\n>> >> ['just', 'another', 'string']\n>>```\n> ### Use It In Your Projects\n>> #### _Sample Code_\n>>> ```python\n>>> from decat import decat\n>>> \n>>> \n>>> weird_text = '\u201cAnyfoolcanwritecodethatacomputercanunderstandGoodprogrammerswritecodethathumanscanunderstand.\u201d\u2013MartinFowler'\n>>> weird_text_simplified = decat(weird_text)\n>>> print(weird_text_simplified)\n>>>```\n>> #### _Console_\n>>> ['any', 'fool', 'can', 'write', 'code', 'that', 'a', 'computer', 'can', \n 'understand', 'good', 'programmers', 'write', 'code', 'that', 'humans', 'can', \n 'understand', 'martin', 'fowler'] \n\n## Features\n>> \ud83e\udeb6 A light weight package, built around the features available in standard library\n>\n>> \ud83d\udcda An ever-expanding vocabulary, knows more than 300K English words\n> \n>> \ud83e\ude83 Simplistic design, allows for easy expansion to new languages and custom vocabulary sets\n\n## Dependencies\n> \u2b55\ufe0f ___None___ \ud83c\udf89\n\n## Limitations\n> \u2757 Requires Python >= 3.6\n> \n> \u2757 \ufe0fAll input will be treated as lower-case\n>>```python\n>> >> ATitleCaseString --> ['a', 'title', 'case', 'string']\n>>```\n> \u2757\ufe0f Punctuation marks, numbers and special characters will be stripped from the input and\n> will not be preserved in the output\n>>```python\n>> >>  dummy.email1234@gmail.com --> ['dummy', 'email', 'gmail', 'com']\n>>```\n\n\n## License\n> ### MIT\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "De-concatenate strings that do not have white-spaces.",
    "version": "1.0.3",
    "project_urls": {
        "Bug Tracker": "https://github.com/sudoMode/Decat/issues",
        "Homepage": "https://github.com/sudoMode/Decat",
        "Source": "https://github.com/sudoMode/Decat"
    },
    "split_keywords": [
        "nlp",
        "text mining"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c55ecf9290c0fe206fc29be4d30a734b6592d0d4b2fa2cd88fabaaa3a05a032b",
                "md5": "af491a9ec7dffa3967180a2b458cb66d",
                "sha256": "26d9aa8de3e310ccaa4c669b3a4d6e6175c5258886c7f8620d055631299b2956"
            },
            "downloads": -1,
            "filename": "decat-1.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "af491a9ec7dffa3967180a2b458cb66d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 2016447,
            "upload_time": "2023-05-06T19:42:27",
            "upload_time_iso_8601": "2023-05-06T19:42:27.878368Z",
            "url": "https://files.pythonhosted.org/packages/c5/5e/cf9290c0fe206fc29be4d30a734b6592d0d4b2fa2cd88fabaaa3a05a032b/decat-1.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "658915fcb3572e7ba49f98dc15ceb83108e5a85b5d6c286e4271a1c9b2bb3a8a",
                "md5": "5d8089595f2365e3cb9381ccca05d795",
                "sha256": "f4a3c894a0d9ed5282c5c567605ce6fea354afc39250f85db02800aa7a80ff8b"
            },
            "downloads": -1,
            "filename": "decat-1.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "5d8089595f2365e3cb9381ccca05d795",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 1981849,
            "upload_time": "2023-05-06T19:42:34",
            "upload_time_iso_8601": "2023-05-06T19:42:34.588087Z",
            "url": "https://files.pythonhosted.org/packages/65/89/15fcb3572e7ba49f98dc15ceb83108e5a85b5d6c286e4271a1c9b2bb3a8a/decat-1.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-06 19:42:34",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "sudoMode",
    "github_project": "Decat",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "decat"
}
        
Elapsed time: 0.07503s