chrislo-sourceclassifier 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (316) hide show
  1. data/Manifest +0 -312
  2. data/Rakefile +2 -2
  3. data/sourceclassifier.gemspec +6 -6
  4. metadata +4 -316
  5. data/sources/gcc/ackermann.gcc-2.gcc +0 -93
  6. data/sources/gcc/ackermann.gcc-3.gcc +0 -20
  7. data/sources/gcc/ary.gcc +0 -40
  8. data/sources/gcc/binarytrees.gcc +0 -136
  9. data/sources/gcc/binarytrees.gcc-2.gcc +0 -140
  10. data/sources/gcc/binarytrees.gcc-3.gcc +0 -134
  11. data/sources/gcc/chameneos.gcc +0 -117
  12. data/sources/gcc/chameneos.gcc-2.gcc +0 -134
  13. data/sources/gcc/chameneos.gcc-3.gcc +0 -120
  14. data/sources/gcc/chameneosredux.gcc +0 -306
  15. data/sources/gcc/echo.gcc +0 -144
  16. data/sources/gcc/except.gcc +0 -52
  17. data/sources/gcc/fannkuch.gcc +0 -105
  18. data/sources/gcc/fannkuch.gcc-2.gcc +0 -94
  19. data/sources/gcc/fasta.gcc +0 -158
  20. data/sources/gcc/fasta.gcc-2.gcc +0 -132
  21. data/sources/gcc/fasta.gcc-3.gcc +0 -145
  22. data/sources/gcc/fasta.gcc-4.gcc +0 -141
  23. data/sources/gcc/fibo.gcc +0 -20
  24. data/sources/gcc/harmonic.gcc +0 -22
  25. data/sources/gcc/hash.gcc +0 -31
  26. data/sources/gcc/hash2.gcc +0 -38
  27. data/sources/gcc/heapsort.gcc +0 -72
  28. data/sources/gcc/hello.gcc-2.gcc +0 -12
  29. data/sources/gcc/hello.gcc-3.gcc +0 -20
  30. data/sources/gcc/knucleotide.gcc +0 -173
  31. data/sources/gcc/knucleotide.gcc-2.gcc +0 -168
  32. data/sources/gcc/lists.gcc +0 -226
  33. data/sources/gcc/magicsquares.gcc +0 -378
  34. data/sources/gcc/mandelbrot.gcc +0 -84
  35. data/sources/gcc/mandelbrot.gcc-2.gcc +0 -63
  36. data/sources/gcc/mandelbrot.gcc-3.gcc +0 -91
  37. data/sources/gcc/mandelbrot.gcc-4.gcc +0 -78
  38. data/sources/gcc/matrix.gcc +0 -66
  39. data/sources/gcc/message.gcc-2.gcc +0 -72
  40. data/sources/gcc/message.gcc-3.gcc +0 -64
  41. data/sources/gcc/methcall.gcc +0 -89
  42. data/sources/gcc/moments.gcc +0 -120
  43. data/sources/gcc/nbody.gcc +0 -142
  44. data/sources/gcc/nbody.gcc-2.gcc +0 -143
  45. data/sources/gcc/nbody.gcc-3.gcc +0 -142
  46. data/sources/gcc/nestedloop.gcc +0 -25
  47. data/sources/gcc/nsieve.gcc +0 -35
  48. data/sources/gcc/nsievebits.gcc-2.gcc +0 -37
  49. data/sources/gcc/nsievebits.gcc-3.gcc +0 -53
  50. data/sources/gcc/objinst.gcc +0 -95
  51. data/sources/gcc/partialsums.gcc +0 -86
  52. data/sources/gcc/partialsums.gcc-3.gcc +0 -81
  53. data/sources/gcc/partialsums.gcc-4.gcc +0 -68
  54. data/sources/gcc/pidigits.gcc +0 -105
  55. data/sources/gcc/primes.gcc +0 -75
  56. data/sources/gcc/prodcons.gcc +0 -86
  57. data/sources/gcc/random.gcc +0 -29
  58. data/sources/gcc/raytracer.gcc +0 -125
  59. data/sources/gcc/raytracer.gcc-2.gcc +0 -181
  60. data/sources/gcc/recursive.gcc +0 -68
  61. data/sources/gcc/recursive.gcc-2.gcc +0 -55
  62. data/sources/gcc/regexdna.gcc-2.gcc +0 -126
  63. data/sources/gcc/regexmatch.gcc +0 -136
  64. data/sources/gcc/revcomp.gcc +0 -85
  65. data/sources/gcc/revcomp.gcc-2.gcc +0 -88
  66. data/sources/gcc/revcomp.gcc-4.gcc +0 -71
  67. data/sources/gcc/reversefile.gcc +0 -103
  68. data/sources/gcc/reversefile.gcc-2.gcc +0 -56
  69. data/sources/gcc/sieve.gcc +0 -34
  70. data/sources/gcc/spectralnorm.gcc +0 -54
  71. data/sources/gcc/spellcheck.gcc +0 -72
  72. data/sources/gcc/spellcheck.gcc-2.gcc +0 -61
  73. data/sources/gcc/strcat.gcc +0 -38
  74. data/sources/gcc/sumcol.gcc-2.gcc +0 -98
  75. data/sources/gcc/sumcol.gcc-3.gcc +0 -22
  76. data/sources/gcc/sumcol.gcc-4.gcc +0 -18
  77. data/sources/gcc/sumcol.gcc-5.gcc +0 -32
  78. data/sources/gcc/takfp.gcc +0 -23
  79. data/sources/gcc/tcp-stream.gcc +0 -122
  80. data/sources/gcc/tcpecho.gcc +0 -122
  81. data/sources/gcc/tcpecho.gcc-2.gcc +0 -136
  82. data/sources/gcc/tcprequest.gcc +0 -122
  83. data/sources/gcc/threadring.gcc +0 -73
  84. data/sources/gcc/wc.gcc +0 -52
  85. data/sources/gcc/wc.gcc-2.gcc +0 -40
  86. data/sources/gcc/wc.gcc-3.gcc +0 -46
  87. data/sources/gcc/wordfreq.gcc-2.gcc +0 -85
  88. data/sources/perl/ackermann.perl +0 -28
  89. data/sources/perl/ackermann.perl-2.perl +0 -25
  90. data/sources/perl/ackermann.perl-3.perl +0 -20
  91. data/sources/perl/ackermann.perl-4.perl +0 -18
  92. data/sources/perl/ary.perl +0 -25
  93. data/sources/perl/ary.perl-2.perl +0 -23
  94. data/sources/perl/binarytrees.perl +0 -66
  95. data/sources/perl/binarytrees.perl-2.perl +0 -71
  96. data/sources/perl/chameneos.perl +0 -67
  97. data/sources/perl/echo.perl +0 -81
  98. data/sources/perl/except.perl +0 -73
  99. data/sources/perl/fannkuch.perl +0 -44
  100. data/sources/perl/fannkuch.perl-2.perl +0 -38
  101. data/sources/perl/fasta.perl +0 -112
  102. data/sources/perl/fasta.perl-2.perl +0 -135
  103. data/sources/perl/fasta.perl-4.perl +0 -122
  104. data/sources/perl/fibo.perl +0 -15
  105. data/sources/perl/fibo.perl-2.perl +0 -0
  106. data/sources/perl/fibo.perl-3.perl +0 -0
  107. data/sources/perl/harmonic.perl +0 -7
  108. data/sources/perl/hash.perl +0 -23
  109. data/sources/perl/hash.perl-2.perl +0 -17
  110. data/sources/perl/hash.perl-3.perl +0 -24
  111. data/sources/perl/hash2.perl +0 -16
  112. data/sources/perl/heapsort.perl +0 -65
  113. data/sources/perl/heapsort.perl-2.perl +0 -0
  114. data/sources/perl/hello.perl +0 -5
  115. data/sources/perl/knucleotide.perl-2.perl +0 -30
  116. data/sources/perl/lists.perl +0 -48
  117. data/sources/perl/mandelbrot.perl-2.perl +0 -32
  118. data/sources/perl/matrix.perl +0 -59
  119. data/sources/perl/matrix.perl-2.perl +0 -0
  120. data/sources/perl/matrix.perl-3.perl +0 -0
  121. data/sources/perl/message.perl +0 -27
  122. data/sources/perl/methcall.perl +0 -66
  123. data/sources/perl/moments.perl +0 -44
  124. data/sources/perl/nbody.perl +0 -108
  125. data/sources/perl/nestedloop.perl +0 -28
  126. data/sources/perl/nsieve.perl-2.perl +0 -41
  127. data/sources/perl/nsieve.perl-4.perl +0 -43
  128. data/sources/perl/nsievebits.perl +0 -37
  129. data/sources/perl/objinst.perl +0 -73
  130. data/sources/perl/partialsums.perl-3.perl +0 -31
  131. data/sources/perl/pidigits.perl +0 -52
  132. data/sources/perl/pidigits.perl-2.perl +0 -47
  133. data/sources/perl/process.perl +0 -50
  134. data/sources/perl/prodcons.perl +0 -47
  135. data/sources/perl/random.perl-4.perl +0 -17
  136. data/sources/perl/recursive.perl-2.perl +0 -57
  137. data/sources/perl/regexdna.perl +0 -48
  138. data/sources/perl/regexdna.perl-2.perl +0 -43
  139. data/sources/perl/regexdna.perl-3.perl +0 -50
  140. data/sources/perl/regexdna.perl-4.perl +0 -49
  141. data/sources/perl/regexdna.perl-5.perl +0 -42
  142. data/sources/perl/regexdna.perl-6.perl +0 -43
  143. data/sources/perl/regexmatch.perl +0 -35
  144. data/sources/perl/revcomp.perl-2.perl +0 -34
  145. data/sources/perl/reversefile.perl +0 -8
  146. data/sources/perl/reversefile.perl-2.perl +0 -0
  147. data/sources/perl/reversefile.perl-3.perl +0 -0
  148. data/sources/perl/sieve.perl +0 -23
  149. data/sources/perl/spectralnorm.perl-2.perl +0 -54
  150. data/sources/perl/spellcheck.perl +0 -24
  151. data/sources/perl/strcat.perl +0 -13
  152. data/sources/perl/strcat.perl-2.perl +0 -0
  153. data/sources/perl/sumcol.perl +0 -8
  154. data/sources/perl/takfp.perl +0 -23
  155. data/sources/perl/takfp.perl-3.perl +0 -20
  156. data/sources/perl/tcpecho.perl +0 -61
  157. data/sources/perl/tcprequest.perl +0 -61
  158. data/sources/perl/tcpstream.perl +0 -61
  159. data/sources/perl/threadring.perl +0 -55
  160. data/sources/perl/threadring.perl-2.perl +0 -43
  161. data/sources/perl/wc.perl +0 -20
  162. data/sources/perl/wc.perl-2.perl +0 -14
  163. data/sources/perl/wordfreq.perl +0 -22
  164. data/sources/perl/wordfreq.perl-3.perl +0 -0
  165. data/sources/perl/wordfreq.perl3.perl +0 -0
  166. data/sources/python/ackermann.python +0 -21
  167. data/sources/python/ary.python +0 -19
  168. data/sources/python/binarytrees.python +0 -39
  169. data/sources/python/binarytrees.python-3.python +0 -44
  170. data/sources/python/chameneos.python-6.python +0 -73
  171. data/sources/python/chameneosredux.python +0 -126
  172. data/sources/python/chameneosredux.python-2.python +0 -122
  173. data/sources/python/dispatch.python +0 -176
  174. data/sources/python/dispatch.python-2.python +0 -136
  175. data/sources/python/echo.python +0 -64
  176. data/sources/python/except.python +0 -62
  177. data/sources/python/fannkuch.python +0 -50
  178. data/sources/python/fannkuch.python-2.python +0 -54
  179. data/sources/python/fasta.python-2.python +0 -79
  180. data/sources/python/fibo.python +0 -17
  181. data/sources/python/fibo.python-2.python +0 -0
  182. data/sources/python/fibo.python-3.python +0 -0
  183. data/sources/python/harmonic.python-2.python +0 -9
  184. data/sources/python/hash.python +0 -21
  185. data/sources/python/hash.python-2.python +0 -0
  186. data/sources/python/hash2.python +0 -30
  187. data/sources/python/heapsort.python-3.python +0 -66
  188. data/sources/python/hello.python +0 -5
  189. data/sources/python/implicitode.python +0 -231
  190. data/sources/python/knucleotide.python +0 -55
  191. data/sources/python/lists.python +0 -44
  192. data/sources/python/magicsquares.python +0 -145
  193. data/sources/python/mandelbrot.python +0 -44
  194. data/sources/python/mandelbrot.python-2.python +0 -35
  195. data/sources/python/mandelbrot.python-3.python +0 -46
  196. data/sources/python/matrix.python +0 -34
  197. data/sources/python/matrix.python-2.python +0 -23
  198. data/sources/python/message.python +0 -24
  199. data/sources/python/message.python-2.python +0 -20
  200. data/sources/python/message.python-3.python +0 -19
  201. data/sources/python/meteor.python +0 -210
  202. data/sources/python/meteor.python-2.python +0 -192
  203. data/sources/python/methcall.python +0 -51
  204. data/sources/python/moments.python +0 -65
  205. data/sources/python/nbody.python +0 -123
  206. data/sources/python/nbody.python-2.python +0 -120
  207. data/sources/python/nestedloop.python +0 -24
  208. data/sources/python/nsieve.python +0 -27
  209. data/sources/python/nsieve.python-2.python +0 -23
  210. data/sources/python/nsieve.python-4.python +0 -25
  211. data/sources/python/nsievebits.python +0 -27
  212. data/sources/python/nsievebits.python-2.python +0 -43
  213. data/sources/python/objinst.python +0 -53
  214. data/sources/python/partialsums.python +0 -37
  215. data/sources/python/partialsums.python-2.python +0 -35
  216. data/sources/python/partialsums.python-3.python +0 -48
  217. data/sources/python/pidigits.python +0 -38
  218. data/sources/python/pidigits.python-3.python +0 -63
  219. data/sources/python/pidigits.python-4.python +0 -24
  220. data/sources/python/process.python +0 -51
  221. data/sources/python/process.python-2.python +0 -133
  222. data/sources/python/prodcons.python +0 -51
  223. data/sources/python/prodcons.python-2.python +0 -0
  224. data/sources/python/random.python +0 -27
  225. data/sources/python/raytracer.python +0 -203
  226. data/sources/python/recursive.python +0 -35
  227. data/sources/python/regexdna.python +0 -39
  228. data/sources/python/regexdna.python-2.python +0 -34
  229. data/sources/python/regexmatch.python +0 -36
  230. data/sources/python/revcomp.python-3.python +0 -31
  231. data/sources/python/reversefile.python +0 -13
  232. data/sources/python/reversefile.python-2.python +0 -0
  233. data/sources/python/reversefile.python-3.python +0 -0
  234. data/sources/python/sieve.python +0 -50
  235. data/sources/python/spectralnorm.python-2.python +0 -36
  236. data/sources/python/spellcheck.python +0 -17
  237. data/sources/python/strcat.python +0 -35
  238. data/sources/python/strcat.python-2.python +0 -0
  239. data/sources/python/sumcol.python-2.python +0 -0
  240. data/sources/python/sumcol.python-3.python +0 -0
  241. data/sources/python/takfp.python +0 -19
  242. data/sources/python/tcpecho.python +0 -67
  243. data/sources/python/tcprequest.python +0 -67
  244. data/sources/python/tcpstream.python +0 -67
  245. data/sources/python/threadring.python +0 -47
  246. data/sources/python/threadring.python-2.python +0 -40
  247. data/sources/python/threadring.python-3.python +0 -34
  248. data/sources/python/wc.python-2.python +0 -19
  249. data/sources/python/wordfreq.python +0 -43
  250. data/sources/python/wordfreq.python-2.python +0 -0
  251. data/sources/python/wordfreq.python-3.python +0 -28
  252. data/sources/python/wordfreq.python-4.python +0 -38
  253. data/sources/python/wordfreq.python-5.python +0 -39
  254. data/sources/ruby/ackermann.ruby +0 -17
  255. data/sources/ruby/ackermann.ruby-5.ruby +0 -153
  256. data/sources/ruby/ary.ruby +0 -22
  257. data/sources/ruby/binarytrees.ruby-2.ruby +0 -55
  258. data/sources/ruby/chameneos.ruby-2.ruby +0 -71
  259. data/sources/ruby/dispatch.ruby +0 -114
  260. data/sources/ruby/echo.ruby +0 -41
  261. data/sources/ruby/except.ruby +0 -61
  262. data/sources/ruby/except.ruby-2.ruby +0 -61
  263. data/sources/ruby/fannkuch.ruby +0 -42
  264. data/sources/ruby/fasta.ruby +0 -81
  265. data/sources/ruby/fibo.ruby +0 -15
  266. data/sources/ruby/harmonic.ruby-2.ruby +0 -15
  267. data/sources/ruby/hash.ruby +0 -19
  268. data/sources/ruby/hash2.ruby +0 -23
  269. data/sources/ruby/heapsort.ruby +0 -55
  270. data/sources/ruby/hello.ruby +0 -6
  271. data/sources/ruby/knucleotide.ruby-2.ruby +0 -44
  272. data/sources/ruby/lists.ruby +0 -46
  273. data/sources/ruby/mandelbrot.ruby-3.ruby +0 -63
  274. data/sources/ruby/matrix.ruby +0 -40
  275. data/sources/ruby/matrix.ruby-2.ruby +0 -30
  276. data/sources/ruby/message.ruby +0 -29
  277. data/sources/ruby/message.ruby-2.ruby +0 -24
  278. data/sources/ruby/meteor.ruby +0 -386
  279. data/sources/ruby/meteor.ruby-2.ruby +0 -561
  280. data/sources/ruby/methcall.ruby +0 -58
  281. data/sources/ruby/methcall.ruby-2.ruby +0 -54
  282. data/sources/ruby/moments.ruby +0 -64
  283. data/sources/ruby/nbody.ruby-2.ruby +0 -145
  284. data/sources/ruby/nestedloop.ruby +0 -22
  285. data/sources/ruby/nsieve.ruby +0 -36
  286. data/sources/ruby/nsieve.ruby-2.ruby +0 -25
  287. data/sources/ruby/nsievebits.ruby-2.ruby +0 -42
  288. data/sources/ruby/objinst.ruby +0 -58
  289. data/sources/ruby/partialsums.ruby +0 -39
  290. data/sources/ruby/pidigits.ruby +0 -92
  291. data/sources/ruby/pidigits.ruby-2.ruby +0 -109
  292. data/sources/ruby/prodcons.ruby +0 -41
  293. data/sources/ruby/random.ruby +0 -17
  294. data/sources/ruby/recursive.ruby-2.ruby +0 -53
  295. data/sources/ruby/regexdna.ruby +0 -32
  296. data/sources/ruby/regexdna.ruby-2.ruby +0 -38
  297. data/sources/ruby/regexmatch.ruby +0 -33
  298. data/sources/ruby/revcomp.ruby +0 -28
  299. data/sources/ruby/reversefile.ruby +0 -7
  300. data/sources/ruby/sieve.ruby +0 -30
  301. data/sources/ruby/spectralnorm.ruby +0 -48
  302. data/sources/ruby/spellcheck.ruby +0 -18
  303. data/sources/ruby/spellcheck.ruby-2.ruby +0 -0
  304. data/sources/ruby/strcat.ruby +0 -12
  305. data/sources/ruby/strcat.ruby-2.ruby +0 -12
  306. data/sources/ruby/sumcol.ruby +0 -12
  307. data/sources/ruby/sumcol.ruby-2.ruby +0 -5
  308. data/sources/ruby/takfp.ruby +0 -15
  309. data/sources/ruby/tcpecho.ruby +0 -45
  310. data/sources/ruby/tcprequest.ruby +0 -45
  311. data/sources/ruby/tcpstream.ruby +0 -45
  312. data/sources/ruby/threadring.ruby +0 -61
  313. data/sources/ruby/threadring.ruby-2.ruby +0 -33
  314. data/sources/ruby/wc.ruby +0 -15
  315. data/sources/ruby/wordfreq.ruby +0 -17
  316. data/sources/ruby/wordfreq.ruby2.ruby +0 -0
