rbtagger 0.3.2 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. data/README +44 -0
  2. data/Rakefile +78 -4
  3. data/ext/rule_tagger/registry.c +4 -4
  4. data/ext/rule_tagger/registry.h +1 -1
  5. data/ext/word_tagger/rtagger.cc +23 -1
  6. data/ext/word_tagger/tagger.cc +9 -4
  7. data/ext/word_tagger/tagger.h +2 -0
  8. data/ext/word_tagger/test.rb +2 -2
  9. data/lib/brill/brown/{LEXICON → Lexicon.rb} +0 -0
  10. data/lib/brill/tagger.rb +1 -1
  11. data/lib/rbtagger.rb +0 -3
  12. data/lib/rbtagger/version.rb +2 -2
  13. data/lib/word/tagger.rb +2 -1
  14. metadata +38 -101
  15. data/COPYING +0 -21
  16. data/History.txt +0 -4
  17. data/License.txt +0 -20
  18. data/Manifest.txt +0 -82
  19. data/PostInstall.txt +0 -1
  20. data/README.txt +0 -51
  21. data/config/hoe.rb +0 -74
  22. data/config/requirements.rb +0 -15
  23. data/ext/rule_tagger/mkmf.log +0 -46
  24. data/ext/word_tagger/mkmf.log +0 -24
  25. data/ext/word_tagger/test/Makefile +0 -22
  26. data/ext/word_tagger/test/doc.txt +0 -87
  27. data/lib/brill/brown/CONTEXTUALRULEFILE +0 -284
  28. data/lib/brill/brown/LEXICALRULEFILE +0 -148
  29. data/script/console +0 -10
  30. data/script/destroy +0 -14
  31. data/script/generate +0 -14
  32. data/script/txt2html +0 -82
  33. data/setup.rb +0 -1585
  34. data/tasks/deployment.rake +0 -34
  35. data/tasks/environment.rake +0 -7
  36. data/tasks/extconf.rake +0 -18
  37. data/tasks/extconf/rule_tagger.rake +0 -43
  38. data/tasks/extconf/word_tagger.rake +0 -43
  39. data/tasks/website.rake +0 -17
  40. data/test/docs/doc0.txt +0 -20
  41. data/test/docs/doc1.txt +0 -11
  42. data/test/docs/doc2.txt +0 -52
  43. data/test/docs/doc3.txt +0 -128
  44. data/test/docs/doc4.txt +0 -337
  45. data/test/docs/doc5.txt +0 -497
  46. data/test/docs/doc6.txt +0 -116
  47. data/test/docs/doc7.txt +0 -101
  48. data/test/docs/doc8.txt +0 -25
  49. data/test/docs/doc9.txt +0 -84
  50. data/test/fixtures/tags.txt +0 -976
  51. data/test/test_helper.rb +0 -5
  52. data/test/test_rule_tagger.rb +0 -151
  53. data/test/test_word_tagger.rb +0 -47
  54. data/tools/rakehelp.rb +0 -113
  55. data/website/index.html +0 -231
  56. data/website/index.txt +0 -70
  57. data/website/javascripts/rounded_corners_lite.inc.js +0 -285
  58. data/website/stylesheets/screen.css +0 -138
  59. data/website/template.html.erb +0 -184
