Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
wapmorgan committed Aug 10, 2017
1 parent e2e3437 commit 702dd13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ composer require wapmorgan/morphos
## Quick Start
- Russian:
```php
// Decline russian names:
// Inflect russian names:
morphos\Russian\inflectName('Иванов Петр', 'родительный') => 'Иванова Петра'

// Decline geographical names:
// Inflect geographical names:
morphos\Russian\GeographicalNamesInflection::getCase('Москва', 'родительный') => 'Москвы'

// Pluralize russian nouns:
morphos\Russian\pluralize('дом', 10) => '10 домов'
morphos\Russian\pluralize(10, 'дом') => '10 домов'

// Generate russian cardinal numerals:
morphos\Russian\CardinalNumeralGenerator::getCase(567, 'именительный') => 'пятьсот шестьдесят семь'
Expand Down

0 comments on commit 702dd13

Please sign in to comment.