artemo 3.1.5 → 3.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/.DS_Store +0 -0
  3. data/CHANGELOG +3 -0
  4. data/Gemfile.lock +1 -1
  5. data/README.md +4 -148
  6. data/examples/result/A Sketch For A Modern Love Poem - Poem by Tadeusz Rozewicz.pdf +242 -0
  7. data/examples/result/Earth Again - Poem by Czeslaw Milosz.pdf +440 -0
  8. data/examples/result/First Love - Poem by Wislawa Szymborska.pdf +341 -0
  9. data/examples/result/Grass - Poem by Julian Tuwim.pdf +308 -0
  10. data/examples/result/Hatred - Poem by Wislawa Szymborska.pdf +374 -0
  11. data/examples/result/It Was Winter - Poem by Czeslaw Milosz.pdf +341 -0
  12. data/examples/result/Photograph From September 11 - Poem by Wislawa Szymborska.pdf +341 -0
  13. data/examples/result/Pigtail - Poem by Tadeusz Rozewicz.pdf +242 -0
  14. data/examples/result/Polish Flowers - Poem by Julian Tuwim.pdf +242 -0
  15. data/examples/result/Preface - Poem by Czeslaw Milosz.pdf +341 -0
  16. data/examples/result/Rovigo - Poem by Zbigniew Herbert.pdf +308 -0
  17. data/examples/result/The Dancing Socrates - Poem by Julian Tuwim.pdf +341 -0
  18. data/examples/result/The Fable About A Nail - Poem by Zbigniew Herbert.pdf +341 -0
  19. data/examples/result/The Gate - Poem by Tadeusz Rozewicz.pdf +341 -0
  20. data/examples/result/The Return - Poem by Tadeusz Rozewicz.pdf +407 -0
  21. data/examples/result/The Road - Poem by Czeslaw Milosz.pdf +275 -0
  22. data/examples/result/The Saturday Night Song - Poem by Julian Tuwim.pdf +440 -0
  23. data/examples/result/The Survivor - Poem by Tadeusz Rozewicz.pdf +242 -0
  24. data/examples/result/To My Bones - Poem by Zbigniew Herbert.pdf +440 -0
  25. data/examples/result/Two Monkeys by Brueghel - Poem by Wislawa Szymborska.pdf +341 -0
  26. data/examples/result/Veni Seer - Poem by Czeslaw Milosz.pdf +275 -0
  27. data/examples/result/Vermeer - Poem by Wislawa Szymborska.pdf +275 -0
  28. data/examples/result/Wasp - Poem by Zbigniew Herbert.pdf +374 -0
  29. data/examples/result/What Our Dead Do - Poem by Zbigniew Herbert.pdf +341 -0
  30. data/examples/result/Wife - Poem by Julian Tuwim.pdf +374 -0
  31. data/examples/txt/A Sketch For A Modern Love Poem - Poem by Tadeusz Rozewicz.txt +39 -0
  32. data/examples/txt/Earth Again - Poem by Czeslaw Milosz.txt +13 -0
  33. data/examples/txt/First Love - Poem by Wislawa Szymborska.txt +26 -0
  34. data/examples/txt/Grass - Poem by Julian Tuwim.txt +14 -0
  35. data/examples/txt/Hatred - Poem by Wislawa Szymborska.txt +37 -0
  36. data/examples/txt/It Was Winter - Poem by Czeslaw Milosz.txt +69 -0
  37. data/examples/txt/Photograph From September 11 - Poem by Wislawa Szymborska.txt +24 -0
  38. data/examples/txt/Pigtail - Poem by Tadeusz Rozewicz.txt +24 -0
  39. data/examples/txt/Polish Flowers - Poem by Julian Tuwim.txt +6 -0
  40. data/examples/txt/Preface - Poem by Czeslaw Milosz.txt +26 -0
  41. data/examples/txt/Rovigo - Poem by Zbigniew Herbert.txt +28 -0
  42. data/examples/txt/The Dancing Socrates - Poem by Julian Tuwim.txt +12 -0
  43. data/examples/txt/The Fable About A Nail - Poem by Zbigniew Herbert.txt +64 -0
  44. data/examples/txt/The Gate - Poem by Tadeusz Rozewicz.txt +65 -0
  45. data/examples/txt/The Return - Poem by Tadeusz Rozewicz.txt +27 -0
  46. data/examples/txt/The Road - Poem by Czeslaw Milosz.txt +19 -0
  47. data/examples/txt/The Saturday Night Song - Poem by Julian Tuwim.txt +19 -0
  48. data/examples/txt/The Survivor - Poem by Tadeusz Rozewicz.txt +34 -0
  49. data/examples/txt/To My Bones - Poem by Zbigniew Herbert.txt +33 -0
  50. data/examples/txt/Two Monkeys by Brueghel - Poem by Wislawa Szymborska.txt +13 -0
  51. data/examples/txt/Veni Seer - Poem by Czeslaw Milosz.txt +15 -0
  52. data/examples/txt/Vermeer - Poem by Wislawa Szymborska.txt +6 -0
  53. data/examples/txt/Wasp - Poem by Zbigniew Herbert.txt +2 -0
  54. data/examples/txt/What Our Dead Do - Poem by Zbigniew Herbert.txt +64 -0
  55. data/examples/txt/Wife - Poem by Julian Tuwim.txt +18 -0
  56. data/lib/.DS_Store +0 -0
  57. data/lib/artemo/plot.rb +7 -3
  58. data/lib/artemo/version.rb +1 -1
  59. metadata +51 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 23724fad07817c5010b8bbcceebeaf53821c9576
