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.
El paquete se encuentra en estado de Planeación
. Revisar Classifiers.
Su repositorio es ElotlMX/elotl_pkg en GitHub.
Su licencia es 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
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 Distribution
elotl-0.0.1.tar.gz
(2.4 kB
view hashes)
Built Distribution
elotl-0.0.1-py3-none-any.whl
(8.5 kB
view hashes)