Paquete para PLN de lenguas originarias
Project description
Elotl Package
Paquete de Python3 con algoritmos e implementaciones de la comunidad Elotl para PLN de lenguas originaria.
- Paquete en estado de
Planeación
. Revisar Classifiers - Repositorio de desarrollo: ElotlMX/elotl_pkg
- Paquete en pip: elotl
- Licencia: Mozilla Public License 2.0 (MPL 2.0)
Uso
Importar por separado
>>> import elotl
>>> import elotl.nahuatl
>>> import elotl.otomi
>>> import elotl.wixarika
>>> elotl.test()
'Test paquete elotl satisfactorio'
>>> elotl.nahuatl.test()
'Test subpaquete elotl-nahuatl satisfactorio'
>>> elotl.otomi.test()
'Test subpaquete elotl-otomi satisfactorio'
>>> elotl.wixarika.test()
'Test subpaquete elotl-wixarika satisfactorio'
Importar todo
>>> from elotl import *
>>> nahuatl.test()
'Test subpaquete elotl-nahuatl satisfactorio'
>>> otomi.test()
'Test subpaquete elotl-otomi satisfactorio'
>>> wixarika.test()
'Test subpaquete elotl-wixarika satisfactorio'
Estructura del paquete
La siguiente estructura es una referencia. Conforme el paquete crezca se ira documentando mejor.
elotl/ Top-level package
__init__.py Inicializar el paquete
nahuatl/ Subpaquete para el idioma nahuatl
__init__.py
corpus.py
stemmer.py
...
otomi/ Subpaquete para el idioma otomi
__init__.py
corpus.py
stemmer.py
...
wixarika/ Subpaquete para el idioma wixarika
__init__.py
corpus.py
stemmer.py
...
Desarrollo
Crear un entorno virtual y activarlo.
virtualenv --python=/usr/bin/python3 elotl-venv
source elotl-venv/bin/activate
Actualizar pip
y generar archivos de distribución.
python -m pip install --upgrade pip
python -m pip install --upgrade setuptools wheel
python setup.py clean sdist bdist_wheel
Instalar el paquete local
pip install -e .
Enviar a PyPI
pip install twine
twine upload dist/*
Referencias
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.