opener-language-identifier 4.3.2 → 4.4.0

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: 1b5571342f78838c2fc8ba8789146f234687f56c26bffcc0ca921db6e9e94c2f
4
- data.tar.gz: a31d195ac967cd7468323eb2042eb36e1dfd1fe2baa27326eb6fdb2942855587
3
+ metadata.gz: eebf7674631ee01c80ae1285ab658133ee9da0e35a854aa8c1855f52e04cf27d
4
+ data.tar.gz: 05f72d5366f9cfdfaf87d71004a977778284091d3ffc0318f725080126f9a6ce
5
5
  SHA512:
6
- metadata.gz: d74efada6a676f852798c9c4627f396a3512a300883f49cce8dcae50e7b2a040a7bf85a8c79b2c70e66a4c2dcc45e41f054858a44c0791de40bb88b2e7ac64aa
7
- data.tar.gz: 9343d31d64f1a99e2ac242531b29244547974401c2432ca3bce96e4fc0e191c2a05f93c2f196cb60b923f5441d2553bca50ec0964b16cad6827944013cbad661
6
+ metadata.gz: ab868922fd23754e4a4575372f02f39213a13ddd11fdbdcda8541dc4a63130efb6b2db62f74141915994e0422fe2eb9f03e9f00a0f046a340ae23ae7b50737eb
7
+ data.tar.gz: 42d395b265355acf8b15b0d4cb60663c0d9a43dc686c8afb91eb2ae94b554914a0033b2306ce56cc5fd4acc824999526c99680e3f89eb3ba9da127ad6f7ad95a
@@ -57,9 +57,9 @@ module Opener
57
57
  # @param [String] input The text of which to detect the language.
58
58
  # @return [Array]
59
59
  #
60
- def run(input)
61
- output = @detector.detect(input)
62
- output = build_kaf(input, output) if options[:kaf]
60
+ def run input, params = {}
61
+ output = @detector.detect input
62
+ output = build_kaf input, output if options[:kaf]
63
63
 
64
64
  return output
65
65
  end
@@ -1,5 +1,7 @@
1
1
  module Opener
2
2
  class LanguageIdentifier
3
- VERSION = '4.3.2'
3
+
4
+ VERSION = '4.4.0'
5
+
4
6
  end
5
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opener-language-identifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.2
4
+ version: 4.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - development@olery.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-23 00:00:00.000000000 Z
11
+ date: 2020-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -319,7 +319,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
319
319
  version: '0'
320
320
  requirements: []
321
321
  rubyforge_project:
322
- rubygems_version: 2.6.13
322
+ rubygems_version: 2.7.9
323
323
  signing_key:
324
324
  specification_version: 4
325
325
  summary: Language identifier for human readable text.