data/Manifest CHANGED
@@ -4,318 +4,6 @@ lib/trainer.rb
4
4
  Rakefile
5
5
  README.textile
6
6
  sourceclassifier.gemspec
7
- sources/gcc/ackermann.gcc-2.gcc
8
- sources/gcc/ackermann.gcc-3.gcc
9
- sources/gcc/ary.gcc
10
- sources/gcc/binarytrees.gcc
11
- sources/gcc/binarytrees.gcc-2.gcc
12
- sources/gcc/binarytrees.gcc-3.gcc
13
- sources/gcc/chameneos.gcc
14
- sources/gcc/chameneos.gcc-2.gcc
15
- sources/gcc/chameneos.gcc-3.gcc
16
- sources/gcc/chameneosredux.gcc
17
- sources/gcc/echo.gcc
18
- sources/gcc/except.gcc
19
- sources/gcc/fannkuch.gcc
20
- sources/gcc/fannkuch.gcc-2.gcc
21
- sources/gcc/fasta.gcc
22
- sources/gcc/fasta.gcc-2.gcc
23
- sources/gcc/fasta.gcc-3.gcc
24
- sources/gcc/fasta.gcc-4.gcc
25
- sources/gcc/fibo.gcc
26
- sources/gcc/harmonic.gcc
27
- sources/gcc/hash.gcc
28
- sources/gcc/hash2.gcc
29
- sources/gcc/heapsort.gcc
30
- sources/gcc/hello.gcc-2.gcc
31
- sources/gcc/hello.gcc-3.gcc
32
- sources/gcc/knucleotide.gcc
33
- sources/gcc/knucleotide.gcc-2.gcc
34
- sources/gcc/lists.gcc
35
- sources/gcc/magicsquares.gcc
36
- sources/gcc/mandelbrot.gcc
37
- sources/gcc/mandelbrot.gcc-2.gcc
38
- sources/gcc/mandelbrot.gcc-3.gcc
39
- sources/gcc/mandelbrot.gcc-4.gcc
40
- sources/gcc/matrix.gcc
41
- sources/gcc/message.gcc-2.gcc
42
- sources/gcc/message.gcc-3.gcc
43
- sources/gcc/methcall.gcc
44
- sources/gcc/moments.gcc
45
- sources/gcc/nbody.gcc
46
- sources/gcc/nbody.gcc-2.gcc
47
- sources/gcc/nbody.gcc-3.gcc
48
- sources/gcc/nestedloop.gcc
49
- sources/gcc/nsieve.gcc
50
- sources/gcc/nsievebits.gcc-2.gcc
51
- sources/gcc/nsievebits.gcc-3.gcc
52
- sources/gcc/objinst.gcc
53
- sources/gcc/partialsums.gcc
54
- sources/gcc/partialsums.gcc-3.gcc
55
- sources/gcc/partialsums.gcc-4.gcc
56
- sources/gcc/pidigits.gcc
57
- sources/gcc/primes.gcc
58
- sources/gcc/prodcons.gcc
59
- sources/gcc/random.gcc
60
- sources/gcc/raytracer.gcc
61
- sources/gcc/raytracer.gcc-2.gcc
62
- sources/gcc/recursive.gcc
63
- sources/gcc/recursive.gcc-2.gcc
64
- sources/gcc/regexdna.gcc-2.gcc
65
- sources/gcc/regexmatch.gcc
66
- sources/gcc/revcomp.gcc
67
- sources/gcc/revcomp.gcc-2.gcc
68
- sources/gcc/revcomp.gcc-4.gcc
69
- sources/gcc/reversefile.gcc
70
- sources/gcc/reversefile.gcc-2.gcc
71
- sources/gcc/sieve.gcc
72
- sources/gcc/spectralnorm.gcc
73
- sources/gcc/spellcheck.gcc
74
- sources/gcc/spellcheck.gcc-2.gcc
75
- sources/gcc/strcat.gcc
76
- sources/gcc/sumcol.gcc-2.gcc
77
- sources/gcc/sumcol.gcc-3.gcc
78
- sources/gcc/sumcol.gcc-4.gcc
79
- sources/gcc/sumcol.gcc-5.gcc
80
- sources/gcc/takfp.gcc
81
- sources/gcc/tcp-stream.gcc
82
- sources/gcc/tcpecho.gcc
83
- sources/gcc/tcpecho.gcc-2.gcc
84
- sources/gcc/tcprequest.gcc
85
- sources/gcc/threadring.gcc
86
- sources/gcc/wc.gcc
87
- sources/gcc/wc.gcc-2.gcc
88
- sources/gcc/wc.gcc-3.gcc
89
- sources/gcc/wordfreq.gcc-2.gcc
90
- sources/perl/ackermann.perl
91
- sources/perl/ackermann.perl-2.perl
92
- sources/perl/ackermann.perl-3.perl
93
- sources/perl/ackermann.perl-4.perl
94
- sources/perl/ary.perl
95
- sources/perl/ary.perl-2.perl
96
- sources/perl/binarytrees.perl
97
- sources/perl/binarytrees.perl-2.perl
98
- sources/perl/chameneos.perl
99
- sources/perl/echo.perl
100
- sources/perl/except.perl
101
- sources/perl/fannkuch.perl
102
- sources/perl/fannkuch.perl-2.perl
103
- sources/perl/fasta.perl
104
- sources/perl/fasta.perl-2.perl
105
- sources/perl/fasta.perl-4.perl
106
- sources/perl/fibo.perl
107
- sources/perl/fibo.perl-2.perl
108
- sources/perl/fibo.perl-3.perl
109
- sources/perl/harmonic.perl
110
- sources/perl/hash.perl
111
- sources/perl/hash.perl-2.perl
112
- sources/perl/hash.perl-3.perl
113
- sources/perl/hash2.perl
114
- sources/perl/heapsort.perl
115
- sources/perl/heapsort.perl-2.perl
116
- sources/perl/hello.perl
117
- sources/perl/knucleotide.perl-2.perl
118
- sources/perl/lists.perl
119
- sources/perl/mandelbrot.perl-2.perl
120
- sources/perl/matrix.perl
121
- sources/perl/matrix.perl-2.perl
122
- sources/perl/matrix.perl-3.perl
123
- sources/perl/message.perl
124
- sources/perl/methcall.perl
125
- sources/perl/moments.perl
126
- sources/perl/nbody.perl
127
- sources/perl/nestedloop.perl
128
- sources/perl/nsieve.perl-2.perl
129
- sources/perl/nsieve.perl-4.perl
130
- sources/perl/nsievebits.perl
131
- sources/perl/objinst.perl
132
- sources/perl/partialsums.perl-3.perl
133
- sources/perl/pidigits.perl
134
- sources/perl/pidigits.perl-2.perl
135
- sources/perl/process.perl
136
- sources/perl/prodcons.perl
137
- sources/perl/random.perl-4.perl
138
- sources/perl/recursive.perl-2.perl
139
- sources/perl/regexdna.perl
140
- sources/perl/regexdna.perl-2.perl
141
- sources/perl/regexdna.perl-3.perl
142
- sources/perl/regexdna.perl-4.perl
143
- sources/perl/regexdna.perl-5.perl
144
- sources/perl/regexdna.perl-6.perl
145
- sources/perl/regexmatch.perl
146
- sources/perl/revcomp.perl-2.perl
147
- sources/perl/reversefile.perl
148
- sources/perl/reversefile.perl-2.perl
149
- sources/perl/reversefile.perl-3.perl
150
- sources/perl/sieve.perl
151
- sources/perl/spectralnorm.perl-2.perl
152
- sources/perl/spellcheck.perl
153
- sources/perl/strcat.perl
154
- sources/perl/strcat.perl-2.perl
155
- sources/perl/sumcol.perl
156
- sources/perl/takfp.perl
157
- sources/perl/takfp.perl-3.perl
158
- sources/perl/tcpecho.perl
159
- sources/perl/tcprequest.perl
160
- sources/perl/tcpstream.perl
161
- sources/perl/threadring.perl
162
- sources/perl/threadring.perl-2.perl
163
- sources/perl/wc.perl
164
- sources/perl/wc.perl-2.perl
165
- sources/perl/wordfreq.perl
166
- sources/perl/wordfreq.perl-3.perl
167
- sources/perl/wordfreq.perl3.perl
168
- sources/python/ackermann.python
169
- sources/python/ary.python
170
- sources/python/binarytrees.python
171
- sources/python/binarytrees.python-3.python
172
- sources/python/chameneos.python-6.python
173
- sources/python/chameneosredux.python
174
- sources/python/chameneosredux.python-2.python
175
- sources/python/dispatch.python
176
- sources/python/dispatch.python-2.python
177
- sources/python/echo.python
178
- sources/python/except.python
179
- sources/python/fannkuch.python
180
- sources/python/fannkuch.python-2.python
181
- sources/python/fasta.python-2.python
182
- sources/python/fibo.python
183
- sources/python/fibo.python-2.python
184
- sources/python/fibo.python-3.python
185
- sources/python/harmonic.python-2.python
186
- sources/python/hash.python
187
- sources/python/hash.python-2.python
188
- sources/python/hash2.python
189
- sources/python/heapsort.python-3.python
190
- sources/python/hello.python
191
- sources/python/implicitode.python
192
- sources/python/knucleotide.python
193
- sources/python/lists.python
194
- sources/python/magicsquares.python
195
- sources/python/mandelbrot.python
196
- sources/python/mandelbrot.python-2.python
197
- sources/python/mandelbrot.python-3.python
198
- sources/python/matrix.python
199
- sources/python/matrix.python-2.python
200
- sources/python/message.python
201
- sources/python/message.python-2.python
202
- sources/python/message.python-3.python
203
- sources/python/meteor.python
204
- sources/python/meteor.python-2.python
205
- sources/python/methcall.python
206
- sources/python/moments.python
207
- sources/python/nbody.python
208
- sources/python/nbody.python-2.python
209
- sources/python/nestedloop.python
210
- sources/python/nsieve.python
211
- sources/python/nsieve.python-2.python
212
- sources/python/nsieve.python-4.python
213
- sources/python/nsievebits.python
214
- sources/python/nsievebits.python-2.python
215
- sources/python/objinst.python
216
- sources/python/partialsums.python
217
- sources/python/partialsums.python-2.python
218
- sources/python/partialsums.python-3.python
219
- sources/python/pidigits.python
220
- sources/python/pidigits.python-3.python
221
- sources/python/pidigits.python-4.python
222
- sources/python/process.python
223
- sources/python/process.python-2.python
224
- sources/python/prodcons.python
225
- sources/python/prodcons.python-2.python
226
- sources/python/random.python
227
- sources/python/raytracer.python
228
- sources/python/recursive.python
229
- sources/python/regexdna.python
230
- sources/python/regexdna.python-2.python
231
- sources/python/regexmatch.python
232
- sources/python/revcomp.python-3.python
233
- sources/python/reversefile.python
234
- sources/python/reversefile.python-2.python
235
- sources/python/reversefile.python-3.python
236
- sources/python/sieve.python
237
- sources/python/spectralnorm.python-2.python
238
- sources/python/spellcheck.python
239
- sources/python/strcat.python
240
- sources/python/strcat.python-2.python
241
- sources/python/sumcol.python-2.python
242
- sources/python/sumcol.python-3.python
243
- sources/python/takfp.python
244
- sources/python/tcpecho.python
245
- sources/python/tcprequest.python
246
- sources/python/tcpstream.python
247
- sources/python/threadring.python
248
- sources/python/threadring.python-2.python
249
- sources/python/threadring.python-3.python
250
- sources/python/wc.python-2.python
251
- sources/python/wordfreq.python
252
- sources/python/wordfreq.python-2.python
253
- sources/python/wordfreq.python-3.python
254
- sources/python/wordfreq.python-4.python
255
- sources/python/wordfreq.python-5.python
256
- sources/ruby/ackermann.ruby
257
- sources/ruby/ackermann.ruby-5.ruby
258
- sources/ruby/ary.ruby
259
- sources/ruby/binarytrees.ruby-2.ruby
260
- sources/ruby/chameneos.ruby-2.ruby
261
- sources/ruby/dispatch.ruby
262
- sources/ruby/echo.ruby
263
- sources/ruby/except.ruby
264
- sources/ruby/except.ruby-2.ruby
265
- sources/ruby/fannkuch.ruby
266
- sources/ruby/fasta.ruby
267
- sources/ruby/fibo.ruby
268
- sources/ruby/harmonic.ruby-2.ruby
269
- sources/ruby/hash.ruby
270
- sources/ruby/hash2.ruby
271
- sources/ruby/heapsort.ruby
272
- sources/ruby/hello.ruby
273
- sources/ruby/knucleotide.ruby-2.ruby
274
- sources/ruby/lists.ruby
275
- sources/ruby/mandelbrot.ruby-3.ruby
276
- sources/ruby/matrix.ruby
277
- sources/ruby/matrix.ruby-2.ruby
278
- sources/ruby/message.ruby
279
- sources/ruby/message.ruby-2.ruby
280
- sources/ruby/meteor.ruby
281
- sources/ruby/meteor.ruby-2.ruby
282
- sources/ruby/methcall.ruby
283
- sources/ruby/methcall.ruby-2.ruby
284
- sources/ruby/moments.ruby
285
- sources/ruby/nbody.ruby-2.ruby
286
- sources/ruby/nestedloop.ruby
287
- sources/ruby/nsieve.ruby
288
- sources/ruby/nsieve.ruby-2.ruby
289
- sources/ruby/nsievebits.ruby-2.ruby
290
- sources/ruby/objinst.ruby
291
- sources/ruby/partialsums.ruby
292
- sources/ruby/pidigits.ruby
293
- sources/ruby/pidigits.ruby-2.ruby
294
- sources/ruby/prodcons.ruby
295
- sources/ruby/random.ruby
296
- sources/ruby/recursive.ruby-2.ruby
297
- sources/ruby/regexdna.ruby
298
- sources/ruby/regexdna.ruby-2.ruby
299
- sources/ruby/regexmatch.ruby
300
- sources/ruby/revcomp.ruby
301
- sources/ruby/reversefile.ruby
302
- sources/ruby/sieve.ruby
303
- sources/ruby/spectralnorm.ruby
304
- sources/ruby/spellcheck.ruby
305
- sources/ruby/spellcheck.ruby-2.ruby
306
- sources/ruby/strcat.ruby
307
- sources/ruby/strcat.ruby-2.ruby
308
- sources/ruby/sumcol.ruby
309
- sources/ruby/sumcol.ruby-2.ruby
310
- sources/ruby/takfp.ruby
311
- sources/ruby/tcpecho.ruby
312
- sources/ruby/tcprequest.ruby
313
- sources/ruby/tcpstream.ruby
314
- sources/ruby/threadring.ruby
315
- sources/ruby/threadring.ruby-2.ruby
316
- sources/ruby/wc.ruby
317
- sources/ruby/wordfreq.ruby
318
- sources/ruby/wordfreq.ruby2.ruby
319
7
  test/fixtures/sources/gcc/ackermann.gcc-2.gcc
