diff --git a/docs/languages.rst b/docs/languages.rst index ce3a0b219..910b241c8 100644 --- a/docs/languages.rst +++ b/docs/languages.rst @@ -68,6 +68,22 @@ to what languages it should search for. Multiple languages can be requested using either ``-l eng+fra`` (English and French) or ``-l eng -l fra``. +Archlinux +------ + +.. code-block:: bash + + # Display a list of all Tesseract language packs + pacman -Ss tesseract-data + + # Install German language pack + pacman -S tesseract-data-deu + +You can then pass the ``-l LANG`` argument to OCRmyPDF to give a hint as +to what languages it should search for. Multiple languages can be +requested using either ``-l eng+fra`` (English and French) or +``-l eng -l fra``. + Gentoo ------ @@ -122,4 +138,4 @@ Custom language packs If you have fine-tuned or trained Tesseract and generated custom trained data, you can copy your ``customlang.traineddata`` file into your Tesseract "tessdata" folder, and then use the ``-l customlang`` argument to tell OCRmyPDF to pass that language on to -Tesseract. \ No newline at end of file +Tesseract.