

def pdf_to_txt(self):
    'pdf to txt conversion, use pdftotext command (poppler)'
    file_obj = self.do_convert('pdftotext -enc Latin1 %(from)s %(to)s')
    return ['text/plain', file_obj]

dataset/ETHPy150Open adlibre/Adlibre-DMS/adlibre_dms/libraries/adlibre/converter.py NewFileConverter.pdf_to_txt/original