From 1076afbdab1a976af3e48646f01e1fbe4e954028 Mon Sep 17 00:00:00 2001 From: Nick White Date: Mon, 21 Mar 2022 17:35:44 +0000 Subject: Update tessdata to only include a few trainings --- cmd/rescribe/gui.go | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'cmd/rescribe/gui.go') diff --git a/cmd/rescribe/gui.go b/cmd/rescribe/gui.go index f96a342..cf3796c 100644 --- a/cmd/rescribe/gui.go +++ b/cmd/rescribe/gui.go @@ -35,11 +35,9 @@ var progressPoints = map[float64]string{ } var trainingNames = map[string]string{ - "carolinemsv1_fast": "Caroline Miniscule", - "eng": "English (modern printing)", - "lat": "Latin (modern printing)", - "rescribefrav2_fast": "French (early printing)", - "rescribev8_fast": "Latin (early printing)", + "eng": "English (modern print)", + "lat": "Latin (modern print)", + "rescribev8_fast": "Latin/English/French (printed ca 1500-1800)", } // copyStdoutToChan creates a pipe to copy anything written @@ -489,7 +487,7 @@ func startGui(log log.Logger, cmd string, gbookcmd string, training string, tess // happens if extractPdfImgs recovers from a PDF panic, // which will occur if we encounter an image we can't decode if bookdir == "" { - msg := fmt.Sprintf("Error opening PDF\nThe format of this PDF is not supported, extract the images manually into a folder first.\n") + msg := fmt.Sprintf("Error opening PDF\nThe format of this PDF is not supported, extract the images to .jpg manually into a folder first.\n") dialog.ShowError(errors.New(msg), myWindow) fmt.Fprintf(os.Stderr, msg) -- cgit v1.2.1-24-ge1ad