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
File details
Details for the file pynyol-0.1.2.tar.gz.
File metadata
- Download URL: pynyol-0.1.2.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0318aa50b7d2a75ea9da19820c90b622a05d35db54afdbe5d3d764e15fbbaae2
|
|
| MD5 |
6a06b8896106371b21aed9e470d59b4f
|
|
| BLAKE2b-256 |
a9fec93eb59e5f78d6834e0b2f8000e3fda7e8c687a2c3c954d17e6802037223
|