Hla Hla Htay's Notes


Linux : Declaring environment variable
June 11, 2008, 4:36 pm
Filed under: LINUX command | Tags: ,

You know the proverb ‘A picture worths thousand words’. I am lazy bone and sometimes, I want to see “how to do process” very clearly in this way. :D Just see what I have uploaded. I am using WordNet and Weka in my research. I will write about later.

  • VariableName=location of YOUR PROGRAM
  • export VariableName

You have to declare in the file “bashrc” . Below is how to do

  • type “vi .bashrc”
  • press “ESC”
  • press “I” (only when you press “I”, you can type something).
  • declare the location of the file as described in the picture.
  • after that , press “ESC”, shift + ; + q ( quit without saving)
  • press “ESC”, shift + ; + wq ( save and quit)



@bot.talk.google.com
June 11, 2008, 3:49 pm
Filed under: Application, Software | Tags: ,

there are 23 translation bots inside Gtalk. You can know translation of one language to another. It is said that accuracy rate is 20%. The process is simple. You can read here too.

http://googletalk.blogspot.com/2007/12/merry-christmas-god-jul-and.html

Here is two example bots, en2ja@bot.talk.google.com, en2ru@bot.talk.google.com. At the left bottom of Gtalk , there is ADD button. (1) Click ADD button and (2) paste `en2ru@bot.talk.google.com`(3) then click “send invite”. It is easy. Just like you invite a friend, you invite these bots. After that, it will appear in your friend list. Click `en2ru@bot.talk.google.com` , type in english within a second, it will show you translation of what you type.

I have heard about these. But I never thought that much easy. It is my old student introduced me. :) . I pass to this information to My brother. He was enjoying testing both Chinese and English. He did translation for Chinese movies for Myanmar subtitles. His rate for Chinese bot is more than 20%.

Do you know why I use ru2en? :P Just a fun . I want to reveal the truth. My old student said that I am lucky. He used me to guess the outcome of soccer match, Toto :) . I give 3 times and the first time, 6 , the last 2 times are both 8 correct. :P I am not encouraging my student in gambling. But I knew him well that he will do moderate. He has submitted his thesis and waiting for his viva. He has a lot of free times and he should have some fun, right?