Skip to content
Miscellania
PHP
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
conv.php
loc.php
pup.php
readme.md

readme.md

Misc stuff, I've acquired over the years

This repository contains miscellania, I've done or acquired over the years.

Inflection of Latvian nouns

loc.php contains code (old as the world, of course), which can inflect Latvian nouns, given their nominative case in singular, and gender. It has its exceptions and shortcomings, but go ahead - fork it and throw a pull request at me.

Pupiņvaloda

Script pup.php converts Latvian text to so called "pupiņvaloda". It has simple rules, but helps children to train diction and thinking, since they have to know how to split a word into syllables and memorize last one on the go, to prepend it with "p".

Transliteration

conv.php provides dumb transliteration and detransliteration of Latvian text. It does try to keep capitalization intact while converting. Also, it has a list of some common exceptions ( sheema should become shēma, not šēma, etc).

You can’t perform that action at this time.