Skip to content

Commit d352cfa

Browse files
authored
feat: support greek teseract language
feat: support iceland teseract language
1 parent 9ec0fed commit d352cfa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

worker/task/pgs.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ func init() {
3333
langMapping = append(langMapping, PGSTesseractLanguage{"deu", []string{"det"}})
3434
langMapping = append(langMapping, PGSTesseractLanguage{"fra", []string{"fre"}})
3535
langMapping = append(langMapping, PGSTesseractLanguage{"chi_tra", []string{"chi"}})
36+
langMapping = append(langMapping, PGSTesseractLanguage{"ell", []string{"gre"}})
37+
langMapping = append(langMapping, PGSTesseractLanguage{"isl", []string{"ice"}})
3638
}
3739
func NewPGSWorker(workerConfig Config) *PGSWorker {
3840
encodeWorker := &PGSWorker{

0 commit comments

Comments
 (0)