Petrovich-Kotlin is library which inflects Russian names to given grammatical case. It supports first names, last names and middle names inflections.
Petrovich-Kotlin is Kotlin implementation of Petrovich ruby gem.
P.S. Most code was ported from NPetrovich. But maybe I rewrite it better. And now we have what we have.
Just reference Petrovich-Kotlin jar to your project.
You can use default rules.yml
included into jar or specify the path to you rules.
Coming soon
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request
You can also support project by reporting issues or suggesting new features and improvements.
- Add documentation
- Add comments to the code
- Add tests