lita-onewheel-snowcrash 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b3a92ebfd14b82b4d13bab912003e0454ae2b12e
|
4
|
+
data.tar.gz: 90373b15f8aefa5059f302cfceae322afeebad0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 277816b50c165a184055c558bd9447493734fb571f528b4722aeca9f1e05839eb07087756994a2d71fafc3f2e138cab997fe0fa0fa4787f41133d3e9bd7e835e
|
7
|
+
data.tar.gz: f46575ca65f7cca1ad400d2b99a6384e1bcf569f0773581d79812a2c84938a5351ac74b10009ae85581e3f78a12cd251b801dbc5593565b78a2e1d1f47645521
|
@@ -39,13 +39,17 @@ module Lita
|
|
39
39
|
def return_word_chain(number)
|
40
40
|
Lita.logger.info "Generating #{number} words."
|
41
41
|
markov = get_markov # Saves/opens dictionary.mmd
|
42
|
-
markov.generate_n_words(number.to_i)
|
42
|
+
words = markov.generate_n_words(number.to_i)
|
43
|
+
Lita.logger.info words
|
44
|
+
words
|
43
45
|
end
|
44
46
|
|
45
47
|
def return_sentence_chain(number)
|
46
48
|
Lita.logger.info "Generating #{number} sentences."
|
47
49
|
markov = get_markov # Saves/opens dictionary.mmd
|
48
|
-
markov.generate_n_sentences(number.to_i)
|
50
|
+
sentences = markov.generate_n_sentences(number.to_i)
|
51
|
+
Lita.logger.info sentences
|
52
|
+
sentences
|
49
53
|
end
|
50
54
|
|
51
55
|
Lita.register_handler(self)
|