pinyin_split 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/README.md +26 -0
  2. metadata +46 -0
@@ -0,0 +1,26 @@
1
+ 拼音分割 or 拼音分词
2
+ ======
3
+
4
+ 用来把没有空格的拼音字符串分割成有空格的拼音字符串。
5
+
6
+ ```
7
+ Example:
8
+ >> PinyinSplit.split("wolegequ")
9
+ => wo le ge qu
10
+
11
+ Arguments:
12
+ source: (String)
13
+
14
+ Example:
15
+ >> PinyinSplit.splitArray("wolegequ")
16
+ => ["wo","le","ge","qu"]
17
+
18
+ Arguments:
19
+ source: (String)
20
+ ```
21
+
22
+ 感谢python版本
23
+ ====
24
+ [http://download.csdn.net/download/shuihudiepaul/1859483](http://download.csdn.net/download/shuihudiepaul/1859483)
25
+
26
+
metadata ADDED
@@ -0,0 +1,46 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pinyin_split
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Liber Liu
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-11-12 00:00:00.000000000 Z
13
+ dependencies: []
14
+ description: A Gem for split Chinese Pinyin without space
15
+ email: llb0536@gmail.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files:
19
+ - README.md
20
+ files:
21
+ - README.md
22
+ homepage: https://github.com/llb0536/PinyinSplit
23
+ licenses: []
24
+ post_install_message:
25
+ rdoc_options: []
26
+ require_paths:
27
+ - lib
28
+ required_ruby_version: !ruby/object:Gem::Requirement
29
+ none: false
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ required_rubygems_version: !ruby/object:Gem::Requirement
35
+ none: false
36
+ requirements:
37
+ - - ! '>='
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ requirements: []
41
+ rubyforge_project:
42
+ rubygems_version: 1.8.24
43
+ signing_key:
44
+ specification_version: 3
45
+ summary: PinyinSplit
46
+ test_files: []