markov_twitter 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -6
- data/lib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a3b38efd171ae3ff169031879a0ef4dd3f37aba5
|
|
4
|
+
data.tar.gz: 901771479c2d3404bdfec59d0c2ab70c2be87cac
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9a18aaffe0ab3b32f06ec9630930626caa88e6d42f143ea0c60bcb81ccee4b380aa9e1277bf23bd6f25746c35c21a84dca15278069bcc48a872533e250d48c1f
|
|
7
|
+
data.tar.gz: 43d067f37b15c2494b29e7e7bcf30ecd0c3757e1f55d54694cbaaf065df4cd4c2f025e2c6bb12f0f6410d36b8b9a090f9c8061b82d9895c93ccf84a64d08855a
|
data/README.md
CHANGED
|
@@ -79,8 +79,7 @@ The linkages between words are automatically created ([Node#linkages](http://rub
|
|
|
79
79
|
|
|
80
80
|
Here are those three methods:
|
|
81
81
|
|
|
82
|
-
1. [evaluate](http://rubydoc.info/gems/markov_twitter/MarkovTwitter/MarkovBuilder:evaluate)
|
|
83
|
-
|
|
82
|
+
1. [evaluate](http://rubydoc.info/gems/markov_twitter/MarkovTwitter/MarkovBuilder:evaluate)
|
|
84
83
|
- traverses rightward along :next
|
|
85
84
|
- when starting or stuck, picks any random word
|
|
86
85
|
|
|
@@ -94,9 +93,7 @@ Here are those three methods:
|
|
|
94
93
|
# "25 years... / feeling it today. / to write /"
|
|
95
94
|
# ]
|
|
96
95
|
```
|
|
97
|
-
|
|
98
96
|
2. [evaluate_favoring_end](http://rubydoc.info/gems/markov_twitter/MarkovTwitter/MarkovBuilder:evaluate_favoring_end)
|
|
99
|
-
|
|
100
97
|
- traverses leftward along :prev
|
|
101
98
|
- when starting or stuck, picks a word that was at the end of one of the original phrases.
|
|
102
99
|
- reverses the result before returning
|
|
@@ -111,9 +108,7 @@ Here are those three methods:
|
|
|
111
108
|
# "/ Asking for 25 years... / #accidentalhaiku by @StratfordON https://t.co/k81u693AbV"
|
|
112
109
|
# ]
|
|
113
110
|
```
|
|
114
|
-
|
|
115
111
|
3. [evaluate_favoring_start](http://rubydoc.info/gems/markov_twitter/MarkovTwitter/MarkovBuilder:evaluate_favoring_start)
|
|
116
|
-
|
|
117
112
|
- traverses rightward along :next
|
|
118
113
|
- when starting or stuck, picks a word that was at the start of one of the original phrases.
|
|
119
114
|
|
data/lib/version.rb
CHANGED