2017 © Pedro Peláez
 

library inflection

Czech inflection library

image

mikulas/inflection

Czech inflection library

  • Sunday, October 4, 2015
  • by Mikulas
  • Repository
  • 5 Watchers
  • 29 Stars
  • 21,426 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 14 Forks
  • 0 Open issues
  • 2 Versions
  • 7 % Grown

The README.md

Czech inclension (declension), české skloňování

This extension should provide same functionality and API as this PHP extension. Do note however that c extension performs way better., (*1)

Usage

Install with composer:, (*2)

composer require mikulas/inflection
<?php

require_once __DIR__ . '/vendor/autoload.php';

$inflection = new Inflection();
$inflected = $inflection->inflect('kožená bunda');

echo "Natrhnul jsem si $inflected[4]";
// Natrhnul jsem si koženou bundu

echo "$inflected[8] jsou nejlepší";
// kožené bundy jsou nejlepší

Based on original work by Pavel Sedlák, Tomáš Režnar and Heureka., (*3)

This library is about 6 times faster then Heureka implementation and 9 times faster then the original implementation., (*4)

  • http://prirucka.ujc.cas.cz/
  • http://www.pteryx.net/sklonovani.html
  • https://en.wikipedia.org/wiki/Czech_declension
  • https://en.wikipedia.org/wiki/Grammatical_gender

License

GPL 2.1, (*5)

The Versions

04/10 2015

dev-master

9999999-dev

Czech inflection library

  Sources   Download

GPL-2.1

The Requires

  • php >=5.4.0

 

The Development Requires

by Mikuláš Dítě
by Avatar heureka
by Pavel Sedlák

language inflection declension linguistics czech

26/12 2014

v1.0

1.0.0.0

Czech inflection library

  Sources   Download

GPL-2.1

The Requires

  • php >=5.4.0

 

by Mikuláš Dítě
by Avatar heureka
by Pavel Sedlák

language inflection declension linguistics czech