320
8
  test/fixtures/sources/python/ackermann.python
321
9
  test/fixtures/sources/ruby/ackermann.ruby
data/Rakefile CHANGED
@@ -6,8 +6,8 @@ require 'find'
6
6
  require 'fileutils'
7
7
  require 'echoe'
8
8
 
9
- Echoe.new('sourceclassifier', '0.2.0') do |p|
10
- p.description = "Determine the programming language used in a sample"
9
+ Echoe.new('sourceclassifier', '0.2.1') do |p|
10
+ p.description = "Determine the programming language used in a code snippet"
11
11
  p.url = "http://github.com/chrislo/sourceclassifier/tree/master"
12
12
  p.author = "Chris Lowis"
13
13
  p.email = "chris.lowis@gmail.com"
@@ -2,22 +2,22 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{sourceclassifier}
5
- s.version = "0.2.0"
5
+ s.version = "0.2.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Chris Lowis"]
9
- s.date = %q{2008-12-08}
10
- s.description = %q{Determine the programming language used in a sample}
9
+ s.date = %q{2008-12-31}
10
+ s.description = %q{Determine the programming language used in a code snippet}
11
11
  s.email = %q{chris.lowis@gmail.com}
12
12
  s.extra_rdoc_files = ["lib/sourceclassifier.rb", "lib/trainer.rb", "README.textile"]
