I knew Wavelet in some mathematics courses. And last year, I knew some body used it for blaze temperature. In his slides, there were some tree structures. It's a nice link to sentence tree structure. I wanted to do some research on combining wavelet for NLP. But there were so many mathematical formulas that I had not known it clearly finally. And by surrounding many other tasks, I abandoned it nearly.
These days, Ke Wu, who was from ShangHai Jiao Tong University, had introduced many related basic knowledge to me. We discussed many ideas on combining wavelet method for NLP. This afternoon, we had a casual brainstorm on the combination. However, after checking on web, we found some similar ideas.
We believed our ideas should be insistent. We will try more.
2005年9月30日
2005年9月29日
The art of Asc II
I had one more task for Giza++. I should do some tokenization for the parallel corpus. The simplest approach was using space for separating interlunations.
Using C# regular expression, it was simple.
"str_temp = Regex.Replace(str_temp, @"\.", " . ");"
could be used for separating period.
But there were many symbols should be separated: ,./;'[]\<>?:"{}|`~!@#$%^&*()-_=+
If using the approach, it was boring.
However, there was another usage for regx. "\x09-\x15" could be used for matching lots of symbols. To do so, I should check the Asc ii table.
I found one nice table of Asc ii, as following:


You could find out the interlunations were in some areas: 21-2F, 3A-40, 5B-60, and 7B-7F, in Hex respectively.
So my solution for such task was
str_temp = Regex.Replace(str_temp, @"([\x21-\x2F\x3A-\x40\x5B-\x60\x7B-\x7F])", " $1 ");
str_temp = Regex.Replace(str_temp, @" ", " ");
The second step was used for deleting redundant spaces.
Until now, I thought Asc ii was an art. How do you think?
Using C# regular expression, it was simple.
"str_temp = Regex.Replace(str_temp, @"\.", " . ");"
could be used for separating period.
But there were many symbols should be separated: ,./;'[]\<>?:"{}|`~!@#$%^&*()-_=+
If using the approach, it was boring.
However, there was another usage for regx. "\x09-\x15" could be used for matching lots of symbols. To do so, I should check the Asc ii table.
I found one nice table of Asc ii, as following:


