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.

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


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

Uploaded Source

Built Distribution

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

elotl-0.0.1-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file elotl-0.0.1.tar.gz.

File metadata

  • Download URL: elotl-0.0.1.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • 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.tar.gz
Algorithm Hash digest
SHA256 ebd1426498cbbd34c54ca13d14eb0a77e8dd4372ce089779561bae1cb6c83abd
MD5 87d2e680b0364f991f6d964d667bc78d
BLAKE2b-256 0b780b105fcf7ed7a912a3e5528babb33530fa89fb8e81fc9db1e6271032c14e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: elotl-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.5 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-py3-none-any.whl
Algorithm Hash digest
SHA256 c93a6e840508df4d5a5214c4c3252cc822a03e4041fca1a53218feea6085d185
MD5 a00f4b22e8a01ab7e84116dab3603d5f
BLAKE2b-256 d4d6a6e5371c11461c9009bf49bfeefa9dae6082d5d04ab4541c057685ee8a06

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