scylla 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +5 -5
  2. data/README.rdoc +1 -1
  3. data/bin/scylla +1 -1
  4. metadata +50 -51
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 74ad7d56b363c9d3e3b0181e082cc620c493701a
4
- data.tar.gz: e3ee8b5f817622f6739f973d0249837c399b83be
2
+ SHA256:
3
+ metadata.gz: 7ae67cbe11a572ef9f3da4fb7040fe87cf48034bbc436f74c7b81a4c013b70f5
4
+ data.tar.gz: '056492ee87ccf4d8171642e4a5ad91375d8b88fbb27af042f826175313ee029c'
5
5
  SHA512:
6
- metadata.gz: 967356f85746db524dbb7bc371bc841c15ff7eb34ba905a2049e412be1b7c4a3ae9d215953cc00a04946cbf213d25373ac991b48bac44e9107c02ace0c4e9f2a
7
- data.tar.gz: 6688cd5d3691c8a5ab085d403a05fbcde80537a4de571360aea540ddbb5dff3b5d9e626d2e5ab1207a6ce98b6beeb57d4069bd806b16fe13191e7d2452389819
6
+ metadata.gz: be438618a77b5c0339ba0dd56469de139e1060e19959de5095daa0ed9a79d2b4621ee133dba90e177d7651a06ccfa1d1dc49de1f6304623cb261abb75f85de95
7
+ data.tar.gz: 4f57607ca609cdfbc74d39e5d245a6e869a0256926048f019fa31032dd61163d2d1cc2cd04a1b786b755260001b826255d14d5bfabe267ad2aaea132aaca18b2
@@ -21,7 +21,7 @@ Multiple results for other possible languages:
21
21
  "isso poderia ser confundido com espanhol, bem".language
22
22
  => "portuguese"
23
23
 
24
- "isso poderia ser confundido com espanhol, bem".guess
24
+ "isso poderia ser confundido com espanhol, bem".guess_language
25
25
  => ["portuguese", "spanish"]
26
26
 
27
27
  == Training
data/bin/scylla CHANGED
@@ -9,5 +9,5 @@ while(phrase != "exit")
9
9
  puts "Phrase:"
10
10
  STDOUT.flush
11
11
  phrase = gets.chomp
12
- puts phrase.guess.join(" or ")
12
+ puts phrase.guess_language.join(" or ")
13
13
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scylla
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ashwin Hegde
@@ -186,68 +186,67 @@ required_rubygems_version: !ruby/object:Gem::Requirement
186
186
  - !ruby/object:Gem::Version
187
187
  version: '0'
188
188
  requirements: []
189
- rubyforge_project:
190
- rubygems_version: 2.5.2
189
+ rubygems_version: 3.0.3
191
190
  signing_key:
192
191
  specification_version: 4
193
192
  summary: Ruby port of Textcat language guesser
194
193
  test_files:
195
- - test/classifier_test.rb
196
- - test/fixtures/lms/arabic.lm
197
- - test/fixtures/lms/bulgarian.lm
198
- - test/fixtures/lms/catalan.lm
199
- - test/fixtures/lms/chinese.lm
194
+ - test/generator_test.rb
195
+ - test/scylla_test.rb
196
+ - test/loader_test.rb
197
+ - test/helper.rb
198
+ - test/language_test.rb
199
+ - test/fixtures/test_languages/hindi
200
+ - test/fixtures/test_languages/japanese
201
+ - test/fixtures/test_languages/german
202
+ - test/fixtures/test_languages/italian
203
+ - test/fixtures/test_languages/english
204
+ - test/fixtures/test_languages/norwegian
205
+ - test/fixtures/test_languages/french
206
+ - test/fixtures/test_languages/spanish
200
207
  - test/fixtures/lms/czech.lm
201
- - test/fixtures/lms/danish.lm
202
- - test/fixtures/lms/dutch.lm
203
- - test/fixtures/lms/english.lm
208
+ - test/fixtures/lms/tagalog.lm
209
+ - test/fixtures/lms/catalan.lm
210
+ - test/fixtures/lms/thai.lm
211
+ - test/fixtures/lms/russian.lm
204
212
  - test/fixtures/lms/finnish.lm
