scws4r 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f35634967bfc1105d2a014dc66399455e821a4de9e9f7f47fe805711f20239f
4
- data.tar.gz: 608912dbd14c16576e1dd14465a5beea562e677a6e37b075465d2fe6b4262804
3
+ metadata.gz: b20b0a5950448e0061e169b8392c61a6107c6441971c9f7df0257124d7f82fa5
4
+ data.tar.gz: bfe2742bedbd640351903476b74d1e055182089b2bdf1d92119cf5961700559d
5
5
  SHA512:
6
- metadata.gz: a176641cdf8518528591e5e11f803d6d99cd0cb7087af6a2830771436e45cea0b68c383dd7321abe2f1c8e7f996df436f13d58b8c3357086ac70d708100c799e
7
- data.tar.gz: 26963a99702b3e1cfe82b81edf0400155fbfe3b8639633ad25902e7b221046d366200e4b7d951c0f7a72d2d077825786aa5a444cc8ef74931a8eed3977a96550
6
+ metadata.gz: 605d6bbe6eb4978adf339402decf7d8fd4b736a5578639dad5cce0912fb024cb0c113c883e9ff066e196f02c86d0510f5053f7523a6b693200a253da199724a0
7
+ data.tar.gz: b2aa4ed01de53458b1a5992f861ddc35e746ef6b259e2ecdaf4d8af88fa999e135bd50ffce152fcd1f2143a4b98e82a8e5a9279a963c7d40a0376b2e2e9384b8
data/ext/scws4r/scws4r.c CHANGED
@@ -83,7 +83,7 @@ static VALUE
83
83
  rb_scws_set_ignore(VALUE self, VALUE r_yes){
84
84
  struct rb_scws_malloc *ptr;
85
85
  Data_Get_Struct(self, struct rb_scws_malloc, ptr);
86
- scws_set_rule(ptr->engine, RTEST(r_yes) ? 1 : 0);
86
+ scws_set_ignore(ptr->engine, RTEST(r_yes) ? 1 : 0);
87
87
  }
88
88
 
89
89
  static VALUE
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class Scws4r
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scws4r
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - xiaohui
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-26 00:00:00.000000000 Z
11
+ date: 2024-06-13 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: With SCWS to split Chinese sentences
14
14
  email:
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  requirements: []
84
- rubygems_version: 3.3.7
84
+ rubygems_version: 3.4.19
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: Integrate (SCWS) Simple Chinese Word Segmentation C lib