PHP Classes

Czech Name Declension: Convert Czech nouns and person names

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 32 All time: 11,079 This week: 455Up
Version License PHP version Categories
czech-name-declensio 1.0Custom (specified...5Localization, PHP 5, Text processing
Description 

Author

This class can convert Czech nouns and person names.

It make take a noun or a person name and converts the names between genders.

The class can converte names with one or multiple words.

Innovation Award
PHP Programming Innovation award nominee
June 2017
Number 10
Declension is the process of changing the inflection of names gender, case or number.

It can be used to get the plural from singular, the feminine from the masculine, etc..

This class can convert a Czech name between genders.


Manuel Lemos
Picture of Peter Kahl
  Performance   Level  
Name: Peter Kahl <contact>
Classes: 37 packages by
Country: United Kingdom
Age: ???
All time rank: 41521 in United Kingdom
Week rank: 20 Up2 in United Kingdom Up
Innovation award
Innovation award
Nominee: 23x

Winner: 2x

Documentation

Czech Name Declension

Downloads License If this project has business value for you then don't hesitate to support me with a small donation.

Converts Czech nouns and persons' names to the requested declension.

Usage

use peterkahl\CzechNameDeclension\CzechNameDeclension;

echo CzechNameDeclension::getVocative('Antonín Dvo?ák');   # Antoníne Dvo?áku

echo CzechNameDeclension::getVocative('Bed?ich Smetana');  # Bed?ichu Smetano

echo CzechNameDeclension::getVocative('Old?i?ka');         # Old?i?ko

# Also works with nouns
echo CzechNameDeclension::getVocative('hrad');    # hrade

echo CzechNameDeclension::getVocative('pejsek');  # pejsku

echo CzechNameDeclension::getVocative('babi?ka'); # babi?ko

echo CzechNameDeclension::getVocative('milá?ek'); # milá?ku


  Files folder image Files (4)  
File Role Description
Files folder imagesrc (1 file)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files (4)  /  src  
File Role Description
  Plain text file CzechNameDeclension.php Class Class source

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:32
This week:0
All time:11,079
This week:455Up