From 08e89e2dbe7c67db1eb629e66ab035717b548913 Mon Sep 17 00:00:00 2001 From: Ahmed Abdou Date: Wed, 24 Apr 2024 23:46:05 +0200 Subject: [PATCH] Adding language install docs for archlinux (#1296) Adding language install docs for archlinux --- docs/languages.rst | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/languages.rst b/docs/languages.rst index ce3a0b21..910b241c 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.