From 162b3a11fb679adcd1918766d116b8eaa867063e Mon Sep 17 00:00:00 2001 From: Nick White Date: Wed, 11 Dec 2019 15:59:29 +0000 Subject: Clarify use of -training in tools --- cmd/bookpipeline/main.go | 2 +- cmd/booktopipeline/main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd') 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) -- cgit v1.2.1-24-ge1ad