PHP Classes
elePHPant
Icontem

Czech Name Declension: Convert Czech nouns and person names

Recommend this page to a friend!
  Info   View files Documentation   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2019-10-11 (5 hours ago) RSS 2.0 feedNot enough user ratingsTotal: 25 All time: 9,703 This week: 361Up
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
  Performance   Level  
Name: Peter Kahl <contact>
Classes: 37 packages by
Country: United Kingdom United Kingdom
Innovation award
Innovation award
Nominee: 23x

Winner: 2x

 

Details

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  
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  /  src  
File Role Description
  Plain text file CzechNameDeclension.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:25
This week:0
All time:9,703
This week:361Up