13
- s.files = ["examples/example.rb", "lib/sourceclassifier.rb", "lib/trainer.rb", "Rakefile", "README.textile", "sourceclassifier.gemspec", "sources/gcc/ackermann.gcc-2.gcc", "sources/gcc/ackermann.gcc-3.gcc", "sources/gcc/ary.gcc", "sources/gcc/binarytrees.gcc", "sources/gcc/binarytrees.gcc-2.gcc", "sources/gcc/binarytrees.gcc-3.gcc", "sources/gcc/chameneos.gcc", "sources/gcc/chameneos.gcc-2.gcc", "sources/gcc/chameneos.gcc-3.gcc", "sources/gcc/chameneosredux.gcc", "sources/gcc/echo.gcc", "sources/gcc/except.gcc", "sources/gcc/fannkuch.gcc", "sources/gcc/fannkuch.gcc-2.gcc", "sources/gcc/fasta.gcc", "sources/gcc/fasta.gcc-2.gcc", "sources/gcc/fasta.gcc-3.gcc", "sources/gcc/fasta.gcc-4.gcc", "sources/gcc/fibo.gcc", "sources/gcc/harmonic.gcc", "sources/gcc/hash.gcc", "sources/gcc/hash2.gcc", "sources/gcc/heapsort.gcc", "sources/gcc/hello.gcc-2.gcc", "sources/gcc/hello.gcc-3.gcc", "sources/gcc/knucleotide.gcc", "sources/gcc/knucleotide.gcc-2.gcc", "sources/gcc/lists.gcc", "sources/gcc/magicsquares.gcc", "sources/gcc/mandelbrot.gcc", "sources/gcc/mandelbrot.gcc-2.gcc", "sources/gcc/mandelbrot.gcc-3.gcc", "sources/gcc/mandelbrot.gcc-4.gcc", "sources/gcc/matrix.gcc", "sources/gcc/message.gcc-2.gcc", "sources/gcc/message.gcc-3.gcc", "sources/gcc/methcall.gcc", "sources/gcc/moments.gcc", "sources/gcc/nbody.gcc", "sources/gcc/nbody.gcc-2.gcc", "sources/gcc/nbody.gcc-3.gcc", "sources/gcc/nestedloop.gcc", "sources/gcc/nsieve.gcc", "sources/gcc/nsievebits.gcc-2.gcc", "sources/gcc/nsievebits.gcc-3.gcc", "sources/gcc/objinst.gcc", "sources/gcc/partialsums.gcc", "sources/gcc/partialsums.gcc-3.gcc", "sources/gcc/partialsums.gcc-4.gcc", "sources/gcc/pidigits.gcc", "sources/gcc/primes.gcc", "sources/gcc/prodcons.gcc", "sources/gcc/random.gcc", "sources/gcc/raytracer.gcc", "sources/gcc/raytracer.gcc-2.gcc", "sources/gcc/recursive.gcc", "sources/gcc/recursive.gcc-2.gcc", "sources/gcc/regexdna.gcc-2.gcc", "sources/gcc/regexmatch.gcc", "sources/gcc/revcomp.gcc", "sources/gcc/revcomp.gcc-2.gcc", "sources/gcc/revcomp.gcc-4.gcc", "sources/gcc/reversefile.gcc", "sources/gcc/reversefile.gcc-2.gcc", "sources/gcc/sieve.gcc", "sources/gcc/spectralnorm.gcc", "sources/gcc/spellcheck.gcc", "sources/gcc/spellcheck.gcc-2.gcc", "sources/gcc/strcat.gcc", "sources/gcc/sumcol.gcc-2.gcc", "sources/gcc/sumcol.gcc-3.gcc", "sources/gcc/sumcol.gcc-4.gcc", "sources/gcc/sumcol.gcc-5.gcc", "sources/gcc/takfp.gcc", "sources/gcc/tcp-stream.gcc", "sources/gcc/tcpecho.gcc", "sources/gcc/tcpecho.gcc-2.gcc", "sources/gcc/tcprequest.gcc", "sources/gcc/threadring.gcc", "sources/gcc/wc.gcc", "sources/gcc/wc.gcc-2.gcc", "sources/gcc/wc.gcc-3.gcc", "sources/gcc/wordfreq.gcc-2.gcc", "sources/perl/ackermann.perl", "sources/perl/ackermann.perl-2.perl", "sources/perl/ackermann.perl-3.perl", "sources/perl/ackermann.perl-4.perl", "sources/perl/ary.perl", "sources/perl/ary.perl-2.perl", "sources/perl/binarytrees.perl", "sources/perl/binarytrees.perl-2.perl", "sources/perl/chameneos.perl", "sources/perl/echo.perl", "sources/perl/except.perl", "sources/perl/fannkuch.perl", "sources/perl/fannkuch.perl-2.perl", "sources/perl/fasta.perl", "sources/perl/fasta.perl-2.perl", "sources/perl/fasta.perl-4.perl", "sources/perl/fibo.perl", "sources/perl/fibo.perl-2.perl", "sources/perl/fibo.perl-3.perl", "sources/perl/harmonic.perl", "sources/perl/hash.perl", "sources/perl/hash.perl-2.perl", "sources/perl/hash.perl-3.perl", "sources/perl/hash2.perl", "sources/perl/heapsort.perl", "sources/perl/heapsort.perl-2.perl", "sources/perl/hello.perl", "sources/perl/knucleotide.perl-2.perl", "sources/perl/lists.perl", "sources/perl/mandelbrot.perl-2.perl", "sources/perl/matrix.perl", "sources/perl/matrix.perl-2.perl", "sources/perl/matrix.perl-3.perl", "sources/perl/message.perl", "sources/perl/methcall.perl", "sources/perl/moments.perl", "sources/perl/nbody.perl", "sources/perl/nestedloop.perl", "sources/perl/nsieve.perl-2.perl", "sources/perl/nsieve.perl-4.perl", "sources/perl/nsievebits.perl", "sources/perl/objinst.perl", "sources/perl/partialsums.perl-3.perl", "sources/perl/pidigits.perl", "sources/perl/pidigits.perl-2.perl", "sources/perl/process.perl", "sources/perl/prodcons.perl", "sources/perl/random.perl-4.perl", "sources/perl/recursive.perl-2.perl", "sources/perl/regexdna.perl", "sources/perl/regexdna.perl-2.perl", "sources/perl/regexdna.perl-3.perl", "sources/perl/regexdna.perl-4.perl", "sources/perl/regexdna.perl-5.perl", "sources/perl/regexdna.perl-6.perl", "sources/perl/regexmatch.perl", "sources/perl/revcomp.perl-2.perl", "sources/perl/reversefile.perl", "sources/perl/reversefile.perl-2.perl", "sources/perl/reversefile.perl-3.perl", "sources/perl/sieve.perl", "sources/perl/spectralnorm.perl-2.perl", "sources/perl/spellcheck.perl", "sources/perl/strcat.perl", "sources/perl/strcat.perl-2.perl", "sources/perl/sumcol.perl", "sources/perl/takfp.perl", "sources/perl/takfp.perl-3.perl", "sources/perl/tcpecho.perl", "sources/perl/tcprequest.perl", "sources/perl/tcpstream.perl", "sources/perl/threadring.perl", "sources/perl/threadring.perl-2.perl", "sources/perl/wc.perl", "sources/perl/wc.perl-2.perl", "sources/perl/wordfreq.perl", "sources/perl/wordfreq.perl-3.perl", "sources/perl/wordfreq.perl3.perl", "sources/python/ackermann.python", "sources/python/ary.python", "sources/python/binarytrees.python", "sources/python/binarytrees.python-3.python", "sources/python/chameneos.python-6.python", "sources/python/chameneosredux.python", "sources/python/chameneosredux.python-2.python", "sources/python/dispatch.python", "sources/python/dispatch.python-2.python", "sources/python/echo.python", "sources/python/except.python", "sources/python/fannkuch.python", "sources/python/fannkuch.python-2.python", "sources/python/fasta.python-2.python", "sources/python/fibo.python", "sources/python/fibo.python-2.python", "sources/python/fibo.python-3.python", "sources/python/harmonic.python-2.python", "sources/python/hash.python", "sources/python/hash.python-2.python", "sources/python/hash2.python", "sources/python/heapsort.python-3.python", "sources/python/hello.python", "sources/python/implicitode.python", "sources/python/knucleotide.python", "sources/python/lists.python", "sources/python/magicsquares.python", "sources/python/mandelbrot.python", "sources/python/mandelbrot.python-2.python", "sources/python/mandelbrot.python-3.python", "sources/python/matrix.python", "sources/python/matrix.python-2.python", "sources/python/message.python", "sources/python/message.python-2.python", "sources/python/message.python-3.python", "sources/python/meteor.python", "sources/python/meteor.python-2.python", "sources/python/methcall.python", "sources/python/moments.python", "sources/python/nbody.python", "sources/python/nbody.python-2.python", "sources/python/nestedloop.python", "sources/python/nsieve.python", "sources/python/nsieve.python-2.python", "sources/python/nsieve.python-4.python", "sources/python/nsievebits.python", "sources/python/nsievebits.python-2.python", "sources/python/objinst.python", "sources/python/partialsums.python", "sources/python/partialsums.python-2.python", "sources/python/partialsums.python-3.python", "sources/python/pidigits.python", "sources/python/pidigits.python-3.python", "sources/python/pidigits.python-4.python", "sources/python/process.python", "sources/python/process.python-2.python", "sources/python/prodcons.python", "sources/python/prodcons.python-2.python", "sources/python/random.python", "sources/python/raytracer.python", "sources/python/recursive.python", "sources/python/regexdna.python", "sources/python/regexdna.python-2.python", "sources/python/regexmatch.python", "sources/python/revcomp.python-3.python", "sources/python/reversefile.python", "sources/python/reversefile.python-2.python", "sources/python/reversefile.python-3.python", "sources/python/sieve.python", "sources/python/spectralnorm.python-2.python", "sources/python/spellcheck.python", "sources/python/strcat.python", "sources/python/strcat.python-2.python", "sources/python/sumcol.python-2.python", "sources/python/sumcol.python-3.python", "sources/python/takfp.python", "sources/python/tcpecho.python", "sources/python/tcprequest.python", "sources/python/tcpstream.python", "sources/python/threadring.python", "sources/python/threadring.python-2.python", "sources/python/threadring.python-3.python", "sources/python/wc.python-2.python", "sources/python/wordfreq.python", "sources/python/wordfreq.python-2.python", "sources/python/wordfreq.python-3.python", "sources/python/wordfreq.python-4.python", "sources/python/wordfreq.python-5.python", "sources/ruby/ackermann.ruby", "sources/ruby/ackermann.ruby-5.ruby", "sources/ruby/ary.ruby", "sources/ruby/binarytrees.ruby-2.ruby", "sources/ruby/chameneos.ruby-2.ruby", "sources/ruby/dispatch.ruby", "sources/ruby/echo.ruby", "sources/ruby/except.ruby", "sources/ruby/except.ruby-2.ruby", "sources/ruby/fannkuch.ruby", "sources/ruby/fasta.ruby", "sources/ruby/fibo.ruby", "sources/ruby/harmonic.ruby-2.ruby", "sources/ruby/hash.ruby", "sources/ruby/hash2.ruby", "sources/ruby/heapsort.ruby", "sources/ruby/hello.ruby", "sources/ruby/knucleotide.ruby-2.ruby", "sources/ruby/lists.ruby", "sources/ruby/mandelbrot.ruby-3.ruby", "sources/ruby/matrix.ruby", "sources/ruby/matrix.ruby-2.ruby", "sources/ruby/message.ruby", "sources/ruby/message.ruby-2.ruby", "sources/ruby/meteor.ruby", "sources/ruby/meteor.ruby-2.ruby", "sources/ruby/methcall.ruby", "sources/ruby/methcall.ruby-2.ruby", "sources/ruby/moments.ruby", "sources/ruby/nbody.ruby-2.ruby", "sources/ruby/nestedloop.ruby", "sources/ruby/nsieve.ruby", "sources/ruby/nsieve.ruby-2.ruby", "sources/ruby/nsievebits.ruby-2.ruby", "sources/ruby/objinst.ruby", "sources/ruby/partialsums.ruby", "sources/ruby/pidigits.ruby", "sources/ruby/pidigits.ruby-2.ruby", "sources/ruby/prodcons.ruby", "sources/ruby/random.ruby", "sources/ruby/recursive.ruby-2.ruby", "sources/ruby/regexdna.ruby", "sources/ruby/regexdna.ruby-2.ruby", "sources/ruby/regexmatch.ruby", "sources/ruby/revcomp.ruby", "sources/ruby/reversefile.ruby", "sources/ruby/sieve.ruby", "sources/ruby/spectralnorm.ruby", "sources/ruby/spellcheck.ruby", "sources/ruby/spellcheck.ruby-2.ruby", "sources/ruby/strcat.ruby", "sources/ruby/strcat.ruby-2.ruby", "sources/ruby/sumcol.ruby", "sources/ruby/sumcol.ruby-2.ruby", "sources/ruby/takfp.ruby", "sources/ruby/tcpecho.ruby", "sources/ruby/tcprequest.ruby", "sources/ruby/tcpstream.ruby", "sources/ruby/threadring.ruby", "sources/ruby/threadring.ruby-2.ruby", "sources/ruby/wc.ruby", "sources/ruby/wordfreq.ruby", "sources/ruby/wordfreq.ruby2.ruby", "test/fixtures/sources/gcc/ackermann.gcc-2.gcc", "test/fixtures/sources/python/ackermann.python", "test/fixtures/sources/ruby/ackermann.ruby", "test/test_source_classifier.rb", "test/test_trainer.rb", "trainer.bin", "Manifest"]
13
+ s.files = ["examples/example.rb", "lib/sourceclassifier.rb", "lib/trainer.rb", "Rakefile", "README.textile", "sourceclassifier.gemspec", "test/fixtures/sources/gcc/ackermann.gcc-2.gcc", "test/fixtures/sources/python/ackermann.python", "test/fixtures/sources/ruby/ackermann.ruby", "test/test_source_classifier.rb", "test/test_trainer.rb", "trainer.bin", "Manifest"]
14
14
  s.has_rdoc = true
