Skip to main content

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.

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


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.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

elotl-0.0.1.1-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file elotl-0.0.1.1-py3-none-any.whl.

File metadata

  • Download URL: elotl-0.0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.9

File hashes

Hashes for elotl-0.0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0d162c67cd9e32fa9b366379efd69cd579e9ecab60c651f1e6f5a094cb4762f5
MD5 092f392e7393ba21b8d78e23c7485ea8
BLAKE2b-256 eadec44b5bcd6bc6f023a79f519b8e6a8380e0183a0e96cc5c9574d8781e9114

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page