Skip to main content

Making words

Project description

slovo (wip)

Slovo (slo-vo, Ukrainian for "word"). Tiny lib for making words into... well into something.

Examples

Creating Langauge Class Instance

from slovo import Word, Gender, Term


# New usage Class can be created via instantiation
class Castellano(Word):
  lang = "es"
print(Castellano("verde"))
>> (es) verde


# Or Using class methods
Eng = Word.constr("Eng", "en")
print(Eng("Hello"))
> (en) Hello

Combining Words

words = Eng("Hello")+Eng("There")
print(words, words.)
> (en) Hello There

TODO

....

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

slovo-2020.3.25.tar.gz (4.6 kB view hashes)

Uploaded Source

Supported by

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