Is it possible to give options to a Homebrew installation package from the command line, something like this (which does not seem to work):
brew install tesseract --all-languages
Or do you have to use brew edit tesseract
and actually edit your desired options into the file that opens?
(If the latter is the only way, why did they choose to do it like this? It seems very cumbersome.)
EDIT: I did uninstall
, then install
again with the option added, and now it seems to react. 1. Homebrew should have been able to understand the change without uninstalling first. 2. I can't see the option thing documented or mentioned anywhere.
mv <lang>.traineddata /usr/local/Cellar/tesseract/<version>/share/tessdata