pinyindart 0.0.1 copy "pinyindart: ^0.0.1" to clipboard
pinyindart: ^0.0.1 copied to clipboard

Chinese pinyin conversion for Dart and Flutter with tone, polyphone, reverse lookup, and frequency support.

example/pinyindart_example.dart

import 'package:pinyindart/pinyindart.dart';

void main() {
  print(getPinyin('中国'));
  print(getPinyin('中国', withTone: false));
  print(getPinyin('重庆', polyphone: true));
  print(getFirstLetter('中华人民共和国'));
  print(getPinyinAll('大夫'));
  print(getHanzi('zhong'));
}
0
likes
155
points
359
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Chinese pinyin conversion for Dart and Flutter with tone, polyphone, reverse lookup, and frequency support.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

archive

More

Packages that depend on pinyindart