col-spanish


Namecol-spanish JSON
Version 0.0.3 PyPI version JSON
download
home_pagehttps://github.com/sergioasb8/col-spanish
SummaryFunctions that help to work with text in spanish (Colombia)
upload_time2022-12-07 20:40:18
maintainer
docs_urlNone
authorSergio Sosa Bautista
requires_python>=3,<4
licenseMIT
keywords spanish nlp colombia text-normalization
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # col-spanish
A collection of tools to work with text write in Spanish (Colombia)


### Purpose of the Package
The purpose of the package is to create a group of functions that help to work with text in spanish, to be more accurate with spanish from Colombia.

### Features
+ normalization functions:
    - delete punctuation marks
    - delete accents

### Geting Started
The package can be found in Pypi, hence you can install it using pip
```bash
pip install col_spanish
```

### Usage
Using the normalization function to remove punctuation marks
```python
>>> from col_spanish import del_punctuation
>>> del_punctuation('Hola, ¿cómo estas? ¡bien!')
```

Using the normalization function to remove accents
```python
>>> from col_spanish import del_accent
>>> del_accent('el día sábado quiero más comida!')
```

### Examples
```python
>>> from col_spanish import del_punctuation

>>> del_punctuation('Hola, ¿cómo estas? ¡bien!')
Hola cómo estas bien

>>> text = "Hola, ¿cómo estas? ¡bien!"
>>> normalized_text = del_punctuation(text)
>>> normalized_text
Hola cómo estas bien
```

```python
>>> from col_spanish import del_accent

>>> del_accent('el día sábado quiero más comida!')
el dia sabado quiero mas comida!

>>> text = "el día sábado quiero más comida!"
>>> normalized_text = del_accent(text)
>>> normalized_text
el dia sabado quiero mas comida!
```

### Contribution
Contributions are welcolme.
If you notice a bug let us know, thanks!

### Author
+ Main maintainer: Sergio A. Sosa Bautista (@sergioasb8)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/sergioasb8/col-spanish",
    "name": "col-spanish",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3,<4",
    "maintainer_email": "",
    "keywords": "spanish,nlp,colombia,text-normalization",
    "author": "Sergio Sosa Bautista",
    "author_email": "sergioasb@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/1c/2f/8714c34ffecd5fe42f4a1ba6bc540b6eae00e3e5b468cbcb61fe6eca703c/col_spanish-0.0.3.tar.gz",
    "platform": null,
    "description": "# col-spanish\nA collection of tools to work with text write in Spanish (Colombia)\n\n\n### Purpose of the Package\nThe purpose of the package is to create a group of functions that help to work with text in spanish, to be more accurate with spanish from Colombia.\n\n### Features\n+ normalization functions:\n    - delete punctuation marks\n    - delete accents\n\n### Geting Started\nThe package can be found in Pypi, hence you can install it using pip\n```bash\npip install col_spanish\n```\n\n### Usage\nUsing the normalization function to remove punctuation marks\n```python\n>>> from col_spanish import del_punctuation\n>>> del_punctuation('Hola, \u00bfc\u00f3mo estas? \u00a1bien!')\n```\n\nUsing the normalization function to remove accents\n```python\n>>> from col_spanish import del_accent\n>>> del_accent('el d\u00eda s\u00e1bado quiero m\u00e1s comida!')\n```\n\n### Examples\n```python\n>>> from col_spanish import del_punctuation\n\n>>> del_punctuation('Hola, \u00bfc\u00f3mo estas? \u00a1bien!')\nHola c\u00f3mo estas bien\n\n>>> text = \"Hola, \u00bfc\u00f3mo estas? \u00a1bien!\"\n>>> normalized_text = del_punctuation(text)\n>>> normalized_text\nHola c\u00f3mo estas bien\n```\n\n```python\n>>> from col_spanish import del_accent\n\n>>> del_accent('el d\u00eda s\u00e1bado quiero m\u00e1s comida!')\nel dia sabado quiero mas comida!\n\n>>> text = \"el d\u00eda s\u00e1bado quiero m\u00e1s comida!\"\n>>> normalized_text = del_accent(text)\n>>> normalized_text\nel dia sabado quiero mas comida!\n```\n\n### Contribution\nContributions are welcolme.\nIf you notice a bug let us know, thanks!\n\n### Author\n+ Main maintainer: Sergio A. Sosa Bautista (@sergioasb8)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Functions that help to work with text in spanish (Colombia)",
    "version": "0.0.3",
    "split_keywords": [
        "spanish",
        "nlp",
        "colombia",
        "text-normalization"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "9fd4516ef9b12af43e73abab9711e2da",
                "sha256": "914aaa08a447e52d2e6a428292ab7ac8cd64844980d405973b78ceaa91e2f4d7"
            },
            "downloads": -1,
            "filename": "col_spanish-0.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9fd4516ef9b12af43e73abab9711e2da",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3,<4",
            "size": 3596,
            "upload_time": "2022-12-07T20:40:16",
            "upload_time_iso_8601": "2022-12-07T20:40:16.476685Z",
            "url": "https://files.pythonhosted.org/packages/49/ae/35663d32134965094bdb9e05a136f003d0e8d61f77a72f5cf3a9dc2a6a34/col_spanish-0.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "ed584315b5546ff447671cfe89f70026",
                "sha256": "79decaeedecacac0b6c002dd89d893c236c9ce61537e6ef5a132a2b5106bb805"
            },
            "downloads": -1,
            "filename": "col_spanish-0.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "ed584315b5546ff447671cfe89f70026",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3,<4",
            "size": 3413,
            "upload_time": "2022-12-07T20:40:18",
            "upload_time_iso_8601": "2022-12-07T20:40:18.618842Z",
            "url": "https://files.pythonhosted.org/packages/1c/2f/8714c34ffecd5fe42f4a1ba6bc540b6eae00e3e5b468cbcb61fe6eca703c/col_spanish-0.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-07 20:40:18",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "sergioasb8",
    "github_project": "col-spanish",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "col-spanish"
}
        
Elapsed time: 0.02022s