Skip to main content

Package aimed at helping with processing the spanish language.

Project description

pynyol is the Python implementation of the Nyol package. This package is aimed at helping with processing the spanish language.

Each module inside the package provides help in a different area of language processing. These modules are:

#!/usr/bin/env python

from towelstuff import location from towelstuff import utils

if utils.has_towel():

print “Your towel is located:”, location.where_is_my_towel()

(Note the double-colon and 4-space indent formatting above.)

Paragraphs are separated by blank lines. Italics, bold, and monospace look like this.

Dictanum

Useful for getting the spelling of numbers. The spelling is handled by different parser whith different number ranges. This is one example for it:

#!/usr/bin/env python

from pynyol.dictanum import IntParser

mynum = #insert a number here

ip = IntParser(mynum)

print(f’the spelling for {mynum} in spanish is: {ip.text}’)

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

pynyol-0.1.3.tar.gz (6.4 kB view details)

Uploaded Source

File details

Details for the file pynyol-0.1.3.tar.gz.

File metadata

  • Download URL: pynyol-0.1.3.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for pynyol-0.1.3.tar.gz
Algorithm Hash digest
SHA256 2f97ca364c5a43e5fb02cce01f155b4a63f6e4eca31a14e3c29264648124722c
MD5 24d1ed59d766244c52154c6db3da0de4
BLAKE2b-256 845e9f9070a2374d0e3f9d8c87b044fef68462b617250c6268dbab380db26d1e

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