You could find out the interlunations were in some areas: 21-2F, 3A-40, 5B-60, and 7B-7F, in Hex respectively.
So my solution for such task was
str_temp = Regex.Replace(str_temp, @"([\x21-\x2F\x3A-\x40\x5B-\x60\x7B-\x7F])", " $1 ");
str_temp = Regex.Replace(str_temp, @" ", " ");
The second step was used for deleting redundant spaces.
Until now, I thought Asc ii was an art. How do you think?
2005年9月28日
Happy Birthday to Zzz
This morning, our Libra members had a discussion on the celebrating activity for birthday of Zhizhi Zhou(Zzz). This time, we all had not any hesitation. Our decision was gathering at hall of one floor and going to have a party around Renmin University.
Tian Fang, with his girl friend, Ying Song, and I were on behalf of MSRA. We all were in Libra. We knew each other on the poster design competition. Zzz's three roommates and one girl's boyfriend went together to the Western-style restaurant. We were very glad during the four hours. We had nice dinner there. I liked beefsteak with black pepper very much. After our dinner, we had some games there. At the beginning, we told many jokes. Then we played the classical game "Kill man".
How time flied! When we realized the time. It was 10:30pm. We had such a nice evening. Happy birthday to Zzz.
Tian Fang, with his girl friend, Ying Song, and I were on behalf of MSRA. We all were in Libra. We knew each other on the poster design competition. Zzz's three roommates and one girl's boyfriend went together to the Western-style restaurant. We were very glad during the four hours. We had nice dinner there. I liked beefsteak with black pepper very much. After our dinner, we had some games there. At the beginning, we told many jokes. Then we played the classical game "Kill man".
How time flied! When we realized the time. It was 10:30pm. We had such a nice evening. Happy birthday to Zzz.
2005年9月27日
我的生日
记得2003年我生日那天我们实验室和机器翻译实验室进行了乒乓球友谊赛,2004年我生日那天我参加了硕博连读的面试,今年生日很遗憾没能在实验室度过。但是不要紧,现在的网络非常发达,身在北京我同样收到了很多的祝福。今天的我是幸福的,快乐的。
早上我到北航邮局取回了亚杰寄来的生日礼物,说来也巧,她数日前寄出,我今天刚好收到。小心打开包裹发现里面是一个精致的钱夹和一盒精美的巧克力,钱夹里面还有亚杰的照片,那是她在北京的时候我帮她照的,很不错的。非常感激她的礼物。
晚餐我邀请了NLC的朋友们一起到希格玛对面的湘军宴餐厅。这里主要经营湖南菜肴,味道非常的不错。到座的朋友有我的兄弟世奇,重大的明儿个飞美国的际洲、酷爱大长今的陈议,天大的未曾蒙面就很熟悉的小崔、惯于语出惊人的永火、天大求实AI版主张扬,南开的幽默爱好广泛的徐君、带领我们外出游玩的刘菁菁,上海交大每晚熟读paper的包胜华、今天刚我讲授小波的吴科,中科大给我讲我的姓的来由的蒋凡,北大才子代码高手蒋龙。大家在席间谈笑自如,非常感谢大家陪我度过了我的24岁生日。
24岁代表了我度过了两个人生的年轮,下一个五年计划就是我的读博之路,我会为之奋斗的。
早上我到北航邮局取回了亚杰寄来的生日礼物,说来也巧,她数日前寄出,我今天刚好收到。小心打开包裹发现里面是一个精致的钱夹和一盒精美的巧克力,钱夹里面还有亚杰的照片,那是她在北京的时候我帮她照的,很不错的。非常感激她的礼物。
晚餐我邀请了NLC的朋友们一起到希格玛对面的湘军宴餐厅。这里主要经营湖南菜肴,味道非常的不错。到座的朋友有我的兄弟世奇,重大的明儿个飞美国的际洲、酷爱大长今的陈议,天大的未曾蒙面就很熟悉的小崔、惯于语出惊人的永火、天大求实AI版主张扬,南开的幽默爱好广泛的徐君、带领我们外出游玩的刘菁菁,上海交大每晚熟读paper的包胜华、今天刚我讲授小波的吴科,中科大给我讲我的姓的来由的蒋凡,北大才子代码高手蒋龙。大家在席间谈笑自如,非常感谢大家陪我度过了我的24岁生日。
24岁代表了我度过了两个人生的年轮,下一个五年计划就是我的读博之路,我会为之奋斗的。
2005年9月26日
Busy on C# programming
Now, my task was extracting dictionary entries from a sql server database. I was programming in c# language. After the programming practice on knowledge base import program and developing a simple website for knowledge base writing, I had been familiar with C# a lot. Its string process ability was very good.
This time, my key point was on arraylist. There was a bug I thought in C#. That was is you use:
-------------------------------------------
string[] array_test= ……
foreach(string i in array_test)
{
string str_temp = i.ToString();
int int_start = str_temp.IndexOf("test"); //there will be an error. It is said that int can not transform into string
}
-------------------------------------------
I did not know why it happened. My solution was using one more function importing i.ToString() and return the string processing result.
There was some difference between C# and C++ programming. I would be know more about their difference.
This time, my key point was on arraylist. There was a bug I thought in C#. That was is you use:
-------------------------------------------
string[] array_test= ……
foreach(string i in array_test)
{
string str_temp = i.ToString();
int int_start = str_temp.IndexOf("test"); //there will be an error. It is said that int can not transform into string
}
-------------------------------------------
I did not know why it happened. My solution was using one more function importing i.ToString() and return the string processing result.
There was some difference between C# and C++ programming. I would be know more about their difference.
2005年9月25日
又是王垠
昨天的blog中提到的文章完全用Linux工作,摈弃Windows在文尾才提到原来作者就是王垠。他的这篇文章已经在Linux界引起了强烈的反响。
这两天看到周围很多同学在看一篇文章清华梦的粉碎—写给清华大学的退学申请。原本以为和以往看到过的描述读博期间遇到的寒心往事差不多也就没有关注。今晨打开电脑,这篇文章又出现在我的Gmail论坛邮件里面,打开链接后发现作者又是“王垠”。联想到昨日的文章,不禁想了解一下这位大侠究竟是何方神圣。
他的文章从他儿时的经历开始。看着他探索自然观察周围的那种兴奋时,我忘了文章的标题,因为这种东西彷佛在自己身上出现了共振。自己小时候也有过类似的情形出现。文章在描述他的高中生涯时发出了对中国高中教育的控诉。到大学时,文章中最扎眼的就是一位老师在签字时说的话以及在和他的兄弟们告别宴上一位同学的肺腑之言。写到作者到了清华还是他的硕博之路后就开始了他对“什么是研究?”的探索。《计算几何》课程中体会到了研究的乐趣。之后和导师以及副导师在论文上的斗争是作者最为激烈的感受。作者生活中体会到的大学研究不过了了,很难将他心底儿时积攒下来的那种发现创新欲望发挥出来。最终导致了作者的退学申请。
这篇文章写于9月22日,也就是三天前。他也许会出国去寻找他所期望的研究乐土。网上有人评论这篇文章,说是作者的决断或许偏激,但是所提到的现象在大学中确实存在,论文其实已经成了衡量科研的唯一标准,没有人更好的过问科研成果的转化问题。
或许王垠的案例中体现出来的是一种中国当前高等教育科研的现状。说来很巧,王垠家在眉山,那个地方和我的家乡峨眉山非常的近,也就三十公里之遥吧。王垠是硕博连读,我也是。想到此,自然会问自己,“我会遇到王垠的这种情况么?”。
有人列出他的经历,对于未曾经历类似情形的人是一种教训。我应该尽量避免出现类似的问题。事实上,我现在感受的科研还没有出现王垠遇到的情形。王垠文章中提到的那种类似国外大学的 Common Room在我们学校里面已经有很好的形式。我们实验室举办的reading group&coding group以及我在学校里面和另外一位师兄发起的machine learning group都起到了很好的效果。我的老师对于我组织类似活动是极大支持的。在我所在的实验室中体会到的是一种研究的自由,那种自由的空间是非常明显的。老师的开明和言传身教让我觉得我的硕博连读是我正确的选择。
或许应该感谢作者的这篇文章,让我多了一个审视自己的机会。现在的我更加深信自己的连读是正确的。我也要感谢我的老师以及我所在的实验室HIT-IR-LAB。
ps:在王垠的个人主页(清华)上面发现了很多有意思的东西,大家不妨上去看看。
这两天看到周围很多同学在看一篇文章清华梦的粉碎—写给清华大学的退学申请。原本以为和以往看到过的描述读博期间遇到的寒心往事差不多也就没有关注。今晨打开电脑,这篇文章又出现在我的Gmail论坛邮件里面,打开链接后发现作者又是“王垠”。联想到昨日的文章,不禁想了解一下这位大侠究竟是何方神圣。
他的文章从他儿时的经历开始。看着他探索自然观察周围的那种兴奋时,我忘了文章的标题,因为这种东西彷佛在自己身上出现了共振。自己小时候也有过类似的情形出现。文章在描述他的高中生涯时发出了对中国高中教育的控诉。到大学时,文章中最扎眼的就是一位老师在签字时说的话以及在和他的兄弟们告别宴上一位同学的肺腑之言。写到作者到了清华还是他的硕博之路后就开始了他对“什么是研究?”的探索。《计算几何》课程中体会到了研究的乐趣。之后和导师以及副导师在论文上的斗争是作者最为激烈的感受。作者生活中体会到的大学研究不过了了,很难将他心底儿时积攒下来的那种发现创新欲望发挥出来。最终导致了作者的退学申请。
这篇文章写于9月22日,也就是三天前。他也许会出国去寻找他所期望的研究乐土。网上有人评论这篇文章,说是作者的决断或许偏激,但是所提到的现象在大学中确实存在,论文其实已经成了衡量科研的唯一标准,没有人更好的过问科研成果的转化问题。
或许王垠的案例中体现出来的是一种中国当前高等教育科研的现状。说来很巧,王垠家在眉山,那个地方和我的家乡峨眉山非常的近,也就三十公里之遥吧。王垠是硕博连读,我也是。想到此,自然会问自己,“我会遇到王垠的这种情况么?”。
有人列出他的经历,对于未曾经历类似情形的人是一种教训。我应该尽量避免出现类似的问题。事实上,我现在感受的科研还没有出现王垠遇到的情形。王垠文章中提到的那种类似国外大学的 Common Room在我们学校里面已经有很好的形式。我们实验室举办的reading group&coding group以及我在学校里面和另外一位师兄发起的machine learning group都起到了很好的效果。我的老师对于我组织类似活动是极大支持的。在我所在的实验室中体会到的是一种研究的自由,那种自由的空间是非常明显的。老师的开明和言传身教让我觉得我的硕博连读是我正确的选择。
或许应该感谢作者的这篇文章,让我多了一个审视自己的机会。现在的我更加深信自己的连读是正确的。我也要感谢我的老师以及我所在的实验室HIT-IR-LAB。
ps:在王垠的个人主页(清华)上面发现了很多有意思的东西,大家不妨上去看看。
2005年9月24日
The process of learning on computer application
I had such cognition that every body learns computer application from high to low level. It seems to be incomprehensible. You can read on my understanding.
When some body, who have never known and used computer, will be attracted by the wonderful interface and nice basic application. In terms of some all-known reasons, his first using operating system maybe Windows 2000/XP. He will be used to use Windows Office 2000/XP/2003 for his common requirement. After his enjoyment of much nice beautiful software, he would be like to learn programming. So he would choose some nice IDE, such as Miscrosoft Visual Studio. These tools are integration by many little tools. But those IDE software have some faults impacting the high level users. He would find out such faults and then try other tools. Under the main current, he will try command line style tools, like "dos", "Linux", and so on. Finally, he will be sensitive on tools for his requirement.
I had little feeling on one article, just above. The article is 完全用Linux工作,摈弃Windows. Maybe you will get some inspiration on it also.
When some body, who have never known and used computer, will be attracted by the wonderful interface and nice basic application. In terms of some all-known reasons, his first using operating system maybe Windows 2000/XP. He will be used to use Windows Office 2000/XP/2003 for his common requirement. After his enjoyment of much nice beautiful software, he would be like to learn programming. So he would choose some nice IDE, such as Miscrosoft Visual Studio. These tools are integration by many little tools. But those IDE software have some faults impacting the high level users. He would find out such faults and then try other tools. Under the main current, he will try command line style tools, like "dos", "Linux", and so on. Finally, he will be sensitive on tools for his requirement.
I had little feeling on one article, just above. The article is 完全用Linux工作,摈弃Windows. Maybe you will get some inspiration on it also.
订阅:
博文 (Atom)