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,27 @@
1
+ He may not have been successful in the Hougang by-election but, for People's Action Party's (PAP's) Desmond Choo, it is back to work today, helping residents on the ground.
2
+
3
+ Said the 34-year-old: "Let's remain true to what we have always set out to do, which is to help residents solve their problems.
4
+
5
+ "Many residents have said that they want to come by, and there are some follow-up cases that we need to do... The programmes (for residents) still need a lot of fund raising."
6
+
7
+ Despite his defeat, Mr Choo appeared upbeat before heading out to thank residents in Hougang yesterday morning.
8
+
9
+ At the PAP's Hougang branch office, he told reporters that he has "no regrets" about his "heartfelt campaign".
10
+
11
+ He was also encouraged by his larger vote share this time, compared to that in the General Election (GE) last year.
12
+
13
+ "We have an improvement in the percentage, reversed a downward trend, which is a big positive for myself and for the team... I believe that the process of change has started."
14
+
15
+ Mr Choo garnered 37.9 per cent of the votes in the by-election, compared to 35.2 per cent in last year's GE. In the 2006 GE, PAP secured 37.3 per cent of the votes in Hougang. Waving to residents from a lorry that took him around Hougang's public and private estates, Mr Choo was greeted by cheers and jeers. Still, he was heartened by the reception, saying it was "warmer" and better than it was at last year's tour to thank residents.
16
+
17
+ Last Saturday night, newly minted Member of Parliament for Hougang Png Eng Huat called upon Mr Choo to back the town council's efforts in pushing for upgrading in the constituency.
18
+
19
+ To this, Mr Choo said yesterday: "As long as the projects are sound, practicable, and are in the best interests of residents, I will try my best to support these programmes."
20
+
21
+ There was a chance meeting between Workers' Party (WP) and PAP members on their thank-you tours along Hougang Avenue 2, with spontaneous clapping erupting from both parties.
22
+
23
+ Hoping to catch up with Mr Png over a cup of coffee, Mr Choo said in Mandarin: "I told him, 'I'll wait till you aren't so busy and we will make a date'... We have exchanged phone numbers, he can look for me any time."
24
+
25
+ At an event last night, Deputy Prime Minister Teo Chee Hean was asked about WP chief Low Thia Khiang's intention to put the by-election behind them and work together with the PAP.
26
+
27
+ Mr Teo said: "I do hope that he will move away from the combative tone he took during the by-election and work in a constructive way with the Government."