natto 1.1.2 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/LICENSE +1 -1
- data/lib/natto.rb +1 -1
- data/lib/natto/binding.rb +1 -1
- data/lib/natto/natto.rb +1 -2
- data/lib/natto/option_parse.rb +1 -1
- data/lib/natto/struct.rb +1 -1
- data/lib/natto/version.rb +2 -2
- metadata +8 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 969e7bfa9461300237a40dfa3a6a9a718a9a210f2cc544e2b8f30e67865a22be
|
4
|
+
data.tar.gz: 39d129bd04a6f23651653f1f12cea5d9b16173c4a47de89767a791fba45ff042
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a99befcc4ba58959fa595530c4072e34417852cdc2efb77900643fc078f5c2e4f6d0aef482b8569e4ac24dfbf7efa25ded4120579d206da8163ec19ce673081b
|
7
|
+
data.tar.gz: 3b1f723e4ccfa4ddfb85e1c9be69a3444e20b9dc06d4cfb01ee30f2bdfe7949995ceacebd4f65deb51fbcde5f5a44c09fc8dd9c6646c43a07675e89e9b824be0
|
data/LICENSE
CHANGED
data/lib/natto.rb
CHANGED
data/lib/natto/binding.rb
CHANGED
data/lib/natto/natto.rb
CHANGED
@@ -343,7 +343,6 @@ module Natto
|
|
343
343
|
}
|
344
344
|
|
345
345
|
@parse_tonodes = ->(text, constraints) {
|
346
|
-
self.mecab_lattice_add_request_type(@lattice, MECAB_LATTICE_NBEST)
|
347
346
|
Enumerator.new do |y|
|
348
347
|
begin
|
349
348
|
if @options[:nbest] && @options[:nbest] > 1
|
@@ -627,7 +626,7 @@ module Natto
|
|
627
626
|
class MeCabError < RuntimeError; end
|
628
627
|
end
|
629
628
|
|
630
|
-
# Copyright (c)
|
629
|
+
# Copyright (c) 2020, Brooke M. Fujita.
|
631
630
|
# All rights reserved.
|
632
631
|
#
|
633
632
|
# Redistribution and use in source and binary forms, with or without
|
data/lib/natto/option_parse.rb
CHANGED
data/lib/natto/struct.rb
CHANGED
data/lib/natto/version.rb
CHANGED
@@ -26,10 +26,10 @@
|
|
26
26
|
# `Natto`.
|
27
27
|
module Natto
|
28
28
|
# Version string for this Rubygem.
|
29
|
-
VERSION = "1.
|
29
|
+
VERSION = "1.2.0"
|
30
30
|
end
|
31
31
|
|
32
|
-
# Copyright (c)
|
32
|
+
# Copyright (c) 2020, Brooke M. Fujita.
|
33
33
|
# All rights reserved.
|
34
34
|
#
|
35
35
|
# Redistribution and use in source and binary forms, with or without
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: natto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke M. Fujita
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|
@@ -52,8 +52,11 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
-
description:
|
56
|
-
|
55
|
+
description: 'natto provides a naturally Ruby-esque interface to MeCab. It runs on
|
56
|
+
both CRuby (mri/yarv) and JRuby (jvm). It works with MeCab installations on Windows,
|
57
|
+
Unix/Linux, and OS X. No compiler is necessary, as natto is not a C extension.
|
58
|
+
|
59
|
+
'
|
57
60
|
email: buruzaemon@gmail.com
|
58
61
|
executables: []
|
59
62
|
extensions: []
|
@@ -90,8 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
90
93
|
requirements:
|
91
94
|
- MeCab 0.996
|
92
95
|
- FFI, 1.9.0 or greater
|
93
|
-
|
94
|
-
rubygems_version: 2.4.8
|
96
|
+
rubygems_version: 3.0.3
|
95
97
|
signing_key:
|
96
98
|
specification_version: 4
|
97
99
|
summary: A gem leveraging FFI (foreign function interface), natto combines the Ruby
|