Recognizing fractions