Metadata-Version: 2.1
Name: col-spanish
Version: 0.0.3
Summary: Functions that help to work with text in spanish (Colombia)
Home-page: https://github.com/sergioasb8/col-spanish
License: MIT
Keywords: spanish,nlp,colombia,text-normalization
Author: Sergio Sosa Bautista
Author-email: sergioasb@gmail.com
Requires-Python: >=3,<4
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3
Project-URL: Repository, https://github.com/sergioasb8/col-spanish
Description-Content-Type: text/markdown

# 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)
