2017 © Pedro Peláez
 

library inflection

Czech inflection library

image

heureka/inflection

Czech inflection library

  • Wednesday, January 6, 2016
  • by heureka
  • Repository
  • 20 Watchers
  • 37 Stars
  • 11,311 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 14 Forks
  • 2 Open issues
  • 7 Versions
  • 10 % Grown

The README.md

Build Status, (*1)

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

This extension should provide same functionality and API as this PHP extension., (*2)

Usage

Install with composer:, (*3)

$ composer require heureka/inflection
<?php

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

$inflection = new Inflection();
$inflected = $inflection->inflect('vlastní píseček');

echo "Nebudu si hrát jen na $inflected[6], ale kopat za komunitu";
// Nebudu si hrát jen na vlastním písečku, ale kopat za komunitu

echo "$inflected[8] nejsou vždy to nejlepší";
// vlastní písečky nejsou vždy to nejlepší

Tests

$ docker build . -t inflection:latest
$ docker run --rm -ti inflection:latest composer exec phpunit tests

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

This library is about 6 times faster than first Heureka implementation and 9 times faster than the original implementation., (*5)

  • 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

LGPL v2.1, (*6)

Huge thanks mikulas for his great job with improvements., (*7)

The Versions

06/01 2016

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

06/01 2016

v2.0.4

2.0.4.0

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

08/10 2015

v2.0.3

2.0.3.0

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

30/09 2015

v2.0.2

2.0.2.0

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

22/06 2015

v2.0.1

2.0.1.0

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

19/06 2015

dev-small-fix-and-formating

dev-small-fix-and-formating

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

19/06 2015

2

2.0.0.0

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