classifier 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README +2 -1
- data/Rakefile +3 -4
- data/bin/bayes.rb +1 -1
- data/bin/summarize.rb +7 -2
- data/lib/classifier/extensions/string.rb +2 -2
- data/lib/classifier/extensions/vector_serialize.rb +2 -2
- data/lib/classifier/lsi.rb +2 -2
- data/lib/classifier/lsi/content_node.rb +1 -1
- metadata +73 -159
- data/doc/classes/Array.html +0 -139
- data/doc/classes/Array.src/M000003.html +0 -18
- data/doc/classes/Classifier.html +0 -140
- data/doc/classes/Classifier/Bayes.html +0 -317
- data/doc/classes/Classifier/Bayes.src/M000038.html +0 -20
- data/doc/classes/Classifier/Bayes.src/M000039.html +0 -23
- data/doc/classes/Classifier/Bayes.src/M000040.html +0 -30
- data/doc/classes/Classifier/Bayes.src/M000041.html +0 -27
- data/doc/classes/Classifier/Bayes.src/M000042.html +0 -18
- data/doc/classes/Classifier/Bayes.src/M000043.html +0 -25
- data/doc/classes/Classifier/Bayes.src/M000044.html +0 -18
- data/doc/classes/Classifier/ContentNode.html +0 -247
- data/doc/classes/Classifier/ContentNode.src/M000046.html +0 -19
- data/doc/classes/Classifier/ContentNode.src/M000047.html +0 -18
- data/doc/classes/Classifier/ContentNode.src/M000048.html +0 -18
- data/doc/classes/Classifier/ContentNode.src/M000049.html +0 -49
- data/doc/classes/Classifier/LSI.html +0 -539
- data/doc/classes/Classifier/LSI.src/M000022.html +0 -20
- data/doc/classes/Classifier/LSI.src/M000023.html +0 -18
- data/doc/classes/Classifier/LSI.src/M000024.html +0 -21
- data/doc/classes/Classifier/LSI.src/M000025.html +0 -18
- data/doc/classes/Classifier/LSI.src/M000026.html +0 -19
- data/doc/classes/Classifier/LSI.src/M000027.html +0 -21
- data/doc/classes/Classifier/LSI.src/M000028.html +0 -18
- data/doc/classes/Classifier/LSI.src/M000029.html +0 -19
- data/doc/classes/Classifier/LSI.src/M000030.html +0 -43
- data/doc/classes/Classifier/LSI.src/M000031.html +0 -23
- data/doc/classes/Classifier/LSI.src/M000032.html +0 -30
- data/doc/classes/Classifier/LSI.src/M000033.html +0 -30
- data/doc/classes/Classifier/LSI.src/M000034.html +0 -21
- data/doc/classes/Classifier/LSI.src/M000035.html +0 -21
- data/doc/classes/Classifier/LSI.src/M000036.html +0 -31
- data/doc/classes/Classifier/LSI.src/M000037.html +0 -21
- data/doc/classes/Classifier/WordList.html +0 -217
- data/doc/classes/Classifier/WordList.src/M000017.html +0 -18
- data/doc/classes/Classifier/WordList.src/M000018.html +0 -19
- data/doc/classes/Classifier/WordList.src/M000019.html +0 -19
- data/doc/classes/Classifier/WordList.src/M000020.html +0 -18
- data/doc/classes/Classifier/WordList.src/M000021.html +0 -18
- data/doc/classes/GSL.html +0 -112
- data/doc/classes/GSL/Matrix.html +0 -126
- data/doc/classes/GSL/Vector.html +0 -156
- data/doc/classes/GSL/Vector.src/M000015.html +0 -18
- data/doc/classes/GSL/Vector.src/M000016.html +0 -19
- data/doc/classes/Matrix.html +0 -184
- data/doc/classes/Matrix.src/M000004.html +0 -18
- data/doc/classes/Matrix.src/M000005.html +0 -76
- data/doc/classes/Matrix.src/M000006.html +0 -18
- data/doc/classes/Object.html +0 -139
- data/doc/classes/Object.src/M000007.html +0 -16
- data/doc/classes/String.html +0 -275
- data/doc/classes/String.src/M000008.html +0 -18
- data/doc/classes/String.src/M000009.html +0 -18
- data/doc/classes/String.src/M000010.html +0 -18
- data/doc/classes/String.src/M000011.html +0 -18
- data/doc/classes/String.src/M000012.html +0 -18
- data/doc/classes/String.src/M000013.html +0 -18
- data/doc/classes/String.src/M000014.html +0 -18
- data/doc/classes/Vector.html +0 -154
- data/doc/classes/Vector.src/M000001.html +0 -22
- data/doc/classes/Vector.src/M000002.html +0 -25
- data/doc/created.rid +0 -1
- data/doc/files/README.html +0 -252
- data/doc/files/lib/classifier/bayes_rb.html +0 -115
- data/doc/files/lib/classifier/extensions/string_rb.html +0 -122
- data/doc/files/lib/classifier/extensions/vector_rb.html +0 -120
- data/doc/files/lib/classifier/extensions/vector_serialize_rb.html +0 -101
- data/doc/files/lib/classifier/extensions/word_hash_rb.html +0 -115
- data/doc/files/lib/classifier/lsi/content_node_rb.html +0 -115
- data/doc/files/lib/classifier/lsi/summary_rb.html +0 -115
- data/doc/files/lib/classifier/lsi/word_list_rb.html +0 -115
- data/doc/files/lib/classifier/lsi_rb.html +0 -127
- data/doc/files/lib/classifier_rb.html +0 -125
- data/doc/fr_class_index.html +0 -39
- data/doc/fr_file_index.html +0 -37
- data/doc/fr_method_index.html +0 -75
- data/doc/index.html +0 -24
- data/doc/rdoc-style.css +0 -208
data/README
CHANGED
@@ -81,7 +81,8 @@ with more than just simple strings.
|
|
81
81
|
|
82
82
|
== Authors
|
83
83
|
* Lucas Carlson (mailto:lucas@rufy.com)
|
84
|
-
* David Fayram II (mailto:dfayram@
|
84
|
+
* David Fayram II (mailto:dfayram@gmail.com)
|
85
|
+
* Cameron McBride (mailto:cameron.mcbride@gmail.com)
|
85
86
|
|
86
87
|
This library is released under the terms of the GNU LGPL. See LICENSE for more details.
|
87
88
|
|
data/Rakefile
CHANGED
@@ -5,10 +5,10 @@ require 'rake/rdoctask'
|
|
5
5
|
require 'rake/gempackagetask'
|
6
6
|
require 'rake/contrib/rubyforgepublisher'
|
7
7
|
|
8
|
-
PKG_VERSION = "1.3.
|
8
|
+
PKG_VERSION = "1.3.1"
|
9
9
|
|
10
10
|
PKG_FILES = FileList[
|
11
|
-
"lib/**/*", "bin/*", "test/**/*", "[A-Z]*", "Rakefile", "
|
11
|
+
"lib/**/*", "bin/*", "test/**/*", "[A-Z]*", "Rakefile", "html/**/*"
|
12
12
|
]
|
13
13
|
|
14
14
|
desc "Default Task"
|
@@ -32,7 +32,7 @@ end
|
|
32
32
|
desc "Create documentation"
|
33
33
|
Rake::RDocTask.new("doc") { |rdoc|
|
34
34
|
rdoc.title = "Ruby Classifier - Bayesian and LSI classification library"
|
35
|
-
rdoc.rdoc_dir = '
|
35
|
+
rdoc.rdoc_dir = 'html'
|
36
36
|
rdoc.rdoc_files.include('README')
|
37
37
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
38
38
|
}
|
@@ -70,7 +70,6 @@ spec = Gem::Specification.new do |s|
|
|
70
70
|
s.requirements << "A porter-stemmer module to split word stems."
|
71
71
|
|
72
72
|
#### Author and project details.
|
73
|
-
|
74
73
|
s.author = "Lucas Carlson"
|
75
74
|
s.email = "lucas@rufy.com"
|
76
75
|
s.homepage = "http://classifier.rufy.com/"
|
data/bin/bayes.rb
CHANGED
data/bin/summarize.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# License:: LGPL
|
4
4
|
|
5
5
|
begin
|
6
|
-
|
6
|
+
require 'stemmer'
|
7
7
|
rescue LoadError
|
8
8
|
puts "Please install stemmer from http://rubyforge.org/projects/stemmer or 'gem install stemmer'"
|
9
9
|
exit(-1)
|
@@ -13,4 +13,4 @@ require 'classifier/extensions/word_hash'
|
|
13
13
|
|
14
14
|
class Object
|
15
15
|
def prepare_category_name; to_s.gsub("_"," ").capitalize.intern end
|
16
|
-
end
|
16
|
+
end
|
data/lib/classifier/lsi.rb
CHANGED
@@ -123,11 +123,11 @@ module Classifier
|
|
123
123
|
tda = doc_list.collect { |node| node.raw_vector_with( @word_list ) }
|
124
124
|
|
125
125
|
if $GSL
|
126
|
-
tdm = GSL::Matrix.
|
126
|
+
tdm = GSL::Matrix.alloc(*tda).trans
|
127
127
|
ntdm = build_reduced_matrix(tdm, cutoff)
|
128
128
|
|
129
129
|
ntdm.size[1].times do |col|
|
130
|
-
vec = GSL::Vector.
|
130
|
+
vec = GSL::Vector.alloc( ntdm.column(col) ).row
|
131
131
|
doc_list[col].lsi_vector = vec
|
132
132
|
doc_list[col].lsi_norm = vec.normalize
|
133
133
|
end
|
metadata
CHANGED
@@ -1,168 +1,82 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.8.10
|
3
|
-
specification_version: 1
|
4
2
|
name: classifier
|
5
3
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.3.
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
- lib
|
11
|
-
email: lucas@rufy.com
|
12
|
-
homepage: http://classifier.rufy.com/
|
13
|
-
rubyforge_project:
|
14
|
-
description: A general classifier module to allow Bayesian and other types of classifications.
|
4
|
+
version: 1.3.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Lucas Carlson
|
15
8
|
autorequire: classifier
|
16
|
-
default_executable:
|
17
9
|
bindir: bin
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-10-10 00:00:00 -07:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: stemmer
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
23
22
|
- !ruby/object:Gem::Version
|
24
|
-
version:
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
- Lucas Carlson
|
29
|
-
files:
|
30
|
-
- lib/classifier
|
31
|
-
- lib/classifier.rb
|
32
|
-
- lib/classifier/bayes.rb
|
33
|
-
- lib/classifier/extensions
|
34
|
-
- lib/classifier/lsi
|
35
|
-
- lib/classifier/lsi.rb
|
36
|
-
- lib/classifier/extensions/string.rb
|
37
|
-
- lib/classifier/extensions/vector.rb
|
38
|
-
- lib/classifier/extensions/vector_serialize.rb
|
39
|
-
- lib/classifier/extensions/word_hash.rb
|
40
|
-
- lib/classifier/lsi/content_node.rb
|
41
|
-
- lib/classifier/lsi/summary.rb
|
42
|
-
- lib/classifier/lsi/word_list.rb
|
43
|
-
- bin/bayes.rb
|
44
|
-
- bin/summarize.rb
|
45
|
-
- test/bayes
|
46
|
-
- test/extensions
|
47
|
-
- test/lsi
|
48
|
-
- test/test_helper.rb
|
49
|
-
- test/bayes/bayesian_test.rb
|
50
|
-
- test/extensions/word_hash_test.rb
|
51
|
-
- test/lsi/lsi_test.rb
|
52
|
-
- LICENSE
|
53
|
-
- Rakefile
|
54
|
-
- README
|
55
|
-
- doc/classes
|
56
|
-
- doc/created.rid
|
57
|
-
- doc/files
|
58
|
-
- doc/fr_class_index.html
|
59
|
-
- doc/fr_file_index.html
|
60
|
-
- doc/fr_method_index.html
|
61
|
-
- doc/index.html
|
62
|
-
- doc/rdoc-style.css
|
63
|
-
- doc/classes/Array.html
|
64
|
-
- doc/classes/Array.src
|
65
|
-
- doc/classes/Classifier
|
66
|
-
- doc/classes/Classifier.html
|
67
|
-
- doc/classes/GSL
|
68
|
-
- doc/classes/GSL.html
|
69
|
-
- doc/classes/Matrix.html
|
70
|
-
- doc/classes/Matrix.src
|
71
|
-
- doc/classes/Object.html
|
72
|
-
- doc/classes/Object.src
|
73
|
-
- doc/classes/String.html
|
74
|
-
- doc/classes/String.src
|
75
|
-
- doc/classes/Vector.html
|
76
|
-
- doc/classes/Vector.src
|
77
|
-
- doc/classes/Array.src/M000003.html
|
78
|
-
- doc/classes/Classifier/Bayes.html
|
79
|
-
- doc/classes/Classifier/Bayes.src
|
80
|
-
- doc/classes/Classifier/ContentNode.html
|
81
|
-
- doc/classes/Classifier/ContentNode.src
|
82
|
-
- doc/classes/Classifier/LSI.html
|
83
|
-
- doc/classes/Classifier/LSI.src
|
84
|
-
- doc/classes/Classifier/WordList.html
|
85
|
-
- doc/classes/Classifier/WordList.src
|
86
|
-
- doc/classes/Classifier/Bayes.src/M000038.html
|
87
|
-
- doc/classes/Classifier/Bayes.src/M000039.html
|
88
|
-
- doc/classes/Classifier/Bayes.src/M000040.html
|
89
|
-
- doc/classes/Classifier/Bayes.src/M000041.html
|
90
|
-
- doc/classes/Classifier/Bayes.src/M000042.html
|
91
|
-
- doc/classes/Classifier/Bayes.src/M000043.html
|
92
|
-
- doc/classes/Classifier/Bayes.src/M000044.html
|
93
|
-
- doc/classes/Classifier/ContentNode.src/M000046.html
|
94
|
-
- doc/classes/Classifier/ContentNode.src/M000047.html
|
95
|
-
- doc/classes/Classifier/ContentNode.src/M000048.html
|
96
|
-
- doc/classes/Classifier/ContentNode.src/M000049.html
|
97
|
-
- doc/classes/Classifier/LSI.src/M000022.html
|
98
|
-
- doc/classes/Classifier/LSI.src/M000023.html
|
99
|
-
- doc/classes/Classifier/LSI.src/M000024.html
|
100
|
-
- doc/classes/Classifier/LSI.src/M000025.html
|
101
|
-
- doc/classes/Classifier/LSI.src/M000026.html
|
102
|
-
- doc/classes/Classifier/LSI.src/M000027.html
|
103
|
-
- doc/classes/Classifier/LSI.src/M000028.html
|
104
|
-
- doc/classes/Classifier/LSI.src/M000029.html
|
105
|
-
- doc/classes/Classifier/LSI.src/M000030.html
|
106
|
-
- doc/classes/Classifier/LSI.src/M000031.html
|
107
|
-
- doc/classes/Classifier/LSI.src/M000032.html
|
108
|
-
- doc/classes/Classifier/LSI.src/M000033.html
|
109
|
-
- doc/classes/Classifier/LSI.src/M000034.html
|
110
|
-
- doc/classes/Classifier/LSI.src/M000035.html
|
111
|
-
- doc/classes/Classifier/LSI.src/M000036.html
|
112
|
-
- doc/classes/Classifier/LSI.src/M000037.html
|
113
|
-
- doc/classes/Classifier/WordList.src/M000017.html
|
114
|
-
- doc/classes/Classifier/WordList.src/M000018.html
|
115
|
-
- doc/classes/Classifier/WordList.src/M000019.html
|
116
|
-
- doc/classes/Classifier/WordList.src/M000020.html
|
117
|
-
- doc/classes/Classifier/WordList.src/M000021.html
|
118
|
-
- doc/classes/GSL/Matrix.html
|
119
|
-
- doc/classes/GSL/Vector.html
|
120
|
-
- doc/classes/GSL/Vector.src
|
121
|
-
- doc/classes/GSL/Vector.src/M000015.html
|
122
|
-
- doc/classes/GSL/Vector.src/M000016.html
|
123
|
-
- doc/classes/Matrix.src/M000004.html
|
124
|
-
- doc/classes/Matrix.src/M000005.html
|
125
|
-
- doc/classes/Matrix.src/M000006.html
|
126
|
-
- doc/classes/Object.src/M000007.html
|
127
|
-
- doc/classes/String.src/M000008.html
|
128
|
-
- doc/classes/String.src/M000009.html
|
129
|
-
- doc/classes/String.src/M000010.html
|
130
|
-
- doc/classes/String.src/M000011.html
|
131
|
-
- doc/classes/String.src/M000012.html
|
132
|
-
- doc/classes/String.src/M000013.html
|
133
|
-
- doc/classes/String.src/M000014.html
|
134
|
-
- doc/classes/Vector.src/M000001.html
|
135
|
-
- doc/classes/Vector.src/M000002.html
|
136
|
-
- doc/files/lib
|
137
|
-
- doc/files/README.html
|
138
|
-
- doc/files/lib/classifier
|
139
|
-
- doc/files/lib/classifier_rb.html
|
140
|
-
- doc/files/lib/classifier/bayes_rb.html
|
141
|
-
- doc/files/lib/classifier/extensions
|
142
|
-
- doc/files/lib/classifier/lsi
|
143
|
-
- doc/files/lib/classifier/lsi_rb.html
|
144
|
-
- doc/files/lib/classifier/extensions/string_rb.html
|
145
|
-
- doc/files/lib/classifier/extensions/vector_rb.html
|
146
|
-
- doc/files/lib/classifier/extensions/vector_serialize_rb.html
|
147
|
-
- doc/files/lib/classifier/extensions/word_hash_rb.html
|
148
|
-
- doc/files/lib/classifier/lsi/content_node_rb.html
|
149
|
-
- doc/files/lib/classifier/lsi/summary_rb.html
|
150
|
-
- doc/files/lib/classifier/lsi/word_list_rb.html
|
151
|
-
test_files: []
|
152
|
-
rdoc_options: []
|
153
|
-
extra_rdoc_files: []
|
23
|
+
version: 1.0.0
|
24
|
+
version:
|
25
|
+
description: " A general classifier module to allow Bayesian and other types of classifications.\n"
|
26
|
+
email: lucas@rufy.com
|
154
27
|
executables: []
|
28
|
+
|
155
29
|
extensions: []
|
30
|
+
|
31
|
+
extra_rdoc_files: []
|
32
|
+
|
33
|
+
files:
|
34
|
+
- lib/classifier/bayes.rb
|
35
|
+
- lib/classifier/extensions/string.rb
|
36
|
+
- lib/classifier/extensions/vector.rb
|
37
|
+
- lib/classifier/extensions/vector_serialize.rb
|
38
|
+
- lib/classifier/extensions/word_hash.rb
|
39
|
+
- lib/classifier/lsi/content_node.rb
|
40
|
+
- lib/classifier/lsi/summary.rb
|
41
|
+
- lib/classifier/lsi/word_list.rb
|
42
|
+
- lib/classifier/lsi.rb
|
43
|
+
- lib/classifier.rb
|
44
|
+
- bin/bayes.rb
|
45
|
+
- bin/summarize.rb
|
46
|
+
- test/bayes/bayesian_test.rb
|
47
|
+
- test/extensions/word_hash_test.rb
|
48
|
+
- test/lsi/lsi_test.rb
|
49
|
+
- test/test_helper.rb
|
50
|
+
- LICENSE
|
51
|
+
- Rakefile
|
52
|
+
- README
|
53
|
+
has_rdoc: true
|
54
|
+
homepage: http://classifier.rufy.com/
|
55
|
+
licenses: []
|
56
|
+
|
57
|
+
post_install_message:
|
58
|
+
rdoc_options: []
|
59
|
+
|
60
|
+
require_paths:
|
61
|
+
- lib
|
62
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
63
|
+
requirements:
|
64
|
+
- - ">="
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: "0"
|
67
|
+
version:
|
68
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
69
|
+
requirements:
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: "0"
|
73
|
+
version:
|
156
74
|
requirements:
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
- ">="
|
166
|
-
- !ruby/object:Gem::Version
|
167
|
-
version: 1.0.0
|
168
|
-
version:
|
75
|
+
- A porter-stemmer module to split word stems.
|
76
|
+
rubyforge_project:
|
77
|
+
rubygems_version: 1.3.5
|
78
|
+
signing_key:
|
79
|
+
specification_version: 3
|
80
|
+
summary: A general classifier module to allow Bayesian and other types of classifications.
|
81
|
+
test_files: []
|
82
|
+
|
data/doc/classes/Array.html
DELETED
@@ -1,139 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>Class: Array</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Class</strong></td>
|
53
|
-
<td class="class-name-in-header">Array</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../files/lib/classifier/extensions/vector_rb.html">
|
59
|
-
lib/classifier/extensions/vector.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
</td>
|
63
|
-
</tr>
|
64
|
-
|
65
|
-
<tr class="top-aligned-row">
|
66
|
-
<td><strong>Parent:</strong></td>
|
67
|
-
<td>
|
68
|
-
<a href="Object.html">
|
69
|
-
Object
|
70
|
-
</a>
|
71
|
-
</td>
|
72
|
-
</tr>
|
73
|
-
</table>
|
74
|
-
</div>
|
75
|
-
<!-- banner header -->
|
76
|
-
|
77
|
-
<div id="bodyContent">
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
<div id="contextContent">
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
</div>
|
86
|
-
|
87
|
-
<div id="method-list">
|
88
|
-
<h3 class="section-bar">Methods</h3>
|
89
|
-
|
90
|
-
<div class="name-list">
|
91
|
-
<a href="#M000003">sum</a>
|
92
|
-
</div>
|
93
|
-
</div>
|
94
|
-
|
95
|
-
</div>
|
96
|
-
|
97
|
-
|
98
|
-
<!-- if includes -->
|
99
|
-
|
100
|
-
<div id="section">
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
<!-- if method_list -->
|
110
|
-
<div id="methods">
|
111
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
112
|
-
|
113
|
-
<div id="method-M000003" class="method-detail">
|
114
|
-
<a name="M000003"></a>
|
115
|
-
|
116
|
-
<div class="method-heading">
|
117
|
-
<a href="Array.src/M000003.html" target="Code" class="method-signature"
|
118
|
-
onclick="popupCode('Array.src/M000003.html');return false;">
|
119
|
-
<span class="method-name">sum</span><span class="method-args">()</span>
|
120
|
-
</a>
|
121
|
-
</div>
|
122
|
-
|
123
|
-
<div class="method-description">
|
124
|
-
</div>
|
125
|
-
</div>
|
126
|
-
|
127
|
-
|
128
|
-
</div>
|
129
|
-
|
130
|
-
|
131
|
-
</div>
|
132
|
-
|
133
|
-
|
134
|
-
<div id="validator-badges">
|
135
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
136
|
-
</div>
|
137
|
-
|
138
|
-
</body>
|
139
|
-
</html>
|