add some methods (Bopomo.rb, String.rb)