deanmalmgren / textract

extract text from any document. no muss. no fuss.
http://textract.readthedocs.io
MIT License
3.89k stars 599 forks source link

Pocketsphinx as optional for Windows #274

Closed ahartikainen closed 5 years ago

ahartikainen commented 5 years ago

Hi, could the pocketsphinx be optional dependency on Windows. It seems that currently building pocketsphinx is not trivial task on Windows.

How many functions need pocketsphinx and if there are not too many, maybe they could raise an error if the user tries to use that functionality without pocketsphinx installed.

zxv commented 5 years ago

It would be great if we could make speech recognition dependencies optional in general (not just on windows). This would simplify installation of the package in cases where that functionality is not needed. I ran into some installation issues for pocketsphinx and ended up needing to fork and modify the requirements to get a working installation of textract.

jpweytjens commented 5 years ago

Closed by #292