01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
つーかこういう研究って前例あると思ったら,タグ検索同士の比較ってあんまりないんですね。(海外の方は十分見てないのであるかもだけど)国内には別種のソーシャルタグの検索精度を比較するような研究は見つけられなかった。*2:ただしタグの全動画を確認するのは困難なので,タグ検索のデフォルトである「コメントが新しい」で表示されるもの(最大30件)を対象とした。*3:上記と同条件。こちらはタグの注目エントリから取得で同じく最大30件.lst_value { color:#000000; font-family:'Arial Unicode MS',sans-serif; font-size:90%;} font-family:'Arial Unicode MS',sans-serif; font-family:sans-serif;% tar zxvf ~/src/postgresql-8.2.5.tar.gz% cd postgresql-8.2.5% ./configure% make% make check% sudo make install% sudo cp contrib/start-scripts/linux /etc/init.d/postgresql% sudo chmod a+x /etc/init.d/postgresql% sudo chkconfig --add postgresql% sudo vi /etc/csh.cshrc--- /etc/csh.cshrc.bak 2007-02-03 08:42:44.000000000 +0900+++ /etc/csh.cshrc 2007-10-19 21:49:08.039127408 +0900@@ -2,7 +2,7 @@ # System wide environment and startup programs for csh users -setenv PATH "${HOME}/bin:/usr/local/teTeX/bin:/usr/local/ant/bin:/usr/local/sbin:/usr/local/lib/R/bin:/usr/local/bin:/usr/java/bin:${PATH}:/usr/X11R6/bin:/sbin:/usr/sbin"+setenv PATH "${HOME}/bin:/usr/local/teTeX/bin:/usr/local/ant/bin:/usr/local/sbin:/usr/local/lib/R/bin:/usr/local/bin:/usr/local/pgsql/bin:/usr/java/bin:${PATH}:/usr/X11R6/bin:/sbin:/usr/sbin" # Load system default language. if (-f /etc/sysconfig/lang) then% sudo useradd postgres% sudo mkdir /usr/local/pgsql/data/% sudo chown postgres:postgres /usr/local/pgsql/data/% sudo -u postgres initdb -D /usr/local/pgsql/data% sudo gem install postgres-prRequest Entity Too LargeA request entity is longer than the server can handle.% cd glib-2.12.13% ./configure --prefix=$HOME% make && make install% cd pango-1.16.4% env PKG_CONFIG_PATH=$HOME/lib/pkgconfig ./configure --prefix=$HOME% make && make install% cd atk-1.9.1% env PKG_CONFIG_PATH=$HOME/lib/pkgconfig:/usr/lib/pkgconfig:/usr/lib64/pkgconfig ./configure --prefix=$HOME --disable-glibtest% make && make install% cd cairo-1.2.6% env PKG_CONFIG_PATH=$HOME/lib/pkgconfig:/usr/lib/pkgconfig:/usr/lib64/pkgconfig ./configure --prefix=$HOME% make && make install% cd pango-1.16.4% env PKG_CONFIG_PATH=$HOME/lib/pkgconfig:/usr/lib64/pkgconfig ./configure --prefix=$HOME% make && make install% cd gtk-1.12.10% env PKG_CONFIG_PATH=$HOME/lib/pkgconfig:/usr/lib64/pkgconfig ./configure --prefix=$HOME --disable-glibtest% make && make install% cd cvswork/graphviz2% env PKG_CONFIG_PATH=$HOME/lib/pkgconfig:/usr/lib64/pkgconfig ./configure --prefix=$HOME --disable-perl% make && make installclass IO def bsearch_first_pos( left, right, &block ) STDERR.puts "bsearch_first_pos" if $DEBUG while left < right self.pos = ( left + right ) / 2 raise 'unexpected end' unless gets self.pos = left if self.pos >= right line = gets STDERR.puts "#{self.pos}: #{left} <-> #{right}: #{line.size}:#{line}" if $DEBUG case block.call(line) when 0 right = self.pos if self.pos = left and line2 = gets and block.call(line2) == 0 return left else left = self.pos end when -1 right = self.pos - line.size when 1 left = self.pos end end nil end def bsearch_last_pos( left, right, &block ) STDERR.puts "bsearch_last_pos: #{left} #{right}" if $DEBUG while left < right self.pos = ( left + right ) / 2 raise 'unexpected end' unless gets self.pos = left if self.pos >= right line = gets STDERR.puts "#{self.pos}:#{block.call(line)}: #{left} <-> #{right}: #{line}" if $DEBUG case block.call(line) when 0 if line2 = gets and block.call(line2) == 0 left = self.pos - line2.size else return self.pos - line2.to_s.size end when -1 right = self.pos - line.size when 1 left = self.pos end end nil end def bsearch( left, right, &block ) result = bsearch_first_pos(left, right, &block) if result self.pos = result gets else nil end end def bsearch_list( left, right, &block ) result = [] lower = bsearch_first_pos(left, right, &block) upper = bsearch_last_pos(left, right, &block) STDERR.puts "#{lower.inspect} #{upper.inspect}" if $DEBUG if lower and upper self.pos = lower while self.pos < upper result << gets end end result endend