205
- - test/fixtures/lms/french.lm
206
- - test/fixtures/lms/german.lm
207
- - test/fixtures/lms/greek.lm
208
- - test/fixtures/lms/hebrew.lm
209
- - test/fixtures/lms/hindi.lm
213
+ - test/fixtures/lms/kannada.lm
210
214
  - test/fixtures/lms/icelandic.lm
211
- - test/fixtures/lms/indonesian.lm
212
- - test/fixtures/lms/italian.lm
215
+ - test/fixtures/lms/spanish.lm
216
+ - test/fixtures/lms/vietnamese.lm
217
+ - test/fixtures/lms/hindi.lm
218
+ - test/fixtures/lms/turkish.lm
219
+ - test/fixtures/lms/greek.lm
220
+ - test/fixtures/lms/swedish.lm
213
221
  - test/fixtures/lms/japanese.lm
214
- - test/fixtures/lms/kannada.lm
215
- - test/fixtures/lms/korean.lm
222
+ - test/fixtures/lms/german.lm
223
+ - test/fixtures/lms/slovak.lm
224
+ - test/fixtures/lms/italian.lm
216
225
  - test/fixtures/lms/marathi.lm
217
- - test/fixtures/lms/norwegian.lm
218
- - test/fixtures/lms/persian.lm
226
+ - test/fixtures/lms/danish.lm
227
+ - test/fixtures/lms/welsh.lm
228
+ - test/fixtures/lms/bulgarian.lm
229
+ - test/fixtures/lms/chinese.lm
230
+ - test/fixtures/lms/korean.lm
219
231
  - test/fixtures/lms/polish.lm
232
+ - test/fixtures/lms/french.lm
233
+ - test/fixtures/lms/norwegian.lm
234
+ - test/fixtures/lms/arabic.lm
235
+ - test/fixtures/lms/slovenian.lm
236
+ - test/fixtures/lms/indonesian.lm
220
237
  - test/fixtures/lms/portuguese.lm
221
238
  - test/fixtures/lms/romanian.lm
222
- - test/fixtures/lms/russian.lm
223
- - test/fixtures/lms/slovak.lm
224
- - test/fixtures/lms/slovenian.lm
225
- - test/fixtures/lms/spanish.lm
226
- - test/fixtures/lms/swedish.lm
227
- - test/fixtures/lms/tagalog.lm
228
- - test/fixtures/lms/thai.lm
229
- - test/fixtures/lms/turkish.lm
230
- - test/fixtures/lms/vietnamese.lm
231
- - test/fixtures/lms/welsh.lm
232
- - test/fixtures/source_texts/danish.txt
233
- - test/fixtures/source_texts/english.txt
234
- - test/fixtures/source_texts/french.txt
239
+ - test/fixtures/lms/dutch.lm
240
+ - test/fixtures/lms/english.lm
241
+ - test/fixtures/lms/hebrew.lm
242
+ - test/fixtures/lms/persian.lm
235
243
  - test/fixtures/source_texts/german.txt
236
- - test/fixtures/source_texts/hindi.txt
237
- - test/fixtures/source_texts/italian.txt
238
- - test/fixtures/source_texts/japanese.txt
239
244
  - test/fixtures/source_texts/norwegian.txt
245
+ - test/fixtures/source_texts/japanese.txt
246
+ - test/fixtures/source_texts/hindi.txt
247
+ - test/fixtures/source_texts/danish.txt
248
+ - test/fixtures/source_texts/french.txt
249
+ - test/fixtures/source_texts/english.txt
240
250
  - test/fixtures/source_texts/spanish.txt
241
- - test/fixtures/test_languages/english
242
- - test/fixtures/test_languages/french
243
- - test/fixtures/test_languages/german
244
- - test/fixtures/test_languages/hindi
245
- - test/fixtures/test_languages/italian
246
- - test/fixtures/test_languages/japanese
247
- - test/fixtures/test_languages/norwegian
248
- - test/fixtures/test_languages/spanish
249
- - test/generator_test.rb
250
- - test/helper.rb
251
- - test/language_test.rb
252
- - test/loader_test.rb
253
- - test/scylla_test.rb
251
+ - test/fixtures/source_texts/italian.txt
252
+ - test/classifier_test.rb