treat 2.0.4 → 2.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,21 @@
1
+ <html>
2
+ <head>
3
+ <title>Leonhard Euler (1707-1783)</title>
4
+ </head>
5
+ <body>
6
+ <div>
7
+
8
+ <p>Euler may be the most influential mathematician who ever lived (though some would make him second to Euclid); he ranks #77 on Michael Hart's famous list of the Most Influential Persons in History. His colleagues called him "Analysis Incarnate." Laplace, famous for denying credit to fellow mathematicians, once said "Read Euler: he is our master in everything." His notations and methods in many areas are in use to this day. Euler was the most prolific mathematician in history and is often judged to be the best algorist of all time. (The ranking #4 may seem too low for this supreme mathematician, but Gauss succeeded at proving several theorems which had stumped Euler.)</p>
9
+
10
+ <p>Just as Archimedes extended Euclid's geometry to marvelous heights, so Euler took marvelous advantage of the analysis of Newton and Leibniz: He gave the world modern trigonometry, pioneered (along with Lagrange) the calculus of variations, generalized and proved the Newton-Giraud formulae, etc. He was also supreme at discrete mathematics, inventing graph theory and generating functions. Euler was also a major figure in number theory: He proved that the sum of the reciprocals of primes less than x is approx. (<i>ln ln</i> x), invented the totient function and used it to generalize Fermat's Little Theorem, found both the largest then-known prime and the largest then-known perfect number, proved <b>e</b> to be irrational, proved that all even perfect numbers must have the Mersenne number form that Euclid had discovered 2000 years earlier, and much more. Euler was also first to prove several interesting theorems of geometry, including facts about the <i>9-point Feuerbach circle</i>; relationships among a triangle's altitudes, medians, and circumscribing and inscribing circles; and an expression for a tetrahedron's area in terms of its sides. Euler was first to explore topology, proving theorems about the <i>Euler characteristic</i>. Although noted as the first great "pure mathematician," Euler engineered a system of pumps, wrote on philosophy, and made important contributions to music theory, acoustics, optics, celestial motions and mechanics. He extended Newton's Laws of Motion to rotating rigid bodies; and developed the Euler-Bernoulli beam equation. On a lighter note, Euler constructed a particularly "magical" magic square.</p>
11
+
12
+ <p>Euler combined his brilliance with phenomenal concentration. He developed the first method to estimate the Moon's orbit (the three-body problem which had stumped Newton), and he settled an arithmetic dispute involving 50 decimal places of a long convergent series. Both these feats were accomplished when he was totally blind. (About this he said "Now I will have less distraction.") Fran&ccedil;ois Arago said that "Euler calculated without apparent effort, as men breathe, or as eagles sustain themselves in the wind."</p>
13
+
14
+ <p>Four of the most important constant symbols in mathematics (<b><i>&pi;</i></b>, <b><i>e</i></b>, <b><i>i</i></b> = &radic;-1, and <b><i>&gamma;</i></b> = 0.57721566...) were all introduced or popularized by Euler, along with operators like <b><i>&Sigma;</i></b>. He did important work with <i>Riemann's zeta function</i> &nbsp; <b>&zeta;(s) = &sum; k<sup>-s</sup></b> &nbsp; (although it was not then known with that name or notation); he anticipated the concept of analytic continuation by "proving" <b>&zeta;(-1) = 1+2+3+4+... = -1/12</b>. As a young student of the Bernoulli family, Euler discovered the striking identity &nbsp; <b><i>&pi;</i><sup>2</sup>/6 = &zeta;(2)</b> &nbsp; This catapulted Euler to instant fame, since the right-side infinite sum (<i>1 + 1/4 + 1/9 + 1/16 + ...)</i> was a famous problem of the time. Among many other famous and important identities, Euler proved the Pentagonal Number Theorem (a beautiful little result which has inspired a variety of discoveries), and the Euler Product Formula &nbsp; &nbsp; <b>&zeta;(s) = &prod;(1-p<sup>-s</sup>)<sup>-1</sup></b> &nbsp; where the right-side product is taken over all primes <i>p</i>. His most famous identity (which Richard Feynman called an "almost astounding ... jewel") unifies the trigonometric and exponential functions: &nbsp; <b><i>e</i><sup><i>i</i> x</sup> = <i>cos</i> x + <i>i</i> <i>sin</i> x</b>.</p>
15
+
16
+ <p>Some of Euler's greatest formulae can be combined into curious-looking formulae for <i>&pi;</i>: <b>&nbsp; &pi;<sup>2</sup> &nbsp; = &nbsp; - <i>log</i><sup>2</sup>(-1) &nbsp; = &nbsp; 6 &prod;<sub>p&isin;<i>Prime</i></sub>(1-p<sup>-2</sup>)<sup>-1/2</sup> </b>
17
+ </p>
18
+
19
+ </div>
20
+ </body>
21
+ </html>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: treat
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.4
4
+ version: 2.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-23 00:00:00.000000000 Z
12
+ date: 2013-06-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: schiphol
@@ -43,6 +43,22 @@ dependencies:
43
43
  - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
