The logical interpretation of English and Japanese sentences