Implementing a Logical Inference System for Japanese Comparatives