Add Japanese Vertical Support Branch for Tesseract and Ocrmypdf OCR (#2505)

* Add Japanese Vertical Support 
* Adds Japanese Vertical mappings to default configuration.
This commit is contained in:
tenpai
2024-04-16 18:24:57 +00:00
committed by GitHub
parent 36c00cc9ec
commit e731d822dc
9 changed files with 75 additions and 5 deletions

View File

@ -123,6 +123,11 @@ object Language {
val iso3 = "jpn"
}
/*It's not an ISO value, but this needs to be unique and tesseract will need jpn_vert for it's scan from the config of /etc/docspell-joex/docspell-joex.conf.*/
case object JpnVert extends Language {
val iso2 = "ja_vert"
val iso3 = "jpn_vert"
}
case object Hebrew extends Language {
val iso2 = "he"
val iso3 = "heb"
@ -172,6 +177,7 @@ object Language {
Romanian,
Latvian,
Japanese,
JpnVert,
Hebrew,
Lithuanian,
Polish,