45
  version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: yomu
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
46
62
  - !ruby/object:Gem::Dependency
47
63
  name: rspec
48
64
  requirement: !ruby/object:Gem::Requirement
@@ -159,7 +175,9 @@ files:
159
175
  - lib/treat/learning/export.rb
160
176
  - lib/treat/learning/problem.rb
161
177
  - lib/treat/learning/question.rb
178
+ - lib/treat/loaders/bind_it.rb
162
179
  - lib/treat/loaders/linguistics.rb
180
+ - lib/treat/loaders/open_nlp.rb
163
181
  - lib/treat/loaders/stanford.rb
164
182
  - lib/treat/modules.rb
165
183
  - lib/treat/proxies/array.rb
@@ -185,6 +203,7 @@ files:
185
203
  - lib/treat/workers/formatters/readers/abw.rb
186
204
  - lib/treat/workers/formatters/readers/autoselect.rb
187
205
  - lib/treat/workers/formatters/readers/doc.rb
206
+ - lib/treat/workers/formatters/readers/document.rb
188
207
  - lib/treat/workers/formatters/readers/html.rb
189
208
  - lib/treat/workers/formatters/readers/image.rb
190
209
  - lib/treat/workers/formatters/readers/odt.rb
@@ -231,7 +250,7 @@ files:
231
250
  - lib/treat/workers/processors/segmenters/srx.rb
232
251
  - lib/treat/workers/processors/segmenters/stanford.rb
233
252
  - lib/treat/workers/processors/segmenters/tactful.rb
234
- - lib/treat/workers/processors/tokenizers/maxent.rb
253
+ - lib/treat/workers/processors/tokenizers/open_nlp.rb
235
254
  - lib/treat/workers/processors/tokenizers/ptb.rb
236
255
  - lib/treat/workers/processors/tokenizers/punkt.rb
237
256
  - lib/treat/workers/processors/tokenizers/stanford.rb
@@ -251,20 +270,25 @@ files:
251
270
  - spec/learning/export.rb
252
271
  - spec/learning/problem.rb
253
272
  - spec/learning/question.rb
273
+ - spec/sandbox.rb
254
274
  - spec/treat.rb
255
275
  - spec/workers/agnostic.rb
256
276
  - spec/workers/english.rb
257
277
  - spec/workers/examples/english/economist/hungarys_troubles.txt
258
278
  - spec/workers/examples/english/economist/saving_the_euro.odt
259
279
  - spec/workers/examples/english/mathematicians/archimedes.abw
280
+ - spec/workers/examples/english/mathematicians/euler.html
260
281
  - spec/workers/examples/english/mathematicians/gauss.pdf
261
282
  - spec/workers/examples/english/mathematicians/leibniz.txt
262
283
  - spec/workers/examples/english/mathematicians/newton.doc
284
+ - spec/workers/examples/english/mathematicians/pythagoras.docx
263
285
  - spec/workers/examples/english/phrase.xml
264
286
  - spec/workers/examples/english/test.txt
265
287
  - models/MANIFEST
266
288
  - tmp/MANIFEST
289
+ - files/21552208.html
267
290
  - files/MANIFEST
291
+ - files/nethttp-cheat-sheet-2940.html
268
292
  - README.md
269
293
  - LICENSE
270
294
  homepage: https://github.com/louismullie/treat
@@ -288,7 +312,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
288
312
  version: '0'
289
313
  requirements: []
290
314
  rubyforge_project:
291
- rubygems_version: 1.8.24
315
+ rubygems_version: 1.8.25
292
316
  signing_key:
293
317
  specification_version: 3
294
318
  summary: Text Retrieval, Extraction and Annotation Toolkit.