linkterm 0.0.3 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -76,7 +76,7 @@ module Linkterm
76
76
  end
77
77
 
78
78
  def idf(word)
79
- if defined? @documents_count
79
+ unless @documents_count
80
80
  all_count = Hash.new(0)
81
81
  counter = Counter.new(@documents.filenames.length, 'idf')
82
82
  @documents.each do |document|
@@ -1,8 +1,8 @@
1
1
  module Linkterm #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
- MINOR = 0
5
- TINY = 3
4
+ MINOR = 1
5
+ TINY = 0
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
@@ -33,7 +33,7 @@
33
33
  <h1>linkterm</h1>
34
34
  <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/linkterm"; return false'>
35
35
  <p>Get Version</p>
36
- <a href="http://rubyforge.org/projects/linkterm" class="numbers">0.0.3</a>
36
+ <a href="http://rubyforge.org/projects/linkterm" class="numbers">0.1.0</a>
37
37
  </div>
38
38
  <h1>&#x2192; &#8216;linkterm&#8217;</h1>
39
39
 
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: linkterm
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.0.3
6
+ version: 0.1.0
7
7
  date: 2007-08-25 00:00:00 +09:00
8
8
  summary: A text mining tool based on Rough Sets Theory
9
9
  require_paths: