Text Extraction in Python with Neural Networks