pinyin
Here are 199 public repositories matching this topic...
-
Updated
Jun 2, 2020 - Python
-
Updated
May 6, 2020 - Objective-C++
-
Updated
Jul 24, 2017 - Ruby
Thank you for the work on this library. A big and easy improvement to its usefulness is to prominently document that it currently performs a character-level translation, which is incorrect for many common words and sentences.
>>> from xpinyin import Pinyin
>>> p = Pinyin()
>>> p.get_pinyin(u"了解")
'le-jie'The output should be
'liao-jie'关于特殊名词
类似债券简称,比如“02进出04”,特殊名词比如“5G”,我发现在分词的时候会打散
-
Updated
Jun 5, 2019 - JavaScript
-
Updated
Sep 27, 2019 - JavaScript
-
Updated
Dec 6, 2019 - PHP
-
Updated
Nov 29, 2017 - Python
-
Updated
Aug 30, 2017 - JavaScript
-
Updated
Mar 29, 2020 - Python
-
Updated
Jul 10, 2019 - Python
-
Updated
Apr 8, 2019 - JavaScript
-
Updated
Jun 21, 2017 - C++
It would be great to have the ability to paste random Chinese text into a field/box as part of Syng and get a Chinese character frequency count upon clicking a button. This would allow to quickly identify the most important characters to learn from particular Chinese texts and to efficiently prepare for exams for any college student.
https://czielinski.github.io/hanzifreq/hanzifreq/output/freq
-
Updated
Apr 9, 2019 - C#
Improve this page
Add a description, image, and links to the pinyin topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the pinyin topic, visit your repo's landing page and select "manage topics."
测试分词结果
http://192.168.36.140:9200/1/_analyze?text=周大福&analyzer=pinyin_analyzer
tokens
0
token "zhou"
start_offset 0
end_offset 1
type "word"
position 0
1
token "zdf"
start_offset 0
end_offset 3
type "word"
position 0
2
token "da"
start_offset 1
end_offset 2
type "word"
position 1
3
token "fu"
start_offset 2
end_offset 3
type "word"
position 2
查询方式:
curl -XGE