Skip to content

Commit

Permalink
Improve $TESSDATA_PREFIX guide in Linux section
Browse files Browse the repository at this point in the history
Specifically, in the language-data section, I found 2 typos on environment variable name and an incorrect example. I've compiled and comfirm that the result wasn't the same the example.
  • Loading branch information
ngdangtu-vn authored Nov 3, 2024
1 parent 95d7048 commit 37035aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Compiling.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,13 @@ export PKG_CONFIG_PATH=$HOME/local/lib/pkgconfig
## Language Data

* Download the [data file(s) for the language(s) you are interested in](Data-Files.md).
* Move it to the `tessdata` directory (e.g. `mv tessdata $TESSDATA\_PREFIX` if defined `TESSDATA_PREFIX`)
* Move it to the `tessdata` directory (e.g. `mv tessdata $TESSDATA_PREFIX` if defined `TESSDATA_PREFIX`)

You can also use:
```
export TESSDATA_PREFIX=/some/path/to/tessdata
```
to point to your tessdata directory (for example: if your tessdata path is '/usr/local/share/tessdata' you have to use 'export TESSDATA\_PREFIX='/usr/local/share/').
to point to your tessdata directory (for example: if your tessdata path is '/usr/local/share/tessdata' you have to use 'export TESSDATA_PREFIX='/usr/local/share/tessdata/').


# Windows
Expand Down

0 comments on commit 37035aa

Please sign in to comment.