From a05e986286efe9168ea404729652650086bab4cc Mon Sep 17 00:00:00 2001 From: Nick White Date: Fri, 25 Jan 2019 17:38:33 +0000 Subject: Use consistent naming for .prob and .hocr OcrName --- bucket-lines/main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bucket-lines/main.go') diff --git a/bucket-lines/main.go b/bucket-lines/main.go index ab6f977..36e9101 100644 --- a/bucket-lines/main.go +++ b/bucket-lines/main.go @@ -25,11 +25,11 @@ func main() { flag.Usage = func() { fmt.Fprintf(os.Stderr, "Usage: bucket-lines [-d dir] [-s specs.json] [hocr1] [prob1] [hocr2] [...]\n") fmt.Fprintf(os.Stderr, "Copies image-text line pairs into different directories according\n") - fmt.Fprintf(os.Stderr, "to the average character probability for the line.\n\n") - fmt.Fprintf(os.Stderr, "Both .hocr and .prob files can be processed.\n\n") - fmt.Fprintf(os.Stderr, "For .hocr files, the x_wconf data is used to calculate confidence.\n\n") + fmt.Fprintf(os.Stderr, "to the average character probability for the line.\n") + fmt.Fprintf(os.Stderr, "Both .hocr and .prob files can be processed.\n") + fmt.Fprintf(os.Stderr, "For .hocr files, the x_wconf data is used to calculate confidence.\n") fmt.Fprintf(os.Stderr, "The .prob files are generated using ocropy-rpred's --probabilities\n") - fmt.Fprintf(os.Stderr, "option.\n\n") + fmt.Fprintf(os.Stderr, "option.\n") fmt.Fprintf(os.Stderr, "The .prob and .hocr files are assumed to be in the same directory\n") fmt.Fprintf(os.Stderr, "as the line's image and text files.\n\n") flag.PrintDefaults() -- cgit v1.2.1-24-ge1ad