Parse/Generate pinyin, bopomofo, wade-giles and more using Ruby