I’m currently working on a Dojo/Dijit based web application. The HTML for this app is very minimal: just a div tag that is used as a connection point. The rest of the HTML is generated on the fly by the Dijit libraries. Here is an example: var table = new dojox.layout.TableContainer({ cols: 2, spacing: “5px” [...]
READ MORE »Editing Percent Values Using Dijit’s NumberTextBox
Dijit is a web UI toolkit built on top of the Dojo framework. One of its widgets is called NumberTextBox. This widget allows you to show and edit formatted numbers easily. For example, I can create an instance of CurrencyTextBox (a subclass of NumberTextBox) and call set(“value”, 2589632). This will display the value as follows (assuming that [...]
READ MORE »A Simple Esperanto Keyboard for iPhone
Today I wrote a simple Esperanto keyboard for the iPhone. It’s really just a little HTML page with some JavaScript and CSS to make it look like an iPhone app when you view it from an iPhone. It looks pretty bad if you view it outside of an iPhone though, because the buttons don’t line [...]
READ MORE »XML Generation in RPG
The company I work for makes heavy use of their IBM Power i midrange servers (previously known as AS/400 or iSeries servers). A lot of their software is written in the RPG programming language, which IBM originally developed back in the 1960s. The language was originally written to generate reports and lacked many “modern” programming [...]
READ MORE »Huffman Coding, Unicode, and CJKV Data
Today I wrote a little utility in Java that compresses a file using Huffman coding. Normally Huffman coding works on 8-bit bytes. However, because of my experience dealing with Chinese, Japanese, Korean, and other non-English text I wondered how well the coding method would work on double byte character sets. Specifically, I was curious about [...]
READ MORE »First Release of Japanese Dependency Vectors
At the end of last semester I finished the first version of Japanese Dependency Vectors (jpdv). I had to give up on using Clojure at the last minute because it was taking me too long to make progress and I needed to have some sort of a working system to turn in for my NLP [...]
READ MORE »Japanese Dependency Vectors
I’ve been working on a new project I call “Japanese Dependency Vectors” or “jpdv” for short. It’s a program that generates dependency based semantic vector spaces for Japanese text. (There’s already an excellent tool for doing this with English, which was written by Sebastian Pado.) However, jpdv still has a way to go before it [...]
READ MORE »Installing CaboCha in Mac OSX with MacPorts
CaboCha is a dependency parser for Japanese used by (among other things) the Japanese FrameNet project. Getting it installed and working on my mac turned out to be more work than I had anticipated, so I thought I would post instructions for anyone who might also want to install CaboCha.
READ MORE »New Cubicle
I got my new cubicle assignment yesterday. The room is only around 5′×5′ and I share it with another graduate student, but it has a door that locks and a bookshelf where I can keep some of my books.
READ MORE »