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.0.tar.gz (3.7 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for pynyol-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ef86b6954a04e965929a0a2d2d5b9ae94729abd9fbfa6dc71de26834b3771e71
MD5 01efc60c209a76795db9b461b10409e8
BLAKE2b-256 7b96481456116a5b974762696f51b602958e51b124becaa75c22222e42c6595b

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