charles 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. data/.gitignore +17 -0
  2. data/Gemfile +4 -0
  3. data/LICENSE +22 -0
  4. data/README.md +10 -0
  5. data/Rakefile +13 -0
  6. data/bin/charles +23 -0
  7. data/charles.gemspec +25 -0
  8. data/lib/charles/document.rb +177 -0
  9. data/lib/charles/images.rb +77 -0
  10. data/lib/charles/internal_attributes.rb +40 -0
  11. data/lib/charles/misc.rb +84 -0
  12. data/lib/charles/version.rb +3 -0
  13. data/lib/charles.rb +66 -0
  14. data/optimise.rb +72 -0
  15. data/test/articles/20120525_1525_straitstimes.com.content.txt +5 -0
  16. data/test/articles/20120525_1525_straitstimes.com.html +1929 -0
  17. data/test/articles/20120525_1534_bbc.co.uk.content.txt +19 -0
  18. data/test/articles/20120525_1534_bbc.co.uk.html +1777 -0
  19. data/test/articles/20120525_1727_bbc.co.uk.content.txt +39 -0
  20. data/test/articles/20120525_1727_bbc.co.uk.html +1889 -0
  21. data/test/articles/20120525_1730_channelnewsasia.com.content.txt +19 -0
  22. data/test/articles/20120525_1730_channelnewsasia.com.html +963 -0
  23. data/test/articles/20120525_1733_channelnewsasia.com.content.txt +19 -0
  24. data/test/articles/20120525_1733_channelnewsasia.com.html +923 -0
  25. data/test/articles/20120525_1736_nytimes.com.content.txt +21 -0
  26. data/test/articles/20120525_1736_nytimes.com.html +856 -0
  27. data/test/articles/20120525_1743_nytimes.com.content.txt +11 -0
  28. data/test/articles/20120525_1743_nytimes.com.html +98 -0
  29. data/test/articles/20120525_1747_techcrunch.com.content.txt +11 -0
  30. data/test/articles/20120525_1747_techcrunch.com.html +1098 -0
  31. data/test/articles/20120528_0929_washingtonpost.com.content.txt +23 -0
  32. data/test/articles/20120528_0929_washingtonpost.com.html +3335 -0
  33. data/test/articles/20120528_0931_latimes.com.content.txt +45 -0
  34. data/test/articles/20120528_0931_latimes.com.html +6371 -0
  35. data/test/articles/20120528_0938_entertainment.time.com.content.txt +31 -0
  36. data/test/articles/20120528_0938_entertainment.time.com.html +1261 -0
  37. data/test/articles/20120528_0943_bloomberg.com.content.txt +13 -0
  38. data/test/articles/20120528_0943_bloomberg.com.html +2874 -0
  39. data/test/articles/20120528_0947_reuters.com.content.txt +35 -0
  40. data/test/articles/20120528_0947_reuters.com.html +1563 -0
  41. data/test/articles/20120528_1106_reuters.com.content.txt +5 -0
  42. data/test/articles/20120528_1106_reuters.com.html +551 -0
  43. data/test/articles/20120528_1109_musicthing.blogspot.co.uk.content.txt +19 -0
  44. data/test/articles/20120528_1109_musicthing.blogspot.co.uk.html +865 -0
  45. data/test/articles/20120528_1114_mobileinc.co.uk.content.txt +15 -0
  46. data/test/articles/20120528_1114_mobileinc.co.uk.html +550 -0
  47. data/test/articles/20120528_1119_forbes.com.content.txt +15 -0
  48. data/test/articles/20120528_1119_forbes.com.html +1406 -0
  49. data/test/articles/20120528_1122_techcrunch.com.content.txt +58 -0
  50. data/test/articles/20120528_1122_techcrunch.com.html +1131 -0
  51. data/test/articles/20120528_1126_blogs.adobe.com.content.txt +13 -0
  52. data/test/articles/20120528_1126_blogs.adobe.com.html +303 -0
  53. data/test/articles/20120528_1142_thestar.com.my.content.txt +27 -0
  54. data/test/articles/20120528_1142_thestar.com.my.html +943 -0
  55. data/test/articles/20120528_1146_suntimes.com.content.txt +33 -0
  56. data/test/articles/20120528_1146_suntimes.com.html +5166 -0
  57. data/test/articles/20120528_1148_asiaone.com.content.txt +27 -0
  58. data/test/articles/20120528_1148_asiaone.com.html +1070 -0
  59. data/test/articles/20120529_1120_online.wsj.com.content.txt +56 -0
  60. data/test/articles/20120529_1120_online.wsj.com.html +3035 -0
  61. data/test/articles/20120529_1122_online.wsj.com.content.txt +35 -0
  62. data/test/articles/20120529_1122_online.wsj.com.html +2725 -0
  63. data/test/articles/20120529_1127_smh.com.au.content.txt +13 -0
  64. data/test/articles/20120529_1127_smh.com.au.html +2034 -0
  65. data/test/articles.yml +221 -0
  66. data/test/test_charles.rb +70 -0
  67. metadata +279 -0
