vokativ 1.1.0 copy "vokativ: ^1.1.0" to clipboard
vokativ: ^1.1.0 copied to clipboard

A vokativ library for Dart language. Can take (fe)male Czech name and return its declension. Can also determine gender based on Czech name.

example/vokativ_example.dart

import 'package:vokativ/vokativ.dart';

void main() {
  // Vokativ for a male first name.
  print(Vokativ.getVokativ('David', capitalize: true)); // Davide

  // Vokativ for a female first name.
  print(Vokativ.getVokativ('Alena', capitalize: true)); // Aleno

  // Gender detection.
  print(Vokativ.isWoman('Alena')); // true
  print(Vokativ.isWoman('David')); // false
}
3
likes
160
points
113
downloads

Documentation

API reference

Publisher

verified publishersedlardavid.cz

Weekly Downloads

A vokativ library for Dart language. Can take (fe)male Czech name and return its declension. Can also determine gender based on Czech name.

Repository (GitHub)
View/report issues

Topics

#czech #vokativ #declension #names #gender

License

MIT (license)

More

Packages that depend on vokativ