4
- data.tar.gz: 86b1473a7688193b0702dbc85cc80e026bd9a904
3
+ metadata.gz: 7bb4733a8b8cab5b544ac425b70a7f9f6137ead3
4
+ data.tar.gz: 4092f17c49fa63e8557293350fc6d26206158004
5
5
  SHA512:
6
- metadata.gz: c4ccff9b0ef6501516c7e38815b075a6c2e61efe513bc3af1baf283076fb38039da8a133635b1061a61da141749b7a5d0e0afde34a88c97671efb80095b509c1
7
- data.tar.gz: 2a2a13cbd11a294f6901d659ca2c1966fbc1b84d3ca66bafa6ce4422db779685ecfd706f524ea89226d126170ddd32c6b731515315ae7d605483d2a13517c8ce
6
+ metadata.gz: 65fa483f8660232d324f62f1aa7f5729048d14b6871e72e60af539b779d0b5605dc59ddaac2e5ed287f7a029a6acd174212104630f9f88c8591b7242e22874e0
7
+ data.tar.gz: d6ff84f005c023d892b0f9361c8821897f5afca2a41f1205dd9a534ed78d0e27a82b6539b5c4b7b84b7f7a49de44c161e4a686a523c62e59612c567bf6b66d5a
data/.DS_Store CHANGED
Binary file
data/CHANGELOG CHANGED
@@ -51,3 +51,6 @@ Add plotting library.
51
51
 
52
52
  Version 3.1.5
53
53
  Better scaling mathod.
54
+
55
+ Version 3.1.6
56
+ Add exception support for plotting library, and examples.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- artemo (3.1.5)
4
+ artemo (3.1.6)
5
5
  squid (~> 1.3)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -1,155 +1,11 @@
1
1
  # README.md
2
2
 
3
- Install gem https://rubygems.org/gems/artemo and use by: `artemo [your file]`.
3
+ * Install gem https://rubygems.org/gems/artemo and use by: `artemo [your file]`.
4
4
 
5
5
  ## Changelog
6
6
 
7
- Version 1.0
7
+ * In CHANGELOG
8
8
 
9
- * Prototype of program
9
+ ## Examples
10
10
 