@@ -1,184 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
- <title><%= title %></title>
7
- <style type="text/css">
8
- body {
9
- background-color: #F1F1F1;
10
- font-family: "Georgia", sans-serif;
11
- font-size: 16px;
12
- line-height: 1.6em;
13
- padding: 1.6em 0 0 0;
14
- color: #333;
15
- }
16
- h1, h2, h3, h4, h5, h6 {
17
- color: #444;
18
- }
19
- h1 {
20
- font-family: sans-serif;
21
- font-weight: normal;
22
- font-size: 4em;
23
- line-height: 0.8em;
24
- letter-spacing: -0.1ex;
25
- margin: 5px;
26
- }
27
- li {
28
- padding: 0;
29
- margin: 0;
30
- list-style-type: square;
31
- }
32
- a {
33
- color: #5E5AFF;
34
- background-color: #DAC;
35
- font-weight: normal;
36
- text-decoration: underline;
37
- }
38
- blockquote {
39
- font-size: 90%;
40
- font-style: italic;
41
- border-left: 1px solid #111;
42
- padding-left: 1em;
43
- }
44
- .caps {
45
- font-size: 80%;
46
- }
47
-
48
- #main {
49
- width: 45em;
50
- padding: 0;
51
- margin: 0 auto;
52
- }
53
- .coda {
54
- text-align: right;
55
- color: #77f;
56
- font-size: smaller;
57
- }
58
-
59
- table {
60
- font-size: 90%;
61
- line-height: 1.4em;
62
- color: #ff8;
63
- background-color: #111;
64
- padding: 2px 10px 2px 10px;
65
- border-style: dashed;
66
- }
67
-
68
- th {
69
- color: #fff;
70
- }
71
-
72
- td {
73
- padding: 2px 10px 2px 10px;
74
- }
75
-
76
- .success {
77
- color: #0CC52B;
78
- }
79
-
80
- .failed {
81
- color: #E90A1B;
82
- }
83
-
84
- .unknown {
85
- color: #995000;
86
- }
87
- pre, code {
88
- font-family: monospace;
89
- font-size: 90%;
90
- line-height: 1.4em;
91
- color: #ff8;
92
- background-color: #111;
93
- padding: 2px 10px 2px 10px;
94
- }
95
- .comment { color: #aaa; font-style: italic; }
96
- .keyword { color: #eff; font-weight: bold; }
97
- .punct { color: #eee; font-weight: bold; }
98
- .symbol { color: #0bb; }
99
- .string { color: #6b4; }
100
- .ident { color: #ff8; }
101
- .constant { color: #66f; }
102
- .regex { color: #ec6; }
103
- .number { color: #F99; }
104
- .expr { color: #227; }
105
-
106
- #version {
107
- float: right;
108
- text-align: right;
109
- font-family: sans-serif;
110
- font-weight: normal;
111
- background-color: #B3ABFF;
112
- color: #141331;
113
- padding: 15px 20px 10px 20px;
114
- margin: 0 auto;
115
- margin-top: 15px;
116
- border: 3px solid #141331;
117
- display:block;
118
- -moz-border-radius-bottomleft:10px;
119
- -moz-border-radius-bottomright:10px;
120
- -moz-border-radius-topleft:10px;
121
- -moz-border-radius-topright:10px;
122
- -webkit-border-bottom-left-radius:10px;
123
- -webkit-border-bottom-right-radius:10px;
124
- -webkit-border-top-left-radius:10px;
125
- -webkit-border-top-right-radius:10px;
126
- }
127
-
128
- #version .numbers {
129
- display: block;
130
- font-size: 4em;
131
- line-height: 0.8em;
132
- letter-spacing: -0.1ex;
133
- margin-bottom: 15px;
134
- }
135
-
136
- #version p {
137
- text-decoration: none;
138
- color: #141331;
139
- background-color: #B3ABFF;
140
- margin: 0;
141
- padding: 0;
142
- }
143
-
144
- #version a {
145
- text-decoration: none;
146
- color: #141331;
147
- background-color: #B3ABFF;
148
- }
149
-
150
- .clickable {
151
- cursor: pointer;
152
- cursor: hand;
153
- }
154
-
155
- </style>
156
- </head>
157
- <body>
158
- <div id="main">
159
-
160
- <h1><%= title %></h1>
161
- <div id="version" class="clickable" onclick='document.location = "<%= download %>"; return false'>
162
- <p>Get Version</p>
163
- <a href="<%= download %>" class="numbers"><%= version %></a>
164
- </div>
165
- <%= body %>
166
- <p class="coda">
167
- <a href="http://xullicious.blogspot.com/">Todd A. Fisher</a>, <%= modified.pretty %><br>
168
- Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
169
- </p>
170
- </div>
171
-
172
- <!-- insert site tracking codes here, like Google Urchin -->
173
- <script type="text/javascript">
174
- var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
175
- document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
176
- </script>
177
- <script type="text/javascript">
178
- var pageTracker = _gat._getTracker("UA-246931-6");
179
- pageTracker._initData();
180
- pageTracker._trackPageview();
181
- </script>
182
-
183
- </body>
184
- </html>