A comparative study of parsing in English and Japanese