Learning Japanese Words and Grammars