jyutping 0.1.2 copy "jyutping: ^0.1.2" to clipboard
jyutping: ^0.1.2 copied to clipboard

A chinese character to jyutping package for Dart developers.

Jyutping for Flutter #

Version: 0.1.2 #

A flutter package for converting written Cantonese characters to Jyutping.

License: MIT

Pub #

dependencies:
  jyutping: ^0.1.2  #latest version

Example #

import 'package:jyutping/src/jyutping_helper.dart';

//getJyutpingAsString(Cantonese character, Retrieves a list of Jyutping if there's multiple conversions)

String testJyutping = JyutpingHelper.getJyutpingAsString("你",false);

//nei5
print(testJyutping);

String testMultiJyutping = JyutpingHelper.getJyutpingAsString("你",true);

//[nei5,lei5]
print(testMultiJyutping);

//getWholeJyutpingPhrase(Cantonese phrase, Retrieves a list of Jyutping if there's multiple conversions)

String testWholeJyutpingPhrase = JyutpingHelper.getWholeJyutpingPhrase("你好吗",false);

//[nei5,hou2,maa1]
print(testWholeJyutpingPhrase);

Acknowledgements #

Developer/s

  • Devon Crebbin

The Jyutping Flutter package uses data from the Jyutping Table project

The Linguistic Society of Hong Kong

Jyutping Table Acknowledgements:

  • Dr Chaak-ming Lau
  • Dr Cheung Kwan Hin (PolyU)
  • Prof Lu Qin (PolyU)
  • Jyutping Workgroup, LSHK
  • Nathan Hammond (@nathanhammond)

Jyutping Table Repository (By LSHK)

2
likes
140
points
48
downloads

Publisher

verified publisherartvuu.group

Weekly Downloads

A chinese character to jyutping package for Dart developers.

Homepage
Repository (GitHub)
View/report issues

Topics

#language #cantonese

Documentation

API reference

License

MIT (license)

More

Packages that depend on jyutping