markov_words 2.0.5 → 2.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile.lock +17 -15
- data/README.md +2 -4
- data/lib/markov_words/version.rb +1 -1
- data/markov_words.gemspec +5 -5
- metadata +13 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 2e1473df669546793f45113ab8452779fa7343e05e8e19326bba0938e6b56c57
|
4
|
+
data.tar.gz: 0cdaf36ad92846e5b5779300c7d508864d8ec637e3abac35f0d34c9084701735
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26984d03b237520541adcdeea9da4cd2577c4d160c9f291abe5d0de94ab93086f11dfa10e3676e01c314ce5fb1674b0c9872042f7b322de9bc09e7509c831d9a
|
7
|
+
data.tar.gz: eb50322375e89aa475b2cb84d85da1d2cfdf00f0e826765f13ce7ec3bc8a83c493767e0dfbf6ca374db03f23902108c8337a2962941a472cccc9afadda111f94
|
data/Gemfile.lock
CHANGED
@@ -1,32 +1,34 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
markov_words (2.0.
|
4
|
+
markov_words (2.0.6)
|
5
5
|
sqlite3 (~> 1.3)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
coderay (1.1.
|
11
|
-
method_source (0.
|
12
|
-
minitest (5.
|
13
|
-
pry (0.
|
14
|
-
coderay (~> 1.1
|
15
|
-
method_source (~>
|
16
|
-
rake (13.0.
|
17
|
-
sqlite3 (1.
|
18
|
-
|
10
|
+
coderay (1.1.3)
|
11
|
+
method_source (1.0.0)
|
12
|
+
minitest (5.15.0)
|
13
|
+
pry (0.14.1)
|
14
|
+
coderay (~> 1.1)
|
15
|
+
method_source (~> 1.0)
|
16
|
+
rake (13.0.6)
|
17
|
+
sqlite3 (1.4.2)
|
18
|
+
webrick (1.7.0)
|
19
|
+
yard (0.9.27)
|
20
|
+
webrick (~> 1.7.0)
|
19
21
|
|
20
22
|
PLATFORMS
|
21
|
-
|
23
|
+
x86_64-linux
|
22
24
|
|
23
25
|
DEPENDENCIES
|
24
|
-
bundler (
|
26
|
+
bundler (>= 2.3.8)
|
25
27
|
markov_words!
|
26
|
-
minitest (~> 5.
|
27
|
-
pry (~> 0.
|
28
|
+
minitest (~> 5.15)
|
29
|
+
pry (~> 0.14.1)
|
28
30
|
rake (~> 13.0)
|
29
31
|
yard (~> 0.9.12)
|
30
32
|
|
31
33
|
BUNDLED WITH
|
32
|
-
|
34
|
+
2.3.8
|
data/README.md
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
# MarkovWords
|
2
2
|
[![Gem Version](https://badge.fury.io/rb/markov_words.svg)](https://badge.fury.io/rb/markov_words)
|
3
3
|
|
4
|
-
At [EXPLO](https://www.explo.org), we often have a need for specific vocabulary-generators. For example, we might want to make a [password generator](http://lab.explo.org/password), or a Harry Potter house-generator, or some such thing.
|
5
|
-
|
6
4
|
As it turns out, [Markov Chains](http://www.thagomizer.com/blog/2017/11/07/markov-models.html) are an excellent way to create specific vocabularies by "training" a model against a set of words to determine common combinations.
|
7
5
|
|
8
6
|
While there are [quite](https://github.com/dabrorius/markov-noodles) a [few](https://github.com/dabrorius/markov-noodles) [wonderful](https://github.com/imikimi/literate_randomizer) Ruby libraries that do this, they all focus either on _actual_ English words, or on creating random _sentences_ but not words. We created this library to do the same thing, but with words, hence the name `MarkovWords`.
|
@@ -155,7 +153,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
155
153
|
|
156
154
|
## Contributing
|
157
155
|
|
158
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
156
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/dmerand/markov_words. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
159
157
|
|
160
158
|
## License
|
161
159
|
|
@@ -163,4 +161,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
163
161
|
|
164
162
|
## Code of Conduct
|
165
163
|
|
166
|
-
Everyone interacting in the MarkovWords project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
164
|
+
Everyone interacting in the MarkovWords project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/dmerand/markov_words/blob/master/CODE_OF_CONDUCT.md).
|
data/lib/markov_words/version.rb
CHANGED
data/markov_words.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.name = 'markov_words'
|
9
9
|
spec.version = MarkovWords::VERSION
|
10
10
|
spec.authors = ['Donald Merand']
|
11
|
-
spec.email = ['
|
11
|
+
spec.email = ['donald@merand.org']
|
12
12
|
|
13
13
|
spec.summary = <<~SUMMARY
|
14
14
|
Generate words (not sentences) using Markov-chain techniques.}
|
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
generators. This library uses Markov-chain techniques on words, as opposed
|
19
19
|
to many others which focus on sentences.
|
20
20
|
DESCRIPTION
|
21
|
-
spec.homepage = 'https://github.com/
|
21
|
+
spec.homepage = 'https://github.com/dmerand/markov_words'
|
22
22
|
spec.license = 'MIT'
|
23
23
|
|
24
24
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
@@ -28,9 +28,9 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
29
29
|
spec.require_paths = ['lib']
|
30
30
|
|
31
|
-
spec.add_development_dependency 'bundler', '
|
32
|
-
spec.add_development_dependency 'minitest', '~> 5.
|
33
|
-
spec.add_development_dependency 'pry', '~> 0.
|
31
|
+
spec.add_development_dependency 'bundler', '>= 2.3.8'
|
32
|
+
spec.add_development_dependency 'minitest', '~> 5.15'
|
33
|
+
spec.add_development_dependency 'pry', '~> 0.14.1'
|
34
34
|
spec.add_development_dependency 'rake', '~> 13.0'
|
35
35
|
spec.add_development_dependency 'yard', '~> 0.9.12'
|
36
36
|
|
metadata
CHANGED
@@ -1,57 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: markov_words
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Donald Merand
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 2.3.8
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 2.3.8
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: minitest
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '5.
|
33
|
+
version: '5.15'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '5.
|
40
|
+
version: '5.15'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: pry
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 0.14.1
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 0.14.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -99,7 +99,7 @@ description: |
|
|
99
99
|
generators. This library uses Markov-chain techniques on words, as opposed
|
100
100
|
to many others which focus on sentences.
|
101
101
|
email:
|
102
|
-
-
|
102
|
+
- donald@merand.org
|
103
103
|
executables: []
|
104
104
|
extensions: []
|
105
105
|
extra_rdoc_files: []
|
@@ -122,7 +122,7 @@ files:
|
|
122
122
|
- lib/markov_words/generator.rb
|
123
123
|
- lib/markov_words/version.rb
|
124
124
|
- markov_words.gemspec
|
125
|
-
homepage: https://github.com/
|
125
|
+
homepage: https://github.com/dmerand/markov_words
|
126
126
|
licenses:
|
127
127
|
- MIT
|
128
128
|
metadata: {}
|
@@ -141,8 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
141
|
- !ruby/object:Gem::Version
|
142
142
|
version: '0'
|
143
143
|
requirements: []
|
144
|
-
|
145
|
-
rubygems_version: 2.6.13
|
144
|
+
rubygems_version: 3.1.2
|
146
145
|
signing_key:
|
147
146
|
specification_version: 4
|
148
147
|
summary: Generate words (not sentences) using Markov-chain techniques.}
|