rbtagger 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/brill/tagger.rb +1 -1
- data/lib/rbtagger/version.rb +1 -1
- data/test/test_rule_tagger.rb +5 -0
- data/website/index.html +1 -1
- metadata +13 -4
data/lib/brill/tagger.rb
CHANGED
data/lib/rbtagger/version.rb
CHANGED
data/test/test_rule_tagger.rb
CHANGED
@@ -32,6 +32,9 @@ The details of her visitation, however, are unclear.
|
|
32
32
|
Asked by Us if she were happy with the court outcome, Spears (clutching an Ed Hardy purse) smiled and told Us, "Yes."
|
33
33
|
Next up: A status hearing set for July 15.
|
34
34
|
The couple last appeared in court May 6. Spears was granted extended visitation — three days a week from 9 a.m. to 5 p.m. — of Sean Preston, 2, and Jayden James, 20 months.
|
35
|
+
)
|
36
|
+
SAMPLE_DOC3=%q(
|
37
|
+
TMZ.com: Britney celebrated getting overnights with her kids by going on a wild shopping trip for herself.With L.A.'s finest at her service, it was a total clusterf**k outside of Fred Segal as Brit Brit made her way out. The scene was crazy -- and it was all... Read more
|
35
38
|
)
|
36
39
|
def setup
|
37
40
|
if !defined?($tagger)
|
@@ -134,6 +137,8 @@ The couple last appeared in court May 6. Spears was granted extended visitation
|
|
134
137
|
assert results.include?(["Britney Spears", "NNP", 6])
|
135
138
|
assert results.include?(["Jamie Spears", "NNP", 12])
|
136
139
|
# puts results.inspect
|
140
|
+
results = tagger.suggest( SAMPLE_DOC3, 5 )
|
141
|
+
puts results.inspect
|
137
142
|
end
|
138
143
|
|
139
144
|
private
|
data/website/index.html
CHANGED
@@ -160,7 +160,7 @@
|
|
160
160
|
<h1>rbtagger</h1>
|
161
161
|
<div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/rbtagger"; return false'>
|
162
162
|
<p>Get Version</p>
|
163
|
-
<a href="http://rubyforge.org/projects/rbtagger" class="numbers">0.2.
|
163
|
+
<a href="http://rubyforge.org/projects/rbtagger" class="numbers">0.2.6</a>
|
164
164
|
</div>
|
165
165
|
<h4 style="float:right;padding-right:10px;"> → ‘rbtagger’</h4>
|
166
166
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbtagger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Todd A. Fisher
|
@@ -9,10 +9,19 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-07-10 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
|
-
dependencies:
|
15
|
-
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: hoe
|
17
|
+
type: :development
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 1.7.0
|
24
|
+
version:
|
16
25
|
description: A Simple Ruby Rule-Based Part of Speech Tagger
|
17
26
|
email:
|
18
27
|
- todd.fisher@gmail.com
|