mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-18 06:30:14 +08:00
update completion to tesseract 3
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@359 d0cd1f9f-072b-0410-8dd7-cf729c803f20
This commit is contained in:
parent
144dcbd22c
commit
c7d32234ff
@ -9,7 +9,7 @@
|
||||
_tesseract_languages()
|
||||
{
|
||||
local TESSDATA="/usr/share/tesseract-ocr/tessdata/"
|
||||
local langs="$(ls $TESSDATA | grep DangAmbigs | cut -d \. -f 1)"
|
||||
local langs="$(ls $TESSDATA | grep traineddata | cut -d \. -f 1)"
|
||||
|
||||
COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W "$langs" -- "$cur") )
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user