summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/bookpipeline/main.go2
-rw-r--r--cmd/booktopipeline/main.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/bookpipeline/main.go b/cmd/bookpipeline/main.go
index 425b6a6..75433fb 100644
--- a/cmd/bookpipeline/main.go
+++ b/cmd/bookpipeline/main.go
@@ -626,7 +626,7 @@ func processBook(msg bookpipeline.Qmsg, conn Pipeliner, process func(chan string
func main() {
verbose := flag.Bool("v", false, "verbose")
- training := flag.String("t", "rescribealphav5", "tesseract training file to use")
+ training := flag.String("t", "rescribealphav5", "default tesseract training file to use (without the .traineddata part)")
nopreproc := flag.Bool("np", false, "disable preprocessing")
nowipe := flag.Bool("nw", false, "disable wipeonly")
noocr := flag.Bool("no", false, "disable ocr")
diff --git a/cmd/booktopipeline/main.go b/cmd/booktopipeline/main.go
index 425c41f..f8e123d 100644
--- a/cmd/booktopipeline/main.go
+++ b/cmd/booktopipeline/main.go
@@ -52,7 +52,7 @@ func (f fileWalk) Walk(path string, info os.FileInfo, err error) error {
func main() {
verbose := flag.Bool("v", false, "Verbose")
wipeonly := flag.Bool("prebinarised", false, "Prebinarised: only preprocessing will be to wipe")
- training := flag.String("t", "", "Training file to use")
+ training := flag.String("t", "", "Training to use (training filename without the .traineddata part)")
flag.Usage = func() {
fmt.Fprintf(flag.CommandLine.Output(), usage)