[Tomoe-cvs 1885] CVS update: tomoe/benchmark

Back to archive index

Kouhei Sutou kous****@users*****
2006年 12月 12日 (火) 19:08:11 JST


Index: tomoe/benchmark/search-by-dict.rb
diff -u tomoe/benchmark/search-by-dict.rb:1.7 tomoe/benchmark/search-by-dict.rb:1.8
--- tomoe/benchmark/search-by-dict.rb:1.7	Tue Dec 12 18:29:55 2006
+++ tomoe/benchmark/search-by-dict.rb	Tue Dec 12 19:08:11 2006
@@ -19,9 +19,9 @@
       config = TomoeSpecUtils::Config.db_config("benchmark")
       dict = Tomoe::Dict::MySQL.new(config)
     when "est"
-      database_name = dictionary.sub(/\.xml$/, '')
+      database = dictionary.sub(/\.xml$/, '')
       dict = Tomoe::Dict::Est.new("name" => File.basename(dictionary),
-                                  "database_name" => database_name,
+                                  "database" => database,
                                   "editable" => false)
     when "svn"
       repos = File.join(tmp_dir, "svn.repos", File.basename(dictionary))
Index: tomoe/benchmark/search-by-recognizer.rb
diff -u tomoe/benchmark/search-by-recognizer.rb:1.7 tomoe/benchmark/search-by-recognizer.rb:1.8
--- tomoe/benchmark/search-by-recognizer.rb:1.7	Tue Dec 12 18:55:58 2006
+++ tomoe/benchmark/search-by-recognizer.rb	Tue Dec 12 19:08:11 2006
@@ -13,8 +13,8 @@
 data_dir = TomoeSpecUtils::Config.data_dir
 use_est = false
 if use_est
-  database_name = File.join(data_dir, "handwriting")
-  dict = Tomoe::Dict::Est.new("database_name" => database_name,
+  database = File.join(data_dir, "handwriting")
+  dict = Tomoe::Dict::Est.new("database" => database,
                               "editable" => false)
 else
   filename = File.join(data_dir, "handwriting.xml")


tomoe-cvs メーリングリストの案内
Back to archive index