bm25f 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/bm25f.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9b141349387662e73de071841670357c61b61d775cb61501d84dc7ccc801e6de
4
- data.tar.gz: ad7bb2c6223a5f125224b0a5d0afdb9c3950811c9c09cd1a39ae943b38a39eb9
3
+ metadata.gz: f82699fd9a61bec9ce5a36b450860d2d64a10e35b6a81e29760067f5e04fd0be
4
+ data.tar.gz: 515fb6057a449c3deb0fc8fb32286114bc507212b843cb645b758a7930d0605a
5
5
  SHA512:
6
- metadata.gz: 3662bed23e2c1f041766b29ffe2f87d13ec18e107870c4948fc85851bbc1640a569a9f831f67f46bb8035577fc8a33654461bd2f4d2fe4e324ef3b302f66f665
7
- data.tar.gz: e27b5d15af219b3dfc41e675015bacd5c5c1d930c0f70df844f8341fab0062670eb3690bdc41163ed628e2e90f340c1fb9814ce6dd9c30fc30daf77056b4b89a
6
+ metadata.gz: 68facd20bceba46784de0db93a22d59827245632c7b848ad1ca185c4e7b8079dbbc66e3e4027531b5aa55610275694282509fd257783bc6d187dbc7401effddf
7
+ data.tar.gz: 4ef27f212f8bb8ea828b4dbc33dd6b726a105e1abfd10797b488d951c4f956e53bd14b37261d78c10b3bbb1342c73728b4dd767ab1fd1638b33bcbbf5d685d3e
data/lib/bm25f.rb CHANGED
@@ -58,7 +58,7 @@ class BM25F
58
58
  documents.each do |k, v|
59
59
  next unless v.instance_of? String
60
60
 
61
- documents[k] = v.map { |t| @stemmer.stem t }.oin(' ')
61
+ documents[k] = v.map { |t| @stemmer.stem t }.join(' ')
62
62
  end
63
63
  documents
64
64
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bm25f
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - catflip
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-14 00:00:00.000000000 Z
11
+ date: 2024-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pragmatic_tokenizer