Package: documentparser
#Document ParserA simple CLI tool that allow to extract all text contained into a document.InstallationExecute the followings command to before installing DocumentParserDebian/Ubuntusudo apt-get updatesudo apt-get install build-essential libpoppler-cpp-dev pkg-config python-devapt-get install python-dev libxml2-dev libxslt1-dev antiword unrtf poppler-utils pstotext tesseract-ocrflac ffmpeg lame libmad0 libso-fmt-mp3 sox libjpeg-dev swigxpip install docparserMacOSxbrew install pkg-config popplerbrew cask install xquartzbrew install poppler antiword unrtf tesseract swigFedora / CentOSBefore you start you've to know that there's no a quickly way to install DocParser in a Fedora based system.
This is caused by some missing dependences. This can be the hardest way, but in the end you'll be proud of yourself XD.yum -y updateyum install python-pipRequired by the .docx parser which uses lxml via python-docx.yum install libxml2 libxslt-devel libxml2-develRequired by the .docx parser which users lxml via python-docx.yum install libxsltRequired by the .doc and .ps  parser.wgethttps://forensics.cert.org/cert-forensics-tools-release-el7.rpmrpm -Uvh cert-forensics-tools-release*rpmyum --enablerepo=forensics install antiwordyum --enablerepo=forensics install pstotextRequire by .pdf parser*yum install poppler-utilsRequred by .jpg, .png, gif parsercd /optyum -y install libstdc++ autoconf automake libtool autoconf-archive pkg-config gcc gcc-c++ make libjpeg-devel libpng-devel libtiff-devel zlib-develInstall AutoConf-Archivewgetftp://mirror.switch.ch/pool/4/mirror/epel/7/ppc64/a/autoconf-archive-2016.09.16-1.el7.noarch.rpmrpm -i autoconf-archive-2016.09.16-1.el7.noarch.rpmInstall Leptonica from Sourcewgethttp://www.leptonica.com/source/leptonica-1.75.3.tar.gztar -zxvf leptonica-1.75.3.tar.gzcd leptonica-1.75.3./autobuild./configuremakemake installcd ..Install Tesseract from Sourcewgethttps://github.com/tesseract-ocr/tesseract/archive/3.05.01.tar.gztar -zxvf 3.05.01.tar.gzcd tesseract-3.05.01./autogen.shPKG_CONFIG_PATH=/usr/local/lib/pkgconfig LIBLEPT_HEADERSDIR=/usr/local/include ./configure --with-extra-includes=/usr/local/include --with-extra-libraries=/usr/local/libLDFLAGS="-L/usr/local/lib" CFLAGS="-I/usr/local/include" makemake installldconfigcd ..Download and install tesseract language fileswgethttps://github.com/tesseract-ocr/tessdata/raw/3.04.00/ben.traineddatawgethttps://github.com/tesseract-ocr/tessdata/raw/3.04.00/eng.traineddatawgethttps://github.com/tesseract-ocr/tessdata/raw/3.04.00/hin.traineddatawgethttps://github.com/tesseract-ocr/tessdata/raw/3.04.00/tha.traineddatawgethttps://github.com/tesseract-ocr/tessdata/raw/3.04.00/osd.traineddatamv *.traineddata /usr/local/share/tessdataDownload Hindi Cube datawgethttps://github.com/tesseract-ocr/tessdata/raw/3.04.00/hin.cube.bigramswgethttps://github.com/tesseract-ocr/tessdata/raw/3.04.00/hin.cube.foldwgethttps://github.com/tesseract-ocr/tessdata/raw/3.04.00/hin.cube.lmwgethttps://github.com/tesseract-ocr/tessdata/raw/3.04.00/hin.cube.nnwgethttps://github.com/tesseract-ocr/tessdata/raw/3.04.00/hin.cube.paramswgethttps://github.com/tesseract-ocr/tessdata/raw/3.04.00/hin.cube.word-freqwgethttps://github.com/tesseract-ocr/tessdata/raw/3.04.00/hin.tesseract_cube.nnmv hin.* /usr/local/share/tessdataln -s /opt/tesseract-3.05.01 /opt/tesseract-latestRequired by .mp3 and .ogg parseryum install soxrm cert-forensics-tools-release-el7.rpmInstall textract without unsupported featuresgit clonehttps://github.com/deanmalmgren/textract.gitrm textract/requirements/python && cp requirements/textract/python textract/requirements/pythoncd textract && chmod +x setup.pypython setup.py installyum install gcc-c++ pkgconfig poppler-cpp-devel python-devel redhat-rpm-config