### Install ocreval to system path Source: https://github.com/eddieantonio/ocreval/blob/master/README.md Installs the compiled ocreval tools to the standard system path, typically /usr/local/. Note that 'sudo' might not be needed on macOS if Homebrew is installed and configured correctly. ```bash sudo make install ``` -------------------------------- ### Install build essentials and utf8proc dependency on Ubuntu/Debian Source: https://github.com/eddieantonio/ocreval/blob/master/README.md Installs necessary build tools like make and a C compiler, along with the libutf8proc-dev library, on Ubuntu or Debian systems using apt. These packages are crucial for compiling ocreval from its source code. ```bash sudo apt install build-essential sudo apt install libutf8proc-dev ``` -------------------------------- ### Manually install utf8proc dependency on Linux Source: https://github.com/eddieantonio/ocreval/blob/master/README.md Provides instructions for manually downloading, compiling, and installing the utf8proc library from source on Linux systems where apt installation is not feasible. This process includes rebuilding the shared object cache to ensure the library is loaded at runtime. ```bash curl -OL https://github.com/JuliaStrings/utf8proc/archive/v1.3.1.tar.gz tar xzf v1.3.1.tar.gz cd utf8proc-1.3.1/ make sudo make install sudo ldconfig cd - ``` -------------------------------- ### Install ocreval on macOS using Homebrew Source: https://github.com/eddieantonio/ocreval/blob/master/README.md Installs the ocreval tools on macOS systems by adding the custom tap and then installing the package via Homebrew. This is the recommended installation method for macOS users. ```bash brew install eddieantonio/eddieantonio/ocreval ``` -------------------------------- ### Compile ocreval utilities Source: https://github.com/eddieantonio/ocreval/blob/master/README.md Compiles all ocreval utilities after ensuring all required dependencies are installed. This command initiates the build process, creating the executable tools from the source code. ```bash make ``` -------------------------------- ### Install utf8proc dependency on macOS using Homebrew Source: https://github.com/eddieantonio/ocreval/blob/master/README.md Installs the utf8proc library, a required dependency for building ocreval from source, on macOS systems using Homebrew. This step ensures the necessary character encoding support is available. ```bash brew install utf8proc ``` -------------------------------- ### Install ocreval locally by updating shell path Source: https://github.com/eddieantonio/ocreval/blob/master/README.md Configures the shell environment to include ocreval executables, man pages, and libraries in the path without copying files to system directories. This method requires updating a shell startup file, such as ~/.bashrc, to persist the changes. ```bash make exports >> ~/.bashrc ``` -------------------------------- ### BibTeX citation for ocreval Source: https://github.com/eddieantonio/ocreval/blob/master/README.md Provides the BibTeX entry for citing the ocreval project, as published in the Proceedings of the 3rd Workshop on the Use of Computational Methods in the Study of Endangered Languages. This citation is useful for academic papers and research. ```bibtex @inproceedings{santos-2019-ocr, title = "{OCR} evaluation tools for the 21st century", author = "Santos, Eddie Antonio", booktitle = "Proceedings of the 3rd Workshop on the Use of Computational Methods in the Study of Endangered Languages Volume 1 (Papers)", month = feb, year = "2019", address = "Honolulu", publisher = "Association for Computational Linguistics", url = "https://www.aclweb.org/anthology/W19-6004", pages = "23--27" } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.