15
15
  s.homepage = %q{http://github.com/chrislo/sourceclassifier/tree/master}
16
16
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Sourceclassifier", "--main", "README.textile"]
17
17
  s.require_paths = ["lib"]
18
18
  s.rubyforge_project = %q{sourceclassifier}
19
- s.rubygems_version = %q{1.3.0}
20
- s.summary = %q{Determine the programming language used in a sample}
19
+ s.rubygems_version = %q{1.3.1}
20
+ s.summary = %q{Determine the programming language used in a code snippet}
21
21
  s.test_files = ["test/test_source_classifier.rb", "test/test_trainer.rb"]
22
22
 
23
23
  if s.respond_to? :specification_version then
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chrislo-sourceclassifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Lowis
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-12-08 00:00:00 -08:00
12
+ date: 2008-12-31 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -21,7 +21,7 @@ dependencies:
21
21
  - !ruby/object:Gem::Version
22
22
  version: "0"
23
23
  version:
24
- description: Determine the programming language used in a sample
24
+ description: Determine the programming language used in a code snippet
25
25
  email: chris.lowis@gmail.com
26
26
  executables: []
27
27
 
@@ -38,318 +38,6 @@ files:
38
38
  - Rakefile
39
39
  - README.textile
40
40
  - sourceclassifier.gemspec
41
- - sources/gcc/ackermann.gcc-2.gcc
42
- - sources/gcc/ackermann.gcc-3.gcc
43
- - sources/gcc/ary.gcc
44
- - sources/gcc/binarytrees.gcc
45
- - sources/gcc/binarytrees.gcc-2.gcc
46
- - sources/gcc/binarytrees.gcc-3.gcc
47
- - sources/gcc/chameneos.gcc
48
- - sources/gcc/chameneos.gcc-2.gcc
49
- - sources/gcc/chameneos.gcc-3.gcc
50
- - sources/gcc/chameneosredux.gcc
51
- - sources/gcc/echo.gcc
52
- - sources/gcc/except.gcc
53
- - sources/gcc/fannkuch.gcc
54
- - sources/gcc/fannkuch.gcc-2.gcc
55
- - sources/gcc/fasta.gcc
56
- - sources/gcc/fasta.gcc-2.gcc
57
- - sources/gcc/fasta.gcc-3.gcc
58
- - sources/gcc/fasta.gcc-4.gcc
59
- - sources/gcc/fibo.gcc
60
- - sources/gcc/harmonic.gcc
61
- - sources/gcc/hash.gcc
62
- - sources/gcc/hash2.gcc
63
- - sources/gcc/heapsort.gcc
64
- - sources/gcc/hello.gcc-2.gcc
65
- - sources/gcc/hello.gcc-3.gcc
66
- - sources/gcc/knucleotide.gcc
67
- - sources/gcc/knucleotide.gcc-2.gcc
68
- - sources/gcc/lists.gcc
69
- - sources/gcc/magicsquares.gcc
70
- - sources/gcc/mandelbrot.gcc
71
- - sources/gcc/mandelbrot.gcc-2.gcc
72
- - sources/gcc/mandelbrot.gcc-3.gcc
73
- - sources/gcc/mandelbrot.gcc-4.gcc
74
- - sources/gcc/matrix.gcc
75
- - sources/gcc/message.gcc-2.gcc
76
- - sources/gcc/message.gcc-3.gcc
77
- - sources/gcc/methcall.gcc
78
- - sources/gcc/moments.gcc
79
- - sources/gcc/nbody.gcc
80
- - sources/gcc/nbody.gcc-2.gcc
81
- - sources/gcc/nbody.gcc-3.gcc
82
- - sources/gcc/nestedloop.gcc
83
- - sources/gcc/nsieve.gcc
84
- - sources/gcc/nsievebits.gcc-2.gcc
85
- - sources/gcc/nsievebits.gcc-3.gcc
86
- - sources/gcc/objinst.gcc
87
- - sources/gcc/partialsums.gcc
88
- - sources/gcc/partialsums.gcc-3.gcc
89
- - sources/gcc/partialsums.gcc-4.gcc
90
- - sources/gcc/pidigits.gcc
91
- - sources/gcc/primes.gcc
92
- - sources/gcc/prodcons.gcc
93
- - sources/gcc/random.gcc
94
- - sources/gcc/raytracer.gcc
95
- - sources/gcc/raytracer.gcc-2.gcc
96
- - sources/gcc/recursive.gcc
97
- - sources/gcc/recursive.gcc-2.gcc
98
- - sources/gcc/regexdna.gcc-2.gcc
99
- - sources/gcc/regexmatch.gcc
100
- - sources/gcc/revcomp.gcc
101
- - sources/gcc/revcomp.gcc-2.gcc
102
- - sources/gcc/revcomp.gcc-4.gcc
103
- - sources/gcc/reversefile.gcc
104
- - sources/gcc/reversefile.gcc-2.gcc
105
- - sources/gcc/sieve.gcc
106
- - sources/gcc/spectralnorm.gcc
107
- - sources/gcc/spellcheck.gcc
108
- - sources/gcc/spellcheck.gcc-2.gcc
109
- - sources/gcc/strcat.gcc
110
- - sources/gcc/sumcol.gcc-2.gcc
111
- - sources/gcc/sumcol.gcc-3.gcc
112
- - sources/gcc/sumcol.gcc-4.gcc
113
- - sources/gcc/sumcol.gcc-5.gcc
114
- - sources/gcc/takfp.gcc
115
- - sources/gcc/tcp-stream.gcc
116
- - sources/gcc/tcpecho.gcc
117
- - sources/gcc/tcpecho.gcc-2.gcc
118
- - sources/gcc/tcprequest.gcc
119
- - sources/gcc/threadring.gcc
120
- - sources/gcc/wc.gcc
121
- - sources/gcc/wc.gcc-2.gcc
122
- - sources/gcc/wc.gcc-3.gcc
123
- - sources/gcc/wordfreq.gcc-2.gcc
124
- - sources/perl/ackermann.perl
125
- - sources/perl/ackermann.perl-2.perl
126
- - sources/perl/ackermann.perl-3.perl
127
- - sources/perl/ackermann.perl-4.perl
128
- - sources/perl/ary.perl
129
- - sources/perl/ary.perl-2.perl
130
- - sources/perl/binarytrees.perl
131
- - sources/perl/binarytrees.perl-2.perl
132
- - sources/perl/chameneos.perl
133
- - sources/perl/echo.perl
134
- - sources/perl/except.perl
135
- - sources/perl/fannkuch.perl
136
- - sources/perl/fannkuch.perl-2.perl
137
- - sources/perl/fasta.perl
138
- - sources/perl/fasta.perl-2.perl
139
- - sources/perl/fasta.perl-4.perl
140
- - sources/perl/fibo.perl
141
- - sources/perl/fibo.perl-2.perl
142
- - sources/perl/fibo.perl-3.perl
143
- - sources/perl/harmonic.perl
144
- - sources/perl/hash.perl
145
- - sources/perl/hash.perl-2.perl
146
- - sources/perl/hash.perl-3.perl
147
- - sources/perl/hash2.perl
148
- - sources/perl/heapsort.perl
149
- - sources/perl/heapsort.perl-2.perl
150
- - sources/perl/hello.perl
151
- - sources/perl/knucleotide.perl-2.perl
152
- - sources/perl/lists.perl
153
- - sources/perl/mandelbrot.perl-2.perl
154
- - sources/perl/matrix.perl
155
- - sources/perl/matrix.perl-2.perl
156
- - sources/perl/matrix.perl-3.perl
157
- - sources/perl/message.perl
158
- - sources/perl/methcall.perl
159
- - sources/perl/moments.perl
160
- - sources/perl/nbody.perl
161
- - sources/perl/nestedloop.perl
162
- - sources/perl/nsieve.perl-2.perl
163
- - sources/perl/nsieve.perl-4.perl
164
- - sources/perl/nsievebits.perl
165
- - sources/perl/objinst.perl
166
- - sources/perl/partialsums.perl-3.perl
167
- - sources/perl/pidigits.perl
168
- - sources/perl/pidigits.perl-2.perl
169
- - sources/perl/process.perl
170
- - sources/perl/prodcons.perl
171
- - sources/perl/random.perl-4.perl
172
- - sources/perl/recursive.perl-2.perl
173
- - sources/perl/regexdna.perl
174
- - sources/perl/regexdna.perl-2.perl
175
- - sources/perl/regexdna.perl-3.perl
176
- - sources/perl/regexdna.perl-4.perl
177
- - sources/perl/regexdna.perl-5.perl
178
- - sources/perl/regexdna.perl-6.perl
179
- - sources/perl/regexmatch.perl
180
- - sources/perl/revcomp.perl-2.perl
181
- - sources/perl/reversefile.perl
182
- - sources/perl/reversefile.perl-2.perl
183
- - sources/perl/reversefile.perl-3.perl
184
- - sources/perl/sieve.perl
185
- - sources/perl/spectralnorm.perl-2.perl
186
- - sources/perl/spellcheck.perl
187
- - sources/perl/strcat.perl
188
- - sources/perl/strcat.perl-2.perl
189
- - sources/perl/sumcol.perl
190
- - sources/perl/takfp.perl
191
- - sources/perl/takfp.perl-3.perl
192
- - sources/perl/tcpecho.perl
193
- - sources/perl/tcprequest.perl
194
- - sources/perl/tcpstream.perl
195
- - sources/perl/threadring.perl
196
- - sources/perl/threadring.perl-2.perl
197
- - sources/perl/wc.perl
198
- - sources/perl/wc.perl-2.perl
199
- - sources/perl/wordfreq.perl
200
- - sources/perl/wordfreq.perl-3.perl
201
- - sources/perl/wordfreq.perl3.perl
202
- - sources/python/ackermann.python
203
- - sources/python/ary.python
204
- - sources/python/binarytrees.python
205
- - sources/python/binarytrees.python-3.python
206
- - sources/python/chameneos.python-6.python
207
- - sources/python/chameneosredux.python
208
- - sources/python/chameneosredux.python-2.python
209
- - sources/python/dispatch.python
210
- - sources/python/dispatch.python-2.python
211
- - sources/python/echo.python
212
- - sources/python/except.python
213
- - sources/python/fannkuch.python
214
- - sources/python/fannkuch.python-2.python
215
- - sources/python/fasta.python-2.python
216
- - sources/python/fibo.python
217
- - sources/python/fibo.python-2.python
218
- - sources/python/fibo.python-3.python
219
- - sources/python/harmonic.python-2.python
220
- - sources/python/hash.python
221
- - sources/python/hash.python-2.python
222
- - sources/python/hash2.python
223
- - sources/python/heapsort.python-3.python
224
- - sources/python/hello.python
225
- - sources/python/implicitode.python
226
- - sources/python/knucleotide.python
227
- - sources/python/lists.python
228
- - sources/python/magicsquares.python
229
- - sources/python/mandelbrot.python
230
- - sources/python/mandelbrot.python-2.python
231
- - sources/python/mandelbrot.python-3.python
232
- - sources/python/matrix.python
233
- - sources/python/matrix.python-2.python
234
- - sources/python/message.python
235
- - sources/python/message.python-2.python
236
- - sources/python/message.python-3.python
237
- - sources/python/meteor.python
238
- - sources/python/meteor.python-2.python
239
- - sources/python/methcall.python
240
- - sources/python/moments.python
241
- - sources/python/nbody.python
242
- - sources/python/nbody.python-2.python
243
- - sources/python/nestedloop.python
244
- - sources/python/nsieve.python
245
- - sources/python/nsieve.python-2.python
246
- - sources/python/nsieve.python-4.python
247
- - sources/python/nsievebits.python
248
- - sources/python/nsievebits.python-2.python
249
- - sources/python/objinst.python
250
- - sources/python/partialsums.python
251
- - sources/python/partialsums.python-2.python
252
- - sources/python/partialsums.python-3.python
253
- - sources/python/pidigits.python
254
- - sources/python/pidigits.python-3.python
255
- - sources/python/pidigits.python-4.python
256
- - sources/python/process.python
257
- - sources/python/process.python-2.python
258
- - sources/python/prodcons.python
259
- - sources/python/prodcons.python-2.python
260
- - sources/python/random.python
261
- - sources/python/raytracer.python
262
- - sources/python/recursive.python
263
- - sources/python/regexdna.python
264
- - sources/python/regexdna.python-2.python
265
- - sources/python/regexmatch.python
266
- - sources/python/revcomp.python-3.python
267
- - sources/python/reversefile.python
268
- - sources/python/reversefile.python-2.python
269
- - sources/python/reversefile.python-3.python
270
- - sources/python/sieve.python
271
- - sources/python/spectralnorm.python-2.python
272
- - sources/python/spellcheck.python
273
- - sources/python/strcat.python
274
- - sources/python/strcat.python-2.python
275
- - sources/python/sumcol.python-2.python
276
- - sources/python/sumcol.python-3.python
277
- - sources/python/takfp.python
278
- - sources/python/tcpecho.python
279
- - sources/python/tcprequest.python
280
- - sources/python/tcpstream.python
281
- - sources/python/threadring.python
282
- - sources/python/threadring.python-2.python
283
- - sources/python/threadring.python-3.python
284
- - sources/python/wc.python-2.python
285
- - sources/python/wordfreq.python
286
- - sources/python/wordfreq.python-2.python
287
- - sources/python/wordfreq.python-3.python
288
- - sources/python/wordfreq.python-4.python
289
- - sources/python/wordfreq.python-5.python
290
- - sources/ruby/ackermann.ruby
291
- - sources/ruby/ackermann.ruby-5.ruby
292
- - sources/ruby/ary.ruby
293
- - sources/ruby/binarytrees.ruby-2.ruby
294
- - sources/ruby/chameneos.ruby-2.ruby
295
- - sources/ruby/dispatch.ruby
296
- - sources/ruby/echo.ruby
297
- - sources/ruby/except.ruby
298
- - sources/ruby/except.ruby-2.ruby
299
- - sources/ruby/fannkuch.ruby
300
- - sources/ruby/fasta.ruby
301
- - sources/ruby/fibo.ruby
302
- - sources/ruby/harmonic.ruby-2.ruby
303
- - sources/ruby/hash.ruby
304
- - sources/ruby/hash2.ruby
305
- - sources/ruby/heapsort.ruby
306
- - sources/ruby/hello.ruby
307
- - sources/ruby/knucleotide.ruby-2.ruby
308
- - sources/ruby/lists.ruby
309
- - sources/ruby/mandelbrot.ruby-3.ruby
310
- - sources/ruby/matrix.ruby
311
- - sources/ruby/matrix.ruby-2.ruby
312
- - sources/ruby/message.ruby
313
- - sources/ruby/message.ruby-2.ruby
314
- - sources/ruby/meteor.ruby
315
- - sources/ruby/meteor.ruby-2.ruby
316
- - sources/ruby/methcall.ruby
317
- - sources/ruby/methcall.ruby-2.ruby
318
- - sources/ruby/moments.ruby
319
- - sources/ruby/nbody.ruby-2.ruby
320
- - sources/ruby/nestedloop.ruby
321
- - sources/ruby/nsieve.ruby
322
- - sources/ruby/nsieve.ruby-2.ruby
323
- - sources/ruby/nsievebits.ruby-2.ruby
324
- - sources/ruby/objinst.ruby
325
- - sources/ruby/partialsums.ruby
326
- - sources/ruby/pidigits.ruby
327
- - sources/ruby/pidigits.ruby-2.ruby
328
- - sources/ruby/prodcons.ruby
329
- - sources/ruby/random.ruby
330
- - sources/ruby/recursive.ruby-2.ruby
331
- - sources/ruby/regexdna.ruby
332
- - sources/ruby/regexdna.ruby-2.ruby
333
- - sources/ruby/regexmatch.ruby
334
- - sources/ruby/revcomp.ruby
335
- - sources/ruby/reversefile.ruby
336
- - sources/ruby/sieve.ruby
337
- - sources/ruby/spectralnorm.ruby
338
- - sources/ruby/spellcheck.ruby
339
- - sources/ruby/spellcheck.ruby-2.ruby
340
- - sources/ruby/strcat.ruby
341
- - sources/ruby/strcat.ruby-2.ruby
342
- - sources/ruby/sumcol.ruby
343
- - sources/ruby/sumcol.ruby-2.ruby
344
- - sources/ruby/takfp.ruby
345
- - sources/ruby/tcpecho.ruby
346
- - sources/ruby/tcprequest.ruby
347
- - sources/ruby/tcpstream.ruby
348
- - sources/ruby/threadring.ruby
349
- - sources/ruby/threadring.ruby-2.ruby
350
- - sources/ruby/wc.ruby
351
- - sources/ruby/wordfreq.ruby
352
- - sources/ruby/wordfreq.ruby2.ruby
353
41
  - test/fixtures/sources/gcc/ackermann.gcc-2.gcc
354
42
  - test/fixtures/sources/python/ackermann.python
355
43
  - test/fixtures/sources/ruby/ackermann.ruby
@@ -387,7 +75,7 @@ rubyforge_project: sourceclassifier
387
75
  rubygems_version: 1.2.0
388
76
  signing_key:
389
77
  specification_version: 2
390
- summary: Determine the programming language used in a sample
78
+ summary: Determine the programming language used in a code snippet
391
79
  test_files:
392
80
  - test/test_source_classifier.rb
393
81
  - test/test_trainer.rb