en:user_advanced:greenstone_extensions
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:user_advanced:greenstone_extensions [2021/09/24 01:41] – anupama | en:user_advanced:greenstone_extensions [2025/07/25 02:55] (current) – [Tesseract] kjdon | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
+ | |||
====== Greenstone Extensions ====== | ====== Greenstone Extensions ====== | ||
===== OpenOffice===== | ===== OpenOffice===== | ||
The Open Office extension provides a document conversion facility if **Open Office //or// LibreOffice** is already installed on the system. In order to use the Open Office extension, | The Open Office extension provides a document conversion facility if **Open Office //or// LibreOffice** is already installed on the system. In order to use the Open Office extension, | ||
- | * You will need [[http:// | + | * You will need [[http:// |
* you're on Windows and have OpenOffice/ | * you're on Windows and have OpenOffice/ | ||
* you're on Linux and have OpenOffice or LibreOffice installed in a location different from "/ | * you're on Linux and have OpenOffice or LibreOffice installed in a location different from "/ | ||
- | * Once you have Open Office set up, download the Greenstone extension for it, available in tar.gz and zip formats. The latest version is available from [[http:// | + | |
- | * Before you can use this (or any other Greenstone extension), you will need to quit GLI and GS3-server if either are open and then you will need to relaunch GLI (or run Greenstone scripts) from a fresh command terminal, in order for the extension to become available in the Greenstone environment. (Once again, if you have openoffice or libreoffice installed outside the customary locations, then before doing so, make sure to have set up SOFFICE_HOME and updated the PATH environment variables.) | + | * Once you have Open Office set up, download the Greenstone extension for it, available in tar.gz and zip formats. The latest version is available from [[http:// |
+ | | ||
+ | * Before you can use this (or any other Greenstone extension), you will need to quit GLI and GS3-server if either are open and then you will need to **relaunch GLI** (or run Greenstone scripts) from a **fresh command terminal**, in order for the extension to become available in the Greenstone environment. (Once again, if you have openoffice or libreoffice installed outside the customary locations, then before doing so, make sure to have set up SOFFICE_HOME and updated the PATH environment variables.) | ||
* With OpenOffice and the extension installed and the Greenstone environment set up for this, Greenstone' | * With OpenOffice and the extension installed and the Greenstone environment set up for this, Greenstone' | ||
+ | ==== User-contributed notes ==== | ||
+ | |||
+ | * **Don' | ||
+ | |||
+ | * **Issues with running LibreOffice in conjunction with Greenstone**: | ||
+ | |||
+ | ===== Tesseract ===== | ||
+ | |||
+ | Tesseract is an Open Source OCR Engine. | ||
+ | |||
+ | The tesseract extension contains the tesseract program, plus Greenstone plugins to use it during build. | ||
+ | |||
+ | You can get the Tesseract extension in two ways: | ||
+ | |||
+ | - Download the tar or zip file from [[https:// | ||
+ | |||
+ | - Checkout the source and compile it: | ||
+ | < | ||
+ | cd greenstone3/ | ||
+ | svn co https:// | ||
+ | cd tesseract | ||
+ | ./ | ||
+ | </ | ||
+ | |||
+ | Once installed (by either method), you will need to open a new terminal and source gs3-setup.sh to have the extensions environment variables set. | ||
+ | |||
+ | |||
+ | ==== TesseractPlugins==== | ||
+ | The tesseract extension comes with two plugins: TesseractTextExtractor and TesseractImagePlugin. | ||
+ | TesseractTextExtractor is a helper plugin that will run Tesseract on an image, producing a text file. | ||
+ | TesseractImagePlugin can replace ImagePlugin, |
en/user_advanced/greenstone_extensions.1632447667.txt.gz · Last modified: 2021/09/24 01:41 by anupama