January 22, 2007
Chasen on OSX 10.4I found myself needing to do some Japanese morphological analysis today, which usually means either Chasen or Kabocha. Kabocha is supposed to be the new hottness, running fast, but a quick search didn't turn up any precompiled packages for it on OSX. ChaSen, on the other hand, is available in DarwinPorts, but since I went with fink, and just want to get something running, not enter into some sort of strange package-management land-war, I skipped that. It also turns out that apple is hosting an package for chasen. It install with a nice installer into
/usr/local/bin/chasen. It seems to run fine, includes the necessary dictionaries, etc., but I had a strange problem. When I tried to process a file in shift-jis encoding using the
-i sflag, I would get this strange error:
chasen: /usr/local/lib/chasen/dic/ipadic/cforms.cha:9-21: no basic formThat wasn't really what I wanted: I wanted parsed output. Well, since things seem to work just fine in EUC-JP encoding, you can always use iconv to convert from shift-jis to EUC-JP and pipe the resulting output to chasen:
iconv -f SHIFT-JIS -t EUC-JP file.txt | chasenThat works nicely.
January 21, 2007
First drive in Japan(日本語版はこちら) Yesterday I went on my first drive in Japan with a friend. We weren't too sure where to go at first, but in the end decided on Chiba. One of the really cool things about cars here in Japan is that many of them have these in-car navigation systems that can plot out a course from where you are to where you want to go. They usually use a DVD and have the entire country recorded on it. I know these systems are available in the US also, but they are not very common yet. I wonder if all of the US would be able to fit onto one DVD, because these things are totally cool. Anyway, going to Chiba from Tokyo took us through the Tokyo Bay Aqualine. I had never heard of the Aqualine before, but it is pretty cool. It is a tunnel and bridge system that goes across the Tokyo Bay. As an example of engineering it is really cool: it is basically a tunnel that goes three quarters of the way across the bay, then pops up and complets the trip across the bay as a bridge. They built an artificial island where the tunnel pops up, in the middle of the bay, and put a restaurant, parking garage, and gift shop there. It was all quite impressive really, but I really thought that Japan is one of the only places that would think "hey! three-quarters of the way through this bay tunnel, we need to construct an artificial island, and put a gift shop there!" According to my friend, not enough people take the Aqualine (it is expensive - about $25 one way!) and it is losing money. I can't believe it took 31 years to complete the thing! We checked out some Chiba-ken tourist information at Umi Hotaru (the sea firefly - that artificial island) and decided to go to the Kamogawa Seaworld. It was a nice trip, taking some small narrow twisty roads through the countryside hills. We saw some performances by the Beluga whales, the Killer Whales, and Sea Lions - similar to other things that I've seen before. I was glad that I've been to a bunch of similar things because I was able to understand what everyone was saying - all that neat beluga echolocation stuff and so on. On the way out you have to exit through the gift shop. I thought it was really funny that they were selling sea-food related items though. I don't think you would see that in America. But then again, while looking at some of the different fish, my friend also made comments like "that one is delicious!" so there you go. The giant crabs looked particularly yummy to me... Also, the Mola Mola were amazingly strange and crazy. They are just hilarious.
January 16, 2007
Building libbow and rainbow on Mac OSXFor some research work I'm doing, I would like to do some Bayesian modeling for text categorization. Since I'm not interested in re-inventing wheels when there are plenty of very well constructed wheels available for the taking, I thought I would install Andrew McCallum's libbow and rainbow packages on my Mac. Of course, I had a little bit of trouble, and thought it would be a good idea to document how I went about installing since a quick google search didn't turn much up. (Not quite true: I turned up one or two references to the packages being available via fink, but I couldn't find them in my setup.) Details follow the read more link. read more (484 words)
January 14, 2007
Eating too much in Korea: a wedding tradition?
My pictures of Dave Han's wedding in Korea.On Friday January 5th I got on a plane and went to Korea for Dave Han's wedding. He married Jiseon Park, and the ceremony took place in Gangneung Korea, on the East coast. It was very exciting for me for a few reasons: I've been friends with the Hans since I was a kid, and it is always lots of fun when I can spend time with their family. I've seen Dave a few times at UT when I go there to visit my sister, and was excited to meet his fiancé. I also haven't seen Greg (the eldest Han brother) in a really long time, and I'm always happy to see Eric. I've also never been to Korea before, and one of my good friends from New York was in Seoul visiting her family, so I was really looking forward to seeing her in her native Korea. Finally, I really love Korean food and have been looking forward to eating the real authentic deal for years. Since Gangneung (compare to Wikipedia's entry on Gangneung) is about three hours away from Seoul by express bus, it was an all-day affair getting there. The wedding was on Saturday, Dave was looking dapper in his tux and Jiseon was beautiful in her Christian-style wedding dress. Christianity is very popular in Korea, about a quarter of the population is Christian, so it makes an interesting comparison to Japan. The ceremony, was entirely in Korean except for a few bits that the preacher also said in English directly to Dave. The night before, when I just arrived, Eric, Greg, myself, and Jiseon's brother-in-laws all went out drinking (something that I did an unreasonable amount of in Korea) but Dave Han begged off because he had to study for the wedding. He did in fact have a few lines that he said in Korean. It was actually a very nice ceremony, even though I didn't understand anything. The choir also sung in Korean, and sounded amazing. After the wedding everyone went downstairs and we had lunch and a reception. There were not speeches or anything, just lots of very good food. For the reception, Dave and Jiseon changed into traditional Korean outfits. We all sat around and ate for about an hour, and in fact had lots of food left over. Gangneung is right on the coast, so there was a lot of sashimi and fresh seafood. After the lunch, the "young people" and the newlyweds squeezed into a van and we went to the coast for ... four more hours of eating and drinking. I was going to explode. The food was excellent though. The table was just piled high with plates, and lots of very fresh food. There was some octopus sashimi that was so fresh that the autonomous nervous response system was still running, so when you grabbed one of the cut-up tentacles, it would wiggle around. After the post-lunch gorging, we went to Jiseon's family's house for more food. I was going to explode. Back at the house, everyone played a very fun traditional Korean board game called Yut. You play with four sticks that can land either round side up or round side down (so basically four two-sided dice) and the point is to move five pieces around a board before the opposing team can move their pieces around the board. The Wikipedia articles gives an in-depth explanation, so I won't talk about that. But while our team was down at first (lost the first two games) we came back for a strong win by taking the next three games! We did have to extend to a best-of-seven series though. The next day I went to Seoul, which again took up the majority of the day for the three hour bus ride, and spent some time in the large COAX shopping mall. My friend Lena showed us around the city, and we also were kept very well fed. It seems like there is a cultural tradition to keeping guests extremely full. Since the food is great though, I really couldn't complain. I did gain a kilogram over four days in Korea though, which is frightening. It is going to take me ages to work that off while in Japan (which also has great food.) We also did some Karaoke singing in Korea, which is very popular (just like here in Japan, but perhaps even more popular?) Sadly since I only had four days in Korea, I didn't really get a chance to explore any temples or museums. I plan to go back sometime when it isn't so cold, and I have a bit more time to explore. Still, I really enjoyed seeing my friends in Korea, and eating until I was about to explode.
Han family at Han Park wedding.
Jiseon Park and David Han
Table full of plates
Han family at Han Park wedding.
Jiseon Park and David Han
Table full of plates
January 10, 2007
Simple Referrer trackingJust for fun, I've added some simple referrer tracking code to this site, and will be playing around with it for a while. The code is from Justinsomnia. Thanks for the code!
January 1, 2007
First First Temple Visit
Kuhombutsu Main Gate
People lining up
Kuhombutsu Temple Bell
Happy New Year from Kuhombutsu!
Happy New Year!This was my first ever New Year's Eve in Japan. Last year, I was in Kuala Lumpur, Malaysia celebrating the New Year with my friend Gyn Ian Yap, and back in the States the year before that. I've been looking forward to my first New Year's in Japan because it is a big holiday here. While Christmas is not really deeply culturally connected to Japan, the New Year's holiday really is. Most companies have three to five days off to celebrate the holiday, and one of the big parts of the New Year's celebration is the 初詣 (Hatsu Moude, literally "first" "temple visit"), the first visit to a temple of the New Year. Many people go to the temple at midnight to (literally) ring-in the New Year. I've been looking forward to my first first temple visit (初初詣?) since I came here. One of the most popular temples for the Hatsu Moude, the Meiji Shrine, can see as many as ten thousand people go through the first day. I've heard that there are two or three hour waits just to get into the temple. In fact, New Year's Eve is the only night in Japan where the trains run past 1am so people can go and visit temples. Because I'm not too excited about multi-hour waits, in fact I've done that a few times when I went to Times Square in New York, I decided to go to a local temple. Luckily, I have a great temple about a five minute walk away from where I live, called Kuhombutsu. I headed out at about 11:20pm, and ended up waiting at the gates for a little while. The main gates were closed until 11:30pm, and I waited with about twenty other people for the gates to open. We went in and walked around the temple grounds. The main building is lit up nicely and they open it up so you can see the large golden Buddha statues inside. At about ten minutes before midnight two priests started to chant near the large temple bell, and people started to line up near the main building to wait for the New Year. At midnight the priests start ringing the bell, and people start donating to the Shrine and wishing for a Happy New Year. I was quite surprised because while there were few people at 11:30pm, by ten past midnight maybe two hundred people had lined up. I stayed until about 12:45am, and even when I left people were still coming in. I think they kept on coming for quite a while, but as for myself, I was tired so I headed home. On the way home, I bought a lucky arrow that is supposed to bring good luck. I'm not sure about that, and actually I think it would be more useful if I had a bow to go with the arrow. That way, if something bad happens, like a burglar tries to break into my apartment, I could shoot them with an arrow which would possibly be good luck. I also bought a yaki-moe (hot potato) on the way home and ate that. I don't know if they are traditional foods for New Year's, but it sure did help keep my hands warm. There are traditional foods, but since I was on my own, I didn't know what they were. Anyway, I hope you all have a great 2007 and a Happy New Year!
December 29, 2006
Followup to "More Becky on Japanese TV"This is a follow up to a previous post of mine about a Japanese drama I've been watching.
I finished watching "Anna-san no Omame" the other day, and in general thought it was ok. The show has a very exaggerated comedic style, and can't really be taken very seriously, but is fun for what it is. I didn't like the ending much; an absurd setup to keep Lilly living with Kyousuke and Anna.
There were some memorable episodes. The "lighting strike switches Lilly and Kyosuke's bodies" was memorable, if horribly cliched. There was another episode where Lilly faced down some Yakuza people, saving Kyosuke from them, of course in a situation that she forced him (inadvertently) into in the first place. The final wedding episode was sort of annoying. I was working while I had it playing in the background, but overall it seems like the entire thing was a charade set up by Lilly's father to see if Kyousuke would come to try to stop the wedding. Ridiculous and not even in a funny way.
Still, Lilly's catchphrases and mannerisms are amusing, and I enjoyed that, despite going into things thinking they would just wear on me. Eventually you really start to wonder how she will mis-interpret things, and look forward to that. Strange.
Next up on my J-drama list is "Sailor-fuku to Kikanjyuu" or "The school girl and the Machine Gun" - a kind of comedy (I think?) about a school girl that becomes the head of her families Yakuza clan.
By the way, if you don't know about it already, d-addicts.com is an excellent place to go for your Japanese (or Korean or Chinese) Television downloading needs. I usually grab the Japanese language releases, which are up the day after airing and then watch a complete run after they have all aired. Often, the fans there will subtitle series that they like. It is a very useful site for people interested in learning, or at least listening to, Japanese.
December 26, 2006
Christmas Colonel Sanders / The Japanese concept of a traditional ChristmasWikipedia, but from what I've learned from talking to Japanese people here, Kentucky Fried Chicken has always been the traditional food for Christmas. I believe that this is attributable to a great marketing campaign on the part of KFC, and the Japanese peoples' readiness to accept that Americans love fried food. At my friend's Christmas party just a few days ago, people were very surprised when I said that almost nobody had KFC on Christmas or Christmas Eve. Over at What Japan Thinks there is an article about foods that Japanese people most want to eat at a Christmas party. Fried Chicken tops the list. Even more amusing is the prevalent belief that Christmas Cake is ubiquitous in America. Sure, some people have Fruit Cakes, but they are generally not well liked, and certainly not something that people go out of their way to order and get for Christmas Eve. At my friend's Christmas Party there was Christmas Cake as well, a nice light cream cake with white frosting and some strawberries. The cakes in general are light with strawberries and some cream. You also have to generally order these things in advance, from all the posters that I saw. There are probably places that will sell the without orders as well, but I saw a lot of posters for ordering Christmas Cake during the month of December. Christmas overall is quite interesting here, since the population is only about 1% Christian in Japan, most people don't know that Christmas is a religious holiday. The lights, the big fat man in a red suit, and traditional food (fried chicken and cake) all make for a great holiday. It is a nice time to go shopping, always fun to do, and to have parties before the end of the year parties and new year parties. Parties are always a good thing. Mostly though, it is interesting to see the Japanese idea of the Western holiday. Oddly enough, as time goes on, I think the American concept of Christmas becomes more and more like the hyper-commercialized version seen in Japan. There are big differences though. In Japan, Christmas Eve is the main event, and it is a couples event. While I have read that presents are usually exchanged, I believe it to be primarily only between lovers who are the main focus of Christmas Eve. None of my friends exchanged any gifts. Christmas itself is not really observed, in fact, I had a meeting on Christmas and most places were open for business as usual. So the Japanese have imported what they think of as the important parts of Christmas, going out with a significant other, buying things (mostly for yourself than for others) and eating cake. They happily ignore, or more correctly, do not recognize, the other aspects which are from our point of view more important. It is a very interesting lens through which to look at our own culture. Also, I really like Fried Chicken and Cake. So I think I'm staying here for a while. Small Christmas lists also help out the wallet too.
December 23, 2006
No force on Earth can stop one hundred Santas!!Santarchy gathering in Shibuya. Since it is close by, I decided to stop by and check it out. I've got plans already - I'm heading to my friend Watanabe's place this afternoon for a Christmas party, so I couldn't join in on the Shibuya Santa fun, but I did think it would be worth it to snap a few pictures. Maybe next year I'll try to join in. Since I went all the way to Shibuya, I stopped by the Shibuya Game Kaikan for a few games of SF2. There was someone playing Hyper SF2 Anniversary Edition, so I joined in with my Zangief. I took the first game against his Ken, then two more matches against his Ryu. He beat me, and then I tried again with Zangief, but he put the machine on speed 1. Speed 1. I haven't played this game so slowly for ages. It was impossible. Well, I had two more 50 yen pieces, so I switched into Ryu mode. We played soooo slowly. It was close. It could go either way, but I lost. One more game with Ryu, one more close loss. It was soooo slooooow. We were pretty evenly matched, although he probably plays many more characters than I do. I only play Zangief well, along with some reasonable Ryu and THawk impersonations. Still, it was pretty fun. Overall I think I won about as many as I lost, so not too bad. Also, I saw all the Santas.
December 19, 2006
More Becky on Japanese TVIt has been a long time since I've posted (is anyone even watching?) because work has been just killer lately. This past month I spent a crazy amount of time working on a system to do automatic opinion analysis for the NTCIR Opinion Analysis Pilot Task. I submitted my results yesterday, and I can probably drop back down to regular work week hours now. So today, for the first time in ages, I came home before 10 and started watching some TV that I've been downloading. First up is a Japanese show that I was interested in. The main reason is because of the actress Becky, about whom I have written before. She's the main actress in the show Anna-san's Omame, which has a bit of a suggestive title. While it can mean "Anna's bean", it can also mean clitoris. Anyway, the story is about Anna, a nice normal woman dating a nice normal guy, and Anna's friend, Riri, who misunderstands almost everything. She is convinced that Anna's boyfriend is in love with her, and hilarity ensues. Or, in this case, not so much hilarity. I do like that they don't make a big deal about Becky's being half cauacasian, but maybe that is something particular to Becky. Most of the caucasian or foreign acting talent in Japan are treated as a special case of having this particular unusual ability - being able to speak Japanese. I think with Becky, the Japanese are happy to use her in a role where they explicitly do not bring attention to her being half in a kind of intentional blindness. She still does get some crazy roles though, such as this one where she always makes outrageous misunderstandings. Her catchphrases in this show (so far I'm up to episode two) are annoying, especially ending everything with みたい〜なぁぁ〜, but it is very easy to understand, so I'll probably leave it on while I check email and do light work. I can't always do that with Japanese TV (especially the news!) because I have to concentrate. I've downloaded one or two other current series as well, so I'll comment on them later if I ever get through this drama.
December 3, 2006
Sightseeing in Kyoto
Kiyomizudera at night.
God of Success and Promotion. I could use some of his help.
Red leaves on the way to Kinkakuji.
Kinkakuji reflected in the pond.
Kinkakuji with tree. I like this picture for some reason.
December 1, 2006
Kyoto International Manga Museum Opens
The Kyoto International Manga Museum is four floors of Manga and exhibits on Manga from around the world.
read more (2355 words)
November 30, 2006
International Conference on Asian Digital Libraries (ICADL2006) in Kyoto day 4
- Institutional Repositories in Japan: In the Framework of Cyberscience Infrastructure
- Kyoto International Manga Museum
- Kyoto University Digital Library and Institutional Repository
- Journal@rchive: An Archiving Project of Japanese Academic Journals
November 29, 2006
International Conference on Asian Digital Libraries (ICADL2006) in Kyoto day 3
- Kikori-KS: An Effective and Efficient Keyword Search System for Digital Libraries in XML
- Supporting Efficient Grouping and Summary Information for Semistructured Digital Libraries
- Functional Composition of Web Databases
- Integration of Wikipedia and a Geography Digital Library
- Impact of Document Structure to Hierarchical Summarization
- Indexing All the World's Books: Future Directions and Challenges for Google Book Search
- One Billion Children and Digital Libraries: With Your Help, What the $100 Laptop and Its Sunlight Readable Display Might Enable
- Next-Generation Search panel
November 28, 2006
International Conference on Asian Digital Libraries (ICADL2006) in Kyoto day 2
- A Digital Resource Harvesting Approach for Distributed Heterogeneous Repositories
- Parallelising Harvesting
- Personlized Information Delivering Service in Blog-like Digital Libraries
- A Personal Ontology Model for Library Recommendation System
- Research and Implementation of a Personalized Recommendation System
- Text Image Spotting Using Local Crowdedness and Hausdorff Distance
- Effective Image Retrieval for the M-learning System
- Language Translation and Media Transformation in Cross-Language Image Retrieval
- A Surface Errors Locator System for Ancient Chinese Culture Preservation
November 27, 2006
International Conference on Asian Digital Libraries (ICADL2006) in Kyoto day 1
- Opening Keynote by Dr. Makoto Nagao
- Owlery: A Flexible Content Management System for 'Growing Metadata' of Cultural Heritage Objects and its Education Use in the CEAX Project
- "A Digital Video Archive System of DNAP Taiwan"
November 12, 2006
Lucky Number SlevenI also watched Lucky Number Sleven over the weekend. It was pretty good! In the style of "The Usual Suspects", an interesting movie with a high-powered cast.
Harry Potter and the Goblet of Fire / Jarvis Cocker!?So this is a strange one. On the weekend I do a lot of work from home, programming, some stuff for fun (some programming on side-projects, translating manga so I don't forget how to like, read Japanese) and so on. I like to play bad movies when I'm doing this. So, I finally got around to checking out Harry Potter and the Goblet of Fire this weekend. Now, in all honesty, I do not like Harry Potter. I haven't read any of the books, but I did watch the first movie. I didn't like it. The main problem I had with it was that it didn't seem like Harry Potter himself did anything at all to merit being thought of as such a wonderful, great magician. As far as I could tell, Harry got by entirely because of gifts from his family and friends. He didn't seem to have any amazing courage or great ideas in the face of danger, and just seemed to go along with things as they developed. The third movie seemed to be more of the same. I can't think of a single instance where he did anything of his own merit. He got into this 3-wizards competition because someone put his name in there. He won the dragon challenge because he was told to use his skill of flying, and in the end just kind of bobbled around and got through by luck. He didn't seem to have a plan at all. He found out how to open that egg because someone told him, and found out how to turn into a mer-man because of someone else as well. The only good points he showed is that he was willing to put his friends ahead of himself, but since he's just a shy guy anyway, that isn't really too surprising. Even worse, it doesn't look like there are good role models in this movie either. I'm really surprised at how stereotyped and traditional the women are portrayed as in the movie. Also, how come it seems like none of these students know what is happening? If this school has been around for so long, and has a winter dance ever year, and that wizard competition thing, shouldn't they have known about it? Anyway, I didn't really pay much attention to the movie until the dance. Because then I could swear that I heard Pulp, famous for Common People, a most excellent song, singing. Well, not really Pulp, but Jarvis Cocker for sure. After looking around, I found out that indeed, it was him! He got together with a pretty high-powered group, called The Weird Sisters, to sing three songs for the soundtrack. I've got to try to hunt those down. So, basically, I still don't like Harry Potter, but I was really surprised to see Jarvis Cocker in the soundtrack. Pretty funny!
November 6, 2006
Mystery Jets ConcertI'm going back and posting up quick notes on the concerts I've seen in the past few months. I haven't had the chance to see many shows, since they cost anywhere from 5,000円 to 6,500円 a show. There are cheaper concerts for lesser-known local acts, but I haven't had the time to get into that scene yet. My friend Risa had tickets to the Mystery Jets show on Monday, so we went. I wish I had written this up after the show, but I didn't so I don't have much to say except that it was a good show, very crowded, lots of energy, and lots of fun.
October 29, 2006
Video as an art mediumOn Saturday I went to the Mori Art Museum with a friend and saw the Bill Viola exhibition. This was the first exhibition I went to that was entirely done in Video. I have to admit, I wasn't impressed. I think video is a tough medium, because when it comes down to it, I do not think there is a shared consensus on how to interpret video as a medium for art. Culturally we have had a lot of experience with video as entertainment, and I think one would be hard pressed to argue for popular media as art, and especially as advertising. But museum art is a different creature. You have to spend time to watch the entire loop. If the loops are long, this can really be tough, because you are doing a lot of standing around. Also, it seems like an imposition to walk in or out on the people that are already there viewing. So I think that just as a medium, it is tough in a museum setting. More than that though, I just had a really hard time interpreting what the artist means to say when I don't feel like I'm equipped with the social metaphors to understand his art. I mean, I could film some people's hands for an hour and slow it down. Anyway, I still really like the Mori Art Museum in Roppongi Hills and am looking forward to their next exhibition. I am glad that I've seen some video art, but as of now, it isn't one of my favorite mediums. Of course, as I write this I'm watching "Scrubs", which is a form of video art. The deeper message is mostly "funny" with a dash of "serious topics", kind of like life.
Go to Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30