rmmseg-cpp-new 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -2
  3. data/ext/rmmseg/algor.h +2 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 095b5767f62f93950c7301b5f46fa53806fde7c7
4
- data.tar.gz: 4266abf79e855c719db2b379c7136dd2bb82f7be
3
+ metadata.gz: 47f52db78c26093af49d3b42a7d6626ed8303848
4
+ data.tar.gz: 5b8b07b7d4c7376a762699492e283c89d2638b88
5
5
  SHA512:
6
- metadata.gz: 0021bbb5a2f42e4455e9190bb50d67e137d664a6509ed54e5c4e3b08dd31c2ce9bf4b1803e7d96e66172d7ec17e679e91221e3ceaa26237378232934ac4a87b7
7
- data.tar.gz: e5da783044dad58617ce8e368ab4e50709a8f64237fc3934f0420a9b9b04a4afd34e7e6a937759ef497bf239182644306203709015815412fc235011240ca055
6
+ metadata.gz: 50a9f5025041f61887b7df9c1a2bca340ed7a2743d38aa6bf65f6469655d299146e723d1976396119b4739b08f2fa4c578fb510b8c90035c7b2fe423464867e6
7
+ data.tar.gz: 2d2d15ca97b57fb5df57d95618274a3ad4b55656137e354c70316f97f982fdf26f4feb8b919a315f97291defdcc4e8933ceb467d839814101049423e43e70b74
data/README.md CHANGED
@@ -1,3 +1,12 @@
1
- # rmmseg-cpp-new
1
+ rmmseg-cpp-new [![Gem Version][version-badge]][rubygems]
2
+ ==============
2
3
 
3
- Copy and rebuild the [rmmseg-cpp](https://github.com/pluskid/rmmseg-cpp): an re-implementation of rmmseg (Chinese word segmentation library for Ruby) in C++, with Windows support as well.
4
+
5
+ Copy and rebuild the [rmmseg-cpp](https://github.com/pluskid/rmmseg-cpp): an re-implementation of rmmseg (Chinese word segmentation library for Ruby) in C++, with modern [rake-compiler](https://github.com/rake-compiler/rake-compiler) and windows support.
6
+
7
+ Reason not implementing on original rmmseg-cpp see original [PR 4](https://github.com/pluskid/rmmseg-cpp/pull/4)
8
+
9
+ [PR](https://github.com/Eric-Guo/rmmseg-cpp-new/pulls) is welcome, although I'm not a native C++ developer.
10
+
11
+ [version-badge]: https://badge.fury.io/rb/rmmseg-cpp-new.svg
12
+ [rubygems]: https://rubygems.org/gems/rmmseg-cpp-new
@@ -46,7 +46,8 @@ namespace rmmseg
46
46
  int next_word();
47
47
  int next_char();
48
48
  std::vector<Word *> find_match_words();
49
- int max_word_length() { return 20; }
49
+ /* max word in dictionary is 8, larger than that is not necessory */
50
+ int max_word_length() { return 8; }
50
51
 
51
52
  const char *m_text;
52
53
  int m_pos;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rmmseg-cpp-new
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - pluskid
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2016-04-16 00:00:00.000000000 Z
14
+ date: 2016-04-18 00:00:00.000000000 Z
15
15
  dependencies: []
16
16
  description:
17
17
  email: