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 +4 -4
- data/lib/opener/language_identifier.rb +3 -3
- data/lib/opener/language_identifier/version.rb +3 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eebf7674631ee01c80ae1285ab658133ee9da0e35a854aa8c1855f52e04cf27d
|
4
|
+
data.tar.gz: 05f72d5366f9cfdfaf87d71004a977778284091d3ffc0318f725080126f9a6ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
61
|
-
output = @detector.detect
|
62
|
-
output = build_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
|
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.
|
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:
|
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.
|
322
|
+
rubygems_version: 2.7.9
|
323
323
|
signing_key:
|
324
324
|
specification_version: 4
|
325
325
|
summary: Language identifier for human readable text.
|