[FYT] install SRILM

In order to use Moses, I want to install SRILM.

http://hi.baidu.com/wit_yd/blog/item/6b6681272c8ed206918f9dbe.html

http://weiqk.spaces.live.com/Blog/cns!2115755AE5F9E79!221.entry

These resources help me a lot. Highly recommend to those Ubuntu users.

Comments

Ubuntu: Customize terminal header

By default, the terminal header is usually long and unattractive. Change it by modifying “~/.bashrc” file. We want the PS1 line to be like:

PS1=’@\W\$ ‘

And here are some options you may use to customize your own terminal:

\a     an ASCII bell character (07)
\d     the date in "Weekday Month Date" format (e.g., "Tue May 26")
\D{format} the format is passed to strftime(3) and the result is inserted into the  prompt  string;  an  empty  format
results in a locale-specific time representation.  The braces are required
\e     an ASCII escape character (033)
\h     the hostname up to the first `.'
\H     the hostname
\j     the number of jobs currently managed by the shell
\l     the basename of the shell's terminal device name
\n     newline
\r     carriage return
\s     the name of the shell, the basename of $0 (the portion following the final slash)
\t     the current time in 24-hour HH:MM:SS format
\T     the current time in 12-hour HH:MM:SS format
\@     the current time in 12-hour am/pm format
\A     the current time in 24-hour HH:MM format
\u     the username of the current user
\v     the version of bash (e.g., 2.00)
\V     the release of bash, version + patch level (e.g., 2.00.0)
\w     the current working directory, with $HOME abbreviated with a tilde
\W     the basename of the current working directory, with $HOME abbreviated with a tilde
\!     the history number of this command
\#     the command number of this command
\$     if the effective UID is 0, a #, otherwise a $
\nnn   the character corresponding to the octal number nnn
\\     a backslash
\[     begin  a sequence of non-printing characters, which could be used to embed a terminal control sequence into
the prompt
\]     end a sequence of non-printing characters
# Thanks for the post by PurposeOfReason (http://ubuntuforums.org/showthread.php?t=674446)

Comments

Write on the night before Robocon2010 contest

I believe my team is qualified to be the champion and will win tomorrow.

Comments

If things happen on me can be worse, they will be …

Unlucky ?

I have to prepare for the worst, always :(

Comments

space VS time

How to improve the performance of an algorithm? To me as a junior CS student, it is actually a problem about time(efficiency) or space($$$).

Google is a successful magician to hide 100..00 servers behind the concise interface.

Comments

magic of Schrödinger Equation

I am getting into agreement with Schrödinger.

Modern physics is interesting.

Comments

Ubuntu - randomly freezing caps lock blinking flashing

http://ubuntuforums.org/showthread.php?t=968792

System lock-ups with Intel 4965 wireless
The version of the iwlagn wireless driver for Intel 4965 wireless chipsets included in Linux kernel version 2.6.27 causes kernel panics when used with 802.11n or 802.11g networks. Users affected by this issue can install the linux-backports-modules-XXX (e.g.  -intrepid) package, to install a newer version of this driver that corrects the bug. (Because the known fix requires a new version of the driver, it is not expected to be possible to include this fix in the main kernel package.)

Comments

Have problems with screen resolution on Ubuntu? Read this.

Comments

A Google Chrome extension called ‘Nothing’

link: http://bit.ly/aF6Y3c

Amazing extension! — “Simple, easy to use, and does not alter the chrome experience in annoying ways”. It actually does nothing … …

I am surprised at the 5-star reviews and 1000+ weekly installs.

‘Nobody’ played a joke on everybody.

Comments

possibly undefined macro: AC_PROG_LIBTOOL

To fix “possibly undefined macro: AC_PROG_LIBTOOL” while installing Moses : Install the package — libtool

Comments

« Previous entries · Next entries »