what_you_say 0.4.1-x86_64-linux → 0.4.3-x86_64-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -7
- data/lib/what_you_say/version.rb +1 -1
- data/lib/what_you_say.rb +0 -1
- metadata +1 -2
- data/lib/what_you_say/info.rb +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae20a6009ad491c7db47d8525414ff9980f412ffd54ef29ab68839fdfabf4f56
|
4
|
+
data.tar.gz: e66734381fbf502ae268302a9451d2995d620fa09ffb4222dffc0f2a0dd3c592
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0903c017c39484428a097b20161e2a3141197bb9cf4abe6b70693fece3c40ee6d85b66fab7008f986fea4bd71605250eabda8083cc4fd837e5cab2ae7c6e467
|
7
|
+
data.tar.gz: b56c30eb6f4933f49c65eb47eac76686ea616c363f1b78a36b9f77b44a899a72db3ec9c87889f2e02af0428a6f374c669bf48289af720fc052c0229e9377eef5
|
data/README.md
CHANGED
@@ -31,12 +31,8 @@ text = "Ĉu vi ne volas eklerni Esperanton? Bonvolu! Estas unu de la plej bonaj
|
|
31
31
|
|
32
32
|
result = WhatYouSay._?(text)
|
33
33
|
|
34
|
-
assert_equal("epo", result.
|
35
|
-
assert_equal("
|
36
|
-
assert_equal("Esperanto", result.lang.eng_name)
|
37
|
-
assert_equal("Latin", result.script)
|
38
|
-
assert_predicate(result, :reliable?)
|
39
|
-
assert_equal(1, result.confidence)
|
34
|
+
assert_equal("epo", result.code)
|
35
|
+
assert_equal("esperanto", result.eng_name)
|
40
36
|
```
|
41
37
|
|
42
38
|
You also have to opportunity to `inspect` some output:
|
@@ -44,7 +40,7 @@ You also have to opportunity to `inspect` some output:
|
|
44
40
|
```ruby
|
45
41
|
text = "Եվ ահա ես ստանում եմ մի զանգ պատահական տղայից"
|
46
42
|
WhatYouSay._?(text).inspect
|
47
|
-
#=> #<WhatYouSay::
|
43
|
+
#=> #<WhatYouSay::Lang code="hye" eng_name="Armenian">
|
48
44
|
```
|
49
45
|
|
50
46
|
## Development
|
data/lib/what_you_say/version.rb
CHANGED
data/lib/what_you_say.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: what_you_say
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: x86_64-linux
|
6
6
|
authors:
|
7
7
|
- Garen J. Torikian
|
@@ -52,7 +52,6 @@ files:
|
|
52
52
|
- lib/what_you_say/3.1/what_you_say.so
|
53
53
|
- lib/what_you_say/3.2/what_you_say.so
|
54
54
|
- lib/what_you_say/extension.rb
|
55
|
-
- lib/what_you_say/info.rb
|
56
55
|
- lib/what_you_say/lang.rb
|
57
56
|
- lib/what_you_say/version.rb
|
58
57
|
homepage: https://github.com/gjtorikian/what_you_say
|