2006-05-01から1ヶ月間の記事一覧

Japanisch-Deutsches Kanji-Lexikon - Hans-Jörg Bibiko 2006

http://www.bibiko.de/kanji/ grapheme-base の検索をサポートしている。

Cygwin emacs で anthy

anthy のデフォルトインストール先は /usr/local/emacs/site-lisp/ load-path にそこを追加しておけば (push "/usr/local/share/emacs/site-lisp" load-path) 関数は使える。 けれど、肝心の anthy-mode, japanese-anthyのinput-methodが使えない。 しょうが…

Meadow で emacs-w3m

emacs-w3m 自体は、Meadow配布に含まれている。 あとは、w3m のパスを教えてやる。 (push (expand-file-name "e:/programs/cygwin/bin") exec-path) として、Cygwin のなかにインストールされている w3m へのパスを通す。 (load-library "w3m") も要ります。

可変長引数 K&R と ANSI

cxx

Solaris の CC /usr/ucb/cc は K&R らしい。K&R int sendf(va_alist) va_dcl { static char buf[10240]; /* xxx, enough? */ SOCKET s; const char *fmt; va_list args; va_start( args ); s = va_arg( args, SOCKET ); fmt = va_arg( args, char * ); ANSI …

M+ fonts を Meadow で使う

解像度低めで小さいディスプレイだと見やすい。 (w32-add-font "BDF M+" '((strict-spec ((:char-spec ascii :height any) (bdf-font "e:/programs/meadow/bdf/mplus/mplus_f12r.bdf")) ((:char-spec ascii :height any :weight bold) (bdf-font "e:/program…

Cygwin/X の設定

xorg.conf とかはない けど、 X 起動のときのオプションでいくらか設定できる。 startx -- -fp "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/Type1/,\ /usr/X11R6/lib/X11/fonts/75dpi/,/usr/share/fonts/mplus…

Life with Cygwin

http://www.okisoft.co.jp/esc/cygwin.html Cygwin 関係のチュートリアル。 Emacs とか日本語とか説明が丁寧。

ChangeLog Merger

sort + uniq 機能つき。 #! /usr/bin/env perl use warnings; use strict; my @articles = (); # [id(date+author), begin, end] my @lines = <>; # collect ids and begins for my $i (0 .. $#lines) { if ( $lines[$i] =~ m/^(\d\d\d\d-\d\d-\d\d\s+.*)$/ …

The TeX Catalogue OnLine, Topic Index

CTAN にある LaTeX のいろんなパッケージのカテゴリ分けされたリスト。 http://www.ctan.org/tex-archive/help/catalogue/bytopic.html csvtools とかある。

CofsDevice - coLinux

http://wiki.colinux.org/mediawiki/index.php/cofsdevice in your colinux.xml.Now you can mount this virtual device with mount cofs0 /mnt/MYMOUNTPOINT -t cofs -o ro

conference ranking - Google Search

http://www.google.com/search?hl=en&q=conference+ranking&btng=search 計算機科学関係の学会ランキング。

Science and Engineering quotes

nlp

There is the value of the worldview created by science... The world looks so different after learning science. (Feynman) The world does look different after Engineering because you have changed the world. (?)via nlp blog: NLP is an Enginee…

Mark Lyon's GMail Loader (GML) - Import Your Mail into GMail

http://www.marklyon.org/gmail/ ローカルにある mbox か MailDir の内容を、GMail のアドレスに送信する。 データ移行のツール。Thunderbird は mbox なので、 Thunderbird で移行元のメールを受信(File -> Offline -> Download/Sync now) して、%PROFILE…

Using Random Forests in the Structured Language Model

http://www.clsp.jhu.edu/people/xp/publications/nips04.pdf 構文的な特徴を取り込んだN-gram的言語モデル。 構文木の部分木を使って、単語の列を、単語と支配主辞のペアの列に変換する、とか。 まだよく分かってない。 ベースは、Structured Language Model

reStructuredText -> LaTeX

Wiki っぽい簡単なマークアップから、LaTeX ソース(など)への変換ができる。 この手のツールの中では、一番広く使われている感じ。とりあえず、docutils と、 rst-mode.el を入れて、 Meadow/Emacs memo -- ロードパス を参考にして、load-path が通ってる…

mbox中のメールの転送

http://search.luky.org/linux-users.6/msg04943.html formail というツールが適しているらしい。 formail -s sendmail xxx@yyy で、標準入力に入れられた mbox をばらしてメールとして送ってくれる。

mbox からの最近のメール抽出と転送

tail -XXX /var/spool/$USER >mbox で、欲しい部分を切り出す。 From: で始まるようにXXXを調整。 cat mbox | \ formail -s perl -pe's/^To: /To: x\@is.s.u-tokyo.ac.jp, /' | \ formail -s sendmail -v -f root x@gmail.com

.forward でメールを加工

.forward には転送先の代わりに、コマンドを書くことができ、 転送するかわりに、メールを標準入力に与えてそのコマンドを起動できる。 書式は /etc/aliases の : より右と共通で、 Postfix manual - aliases(5) "/usr/bin/vacation xxx" とかいう感じ。 \xx…

\usepackage{fullpage}

http://www.tug.org/tex-archive/macros/latex/contrib/preprint/fullpage.dtx % Call as \usepackage[options]{fullpage} % Options = in (default) for 1 inch % cm for 1.5 cm % plain (default) sets \pagestyle{plain} % empty sets \pagestyle{empty} …

Syntactic Theory -- instructors manual for the second edition

http://hpsg.stanford.edu/book/slides/index.html Syntactic Theory: a formal introduction, Second Edition Instructor's Manual Emily M. Bender, Ivan A. Sag, Thomas Wasow スライドが置いてある。

論文書庫 -- 貞光九月

http://www.milab.is.tsukuba.ac.jp/~sadamitsu/archive/

Publications -- 持橋大地

http://chasen.org/~daiti-m/paper/

JSAI SIG-DMSM

http://www.med.shimane-u.ac.jp/med_info/sig-dmsm/ 人工知能学会の「データマイニングと統計数理研究会」 第一回は7月11日統数研で。

Windows の日本語フォントを簡単にアンチエイリアス

Cygwin 用の FontForge を使う。 対象のTTFファイルを開き、ビットマップなしの OpenType フォントとして出力。 出力時のオプションで、「整数値」にしておくとサイズが少なめ。(ビットマップなしのTTFファイルとして出力しても、なぜか小さいサイズではア…

格フレーム検索@京大黒橋研

http://reed.kuee.kyoto-u.ac.jp/cf-search/ Web から抽出された格フレーム辞書の検索。 用例へのリンクつき。複合辞 として使われる用言を調べると面白い。 複合辞は意味が非構成的になる複合用言のことで、 たとえば「〜にとって」とか。「ある」「いる」…

Katsurada Labo. Text

http://www.math.meiji.ac.jp/~mk/labo/text/ 線形計算とか、関数解析などのノート、というか本に近い。

Bayesian Hierarchical Clustering (2004, ICML)

http://citeseer.ist.psu.edu/735303.html ボトムアップクラスタリングの距離評価に、 Bayesian なモデルによる確率を使う。

SVDPACK

http://www.netlib.org/svdpack/ 潜在意味解析 Latent Semantic Analysis に使う 特異値分解 Singular Value Decomposition のパッケージ。 論文相当の User's guide 付き。特異値は非正方行列に対して定義される固有値のようなもので、 A trans(A)の固有値…

Modeling word burstiness using the Dirichlet distribution

http://portal.acm.org/citation.cfm?id=1102420 Dirichlet分布を使った文書モデル。 単語頻度の経験的分布において、 多項分布によって表すことができない性質があることを示し、 それを Dirichlet 分布で表すことができることを示す。 (明らかに傾向が違…

emacs current directory

(setq default-directory "e:/mydoc/")