11
- Version 2.x.x
12
-
13
- * Tests of program
14
-
15
- Version 3.0.0
16
-
17
- * Rewritten, simpler and working.
18
-
19
- Version 3.0.1
20
-
21
- * Changed names of methods, add half of rspec tests, add Rakefile and Gemfile.
22
-
23
- Version 3.0.2
24
-
25
- * Add `rake file['']` to use on custom texts.
26
-
27
- Version 3.0.3
28
-
29
- * All rspec tests are write.
30
-
31
- Version 3.0.4
32
-
33
- * All documentation is write, add bin/artemo file and checked code by RuboCop, some methods change names.
34
-
35
- Version 3.0.5
36
-
37
- * Gem is ready.
38
-
39
- Version 3.0.6
40
-
41
- * Gem homepage.
42
-
43
- Version 3.0.7
44
-
45
- * Small changes in display results.
46
-
47
- Version 3.0.8
48
-
49
- * Better gem description.
50
-
51
- Version 3.0.9
52
-
53
- * More rspec tests.
54
-
55
- Version 3.1.0
56
-
57
- * Add exception support when file is empty or have not enough keywords to analysis.
58
-
59
- Version 3.1.1
60
-
61
- * Last small fixes.
62
-
63
- Version 3.1.2
64
-
65
- * Marshal binary database for faster work.
66
-
67
- Version 3.1.3
68
-
69
- * Full documentation is added. Faster comparing word with keyword.
70
-
71
- Version 3.1.4
72
-
73
- * Add plotting library.
74
-
75
- Version 3.1.5
76
-
77
- * Better scaling mathod.
78
-
79
- ## Examples:
80
-
81
- ### Adam Mickiewicz - Świtezianka
82
-
83
- * "remorse"=>38, "envy"=>38, "optimism"=>67, "anxiety"=>67, "despair"=>67, "awe"=>67, "pessimism"=>76, "fatalism"=>134, "shame"=>134, "curiosity"=>194, "submission"=>194, "sentimentality"=>291
84
-
85
- ### Cyprian Kamil Norwid - Fortepian Chopina
86
-
87
- * "despair"=>32, "shame"=>64, "optimism"=>97, "anxiety"=>194, "fatalism"=>291
88
-
89
- ### Herbert Zbigniew Przesłanie Pana Cogito
90
-
91
- * "envy"=>8, "pessimism"=>24, "anxiety"=>38, "optimism"=>38, "despair"=>67, "submission"=>97, "fatalism"=>114, "shame"=>134, "sentimentality"=>194, "curiosity"=>194
92
-
93
- ### Edgar Allan Poe - The Raven
94
-
95
- * "anxiety"=>38, "remorse"=>38, "envy"=>38, "optimism"=>38, "fatalism"=>76, "pessimism"=>76, "submission"=>97, "sentimentality"=>194, "curiosity"=>194
96
-
97
- ### Donald Trump's Victory Speech
98
-
99
- * "shame"=>97
100
-
101
- ### Barrack Obama's Victory Speech
102
-
103
- * "guilt"=>52, "delight"=>52, "love"=>52, "shame"=>97
104
-
105
- ### Professor Hawking's Speech
106
-
107
- * "optimism"=>73, "anxiety"=>73, "despair"=>97, "shame"=>97, "fatalism"=>146
108
-
109
- ### Aakankheyya Sutta
110
-
111
- * "guilt"=>11, "delight"=>22, "despair"=>97, "shame"=>194
112
-
113
- ### Aanaapaanasuttam
114
-
115
- * "shame"=>44, "guilt"=>97, "delight"=>97, "love"=>97
116
-
117
- ### Bible Genesis Chapter 1
118
-
119
- * "pessimism"=>8, "envy"=>8, "guilt"=>67, "love"=>67, "delight"=>67, "shame"=>97, "despair"=>97
120
-
121
- ### Bible Genesis Chapter 49, 50
122
-
123
- * "despair"=>97, "shame"=>194
124
-
125
- ### Blue Avians Message
126
-
127
- * "pessimism"=>5, "guilt"=>50, "delight"=>50, "love"=>50, "despair"=>97, "shame"=>97
128
-
129
- ### Adolf Hitler's Mein Kampf
130
-
131
- * "anxiety"=>11, "fatalism"=>11, "despair"=>97, "shame"=>97
132
-
133
- ### V. I. Lenin's Speech at International Meeting in Berne
134
-
135
- * "pessimism"=>19
136
-
137
- ### Donald Tusk's Speech
138
-
139
- * "despair"=>97, "shame"=>194
140
-
141
- ### Meditation Instructions
142
-
143
- * "delight"=>97, "love"=>97
144
-
145
- ### Bob Marley - Stop That Train
146
-
147
- * "optimism"=>97, "fatalism"=>97, "anxiety"=>97
148
-
149
- ### Bob Marley - One Love
150
-
151
- * "guilt"=>41, "love"=>41, "despair"=>97, "delight"=>123, "shame"=>291
152
-
153
- ### Demosthenes - First Philippic
154
-
155
- * "anxiety"=>20, "fatalism"=>40, "envy"=>73, "awe"=>97, "despair"=>97, "pessimism"=>146, "shame"=>194
11
+ * /examples
@@ -0,0 +1,242 @@
1
+ %PDF-1.4
2
+ %����
3
+ 1 0 obj
4
+ << /Creator <feff0050007200610077006e>
5
+ /Producer <feff0050007200610077006e>
6
+ >>
7
+ endobj
8
+ 2 0 obj
9
+ << /Type /Catalog
10
+ /Pages 3 0 R
11
+ >>
12
+ endobj
13
+ 3 0 obj
14
+ << /Type /Pages
15
+ /Count 1
16
+ /Kids [5 0 R]
17
+ >>
18
+ endobj
19
+ 4 0 obj
20
+ << /Length 1258
21
+ >>
22
+ stream
23
+ q
24
+ 0.5 w
25
+ q
26
+ /Tr1 gs
27
+ 69.0 741.0 m
28
+ 576.0 741.0 l
29
+ S
30
+ S
31
+ Q
32
+ 1 w
33
+ 0.5 w
34
+ q
35
+ /Tr1 gs
36
+ 69.0 687.25 m
37
+ 576.0 687.25 l
38
+ S
39
+ S
40
+ Q
41
+ 1 w
42
+ 0.5 w
43
+ q
44
+ /Tr1 gs
45
+ 69.0 633.5 m
46
+ 576.0 633.5 l
47
+ S
48
+ S
49
+ Q
50
+ 1 w
51
+ 0.5 w
52
+ q
53
+ /Tr1 gs
54
+ 69.0 579.75 m
55
+ 576.0 579.75 l
56
+ S
57
+ S
58
+ Q
59
+ 1 w
60
+
61
+ BT
62
+ 36.872 738.128 Td
63
+ /F1.0 8 Tf
64
+ [<3130302e3025>] TJ
65
+ ET
66
+
67
+
68
+ BT
69
+ 41.32 684.378 Td
70
+ /F1.0 8 Tf
71
+ [<37352e3025>] TJ
72
+ ET
73
+
74
+
75
+ BT
76
+ 41.32 630.628 Td
77
+ /F1.0 8 Tf
78
+ [<35302e3025>] TJ
79
+ ET
80
+
81
+
82
+ BT
83
+ 41.32 576.878 Td
84
+ /F1.0 8 Tf
85
+ [<32352e3025>] TJ
86
+ ET
87
+
88
+
89
+ BT
90
+ 45.768 523.128 Td
91
+ /F1.0 8 Tf
92
+ [<302e3025>] TJ
93
+ ET
94
+
95
+ /DeviceRGB cs
96
+ 0.180 0.341 0.549 scn
97
+ /DeviceRGB CS
98
+ 0.180 0.341 0.549 SCN
99
+ q
100
+ /Tr2 gs
101
+ 100.6875 526.0 190.125 215.0 re
102
+ f
103
+ S
104
+ Q
105
+ 0.000 0.000 0.000 scn
106
+ 0.000 0.000 0.000 SCN
107
+ 0.180 0.341 0.549 scn
108
+ q
109
+ /Tr3 gs
110
+
111
+ BT
112
+ 178.795 747.07 Td
113
+ /F2.0 10 Tf
114
+ [<3130302e3025>] TJ
115
+ ET
116
+
117
+ S
118
+ Q
119
+ 0.000 0.000 0.000 scn
120
+ 0.180 0.341 0.549 scn
121
+ 0.180 0.341 0.549 SCN
122
+ q
123
+ /Tr2 gs
124
+ 354.1875 526.0 190.125 215.0 re
125
+ f
126
+ S
127
+ Q
128
+ 0.000 0.000 0.000 scn
129
+ 0.000 0.000 0.000 SCN
130
+ 0.180 0.341 0.549 scn
131
+ q
132
+ /Tr3 gs
133
+
134
+ BT
135
+ 432.295 747.07 Td
136
+ /F2.0 10 Tf
137
+ [<3130302e3025>] TJ
138
+ ET
139
+
140
+ S
141
+ Q
142
+ 0.000 0.000 0.000 scn
143
+
144
+ BT
145
+ 186.798 513.128 Td
146
+ /F1.0 8 Tf
147
+ [<7072> -15 <696465>] TJ
148
+ ET
149
+
150
+ 195.75 526.0 m
151
+ 195.75 524.0 l
152
+ S
153
+
154
+ BT
155
+ 429.686 513.128 Td
156
+ /F1.0 8 Tf
157
+ [<646f6d696e616e6365>] TJ
158
+ ET
159
+
160
+ 449.25 526.0 m
161
+ 449.25 524.0 l
162
+ S
163
+ q
164
+ /Tr3 gs
165
+ 69.0 526.0 m
166
+ 576.0 526.0 l
167
+ S
168
+ S
169
+ Q
170
+ Q
171
+
172
+ endstream
173
+ endobj
174
+ 5 0 obj
175
+ << /Type /Page
176
+ /Parent 3 0 R
177
+ /MediaBox [0 0 612.0 792.0]
178
+ /Contents 4 0 R
179
+ /Resources << /ProcSet [/PDF /Text /ImageB /ImageC /ImageI]
180
+ /Font << /F1.0 7 0 R
181
+ /F2.0 10 0 R
182
+ >>
183
+ /ExtGState << /Tr1 6 0 R
184
+ /Tr2 8 0 R
185
+ /Tr3 9 0 R
186
+ >>
187
+ >>
188
+ >>
189
+ endobj
190
+ 6 0 obj
191
+ << /Type /ExtGState
192
+ /CA 0.25
193
+ /ca 0.25
194
+ >>
195
+ endobj
196
+ 7 0 obj
197
+ << /Type /Font
198
+ /Subtype /Type1
199
+ /BaseFont /Helvetica
200
+ /Encoding /WinAnsiEncoding
201
+ >>
202
+ endobj
203
+ 8 0 obj
204
+ << /Type /ExtGState
205
+ /CA 0.95
206
+ /ca 0.95
207
+ >>
208
+ endobj
209
+ 9 0 obj
210
+ << /Type /ExtGState
211
+ /CA 1.0
212
+ /ca 1.0
213
+ >>
214
+ endobj
215
+ 10 0 obj
216
+ << /Type /Font
217
+ /Subtype /Type1
218
+ /BaseFont /Helvetica-Bold
219
+ /Encoding /WinAnsiEncoding
220
+ >>
221
+ endobj
222
+ xref
223
+ 0 11
224
+ 0000000000 65535 f
225
+ 0000000015 00000 n
226
+ 0000000109 00000 n
227
+ 0000000158 00000 n
228
+ 0000000215 00000 n
229
+ 0000001525 00000 n
230
+ 0000001766 00000 n
231
+ 0000001822 00000 n
232
+ 0000001919 00000 n
233
+ 0000001975 00000 n
234
+ 0000002029 00000 n
235
+ trailer
236
+ << /Size 11
237
+ /Root 2 0 R
238
+ /Info 1 0 R
239
+ >>
240
+ startxref
241
+ 2132
242
+ %%EOF