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 Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page