def text_visible(self):
<EOL>words = self.read().split()<EOL>for word in words:<EOL><INDENT>if word.lstrip('<STR_LIT:->').replace('<STR_LIT:.>', '<STR_LIT>', <NUM_LIT:1>).isdigit():<EOL><INDENT>return True<EOL><DEDENT>if word.isalpha() and (len(word) > <NUM_LIT:1> or len(word) <= <NUM_LIT:20>):<EOL><INDENT>return True<EOL><DEDENT><DEDENT>return False<EOL>
Returns true or false based on if the OCR process has read
actual words. This is needed to prevent non-words from being
added to the queue since the ocr process can sometimes return
values that are not meaningfull.