Popularity
3.5
Declining
Activity
0.0
Stable
17
2
6

Monthly Downloads: 8
Programming language: Elixir
License: Apache License 2.0
Tags: Text And Numbers    

pinyin alternatives and similar packages

Based on the "Text and Numbers" category.
Alternatively, view pinyin alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of pinyin or a related project?

Add another 'Text and Numbers' Package

README

Pinyin for Elixir

简单的汉字转拼音工具

Example:

iex(40)> Pinyin.pinyin "Elixir编程语言"
["Elixir", "biān", "chéng", "yǔ", "yán"]
iex(41)> Pinyin.letter "Elixir编程语言"
["Elixir", "bian", "cheng", "yu", "yan"]
iex(42)> Pinyin.letter_with_tone "Elixir编程语言"
["Elixir", "bian1", "cheng2", "yu3", "yan2"]
iex(43)> Pinyin.permlink "Elixir编程语言"
"Elixir-bian-cheng-yu-yan"
iex(44)>

thanks

The pinyin data library from ruby-pinyin project:

https://github.com/janx/ruby-pinyin