@@ -0,0 +1,33 @@
1
+ INDIANAPOLIS � You can debate whether the Indianapolis 500 is the world�s greatest race.
2
+
3
+ What�s not open to discussion is that the Brickyard still knows how to put on a great show.
4
+
5
+ In an emotional tribute to fallen champion Dan Wheldon, three of his closest friends were poised at the end to duel for the 96th Indy 500 championship. On Memorial Day weekend, there was no greater salute to Wheldon, who died in a crash last October in Las Vegas after winning his second Indy 500 here a year ago.
6
+
7
+ ��What a race!�� said Dario Franchitti, who etched his own name a little deeper in IndyCar history by capturing his third Indy 500 title. ��I think D-Dub [Wheldon] would be proud of that one.��
8
+
9
+ Finishing second and third were Scott Dixon, Franchitti�s Target teammate, and Tony Kanaan, who took a good shot at shaking his unofficial title as the best driver who has never won the Indy 500 but came up short.
10
+
11
+ ��Actually, it was good,�� Kanaan said softly afterward. ��It felt good. His three best friends fighting for the win. I knew one of us would do it for him. I haven�t done it yet. But to lose like this, it�s an honor. We battled � me and Dario and Dixie. Danny, wherever he is right now, I think he�s extremely happy. His three best friends in the top three.��
12
+
13
+ Franchitti, who also won here in 2007 and 2010, took the checkered flag after a rousing finish that rewarded an estimated crowd of 220,000 that braved 91-degree heat, one degree short of the hottest 500, in 1937.
14
+
15
+ ��This means the world,�� said the Scotsman, flanked by his wife, actress Ashley Judd. ��This is Indianapolis. To be on this trophy on either side of Dan, that means more than anything.��
16
+
17
+ The new DW12 Dallara chassis, named for Wheldon, held up well. And the Honda, after taking a backseat to Chevrolet all month, was the engine to have on a race day that saw a record 35 lead changes.
18
+
19
+ With two laps to go, Franchitti went past Dixon for the lead. Also passing Dixon was Takuma Sato. After stalking Franchitti, Sato tried to pass him on the inside in Turn 1 of the final lap.
20
+
21
+ When Sato spun during his bold move, Franchitti was free to take the checkered flag under caution.
22
+
23
+ ��It was the very last lap, and I was already in,�� Sato said, dismissing the thought that he made his move too soon. ��He didn�t give me enough room. He didn�t move up. I had nowhere to go. I�m very disappointed.��
24
+
25
+ Franchitti�s explanation made the moment sound like a veteran simply hanging in there against a worthy young challenger.
26
+
27
+ ��Takuma�s very aggressive,�� Franchitti said. ��He thought that was his chance. I didn�t touch him. I didn�t squeeze him down. He just lost the rear of the car.��
28
+
29
+ Franchitti, one of 10 drivers who has won at least three Indy 500s, survived an early incident in which E.J. Viso bumped him in the pits. That required a quick nose-cone job.
30
+
31
+ Although Marco Andretti led the most laps (59), by the end of the race it was clear that Dixon (53) and Franchitti (23) had the cars to beat, with Sato (31) also driving a fine race.
32
+
33
+ ��Dario did a helluva job today,�� Dixon said. ��It�s tough when you spend so much time out here and you get so close, then it gets ripped away. But I�m super happy for Dario.��