summaryrefslogtreecommitdiff
path: root/cmd/rescribe/gui.go
diff options
context:
space:
mode:
authorNick White <git@njw.name>2022-03-21 17:35:44 +0000
committerNick White <git@njw.name>2022-03-21 17:35:44 +0000
commit1076afbdab1a976af3e48646f01e1fbe4e954028 (patch)
tree68b0eec4bf074173a0f9fdc79ac07cb920144d8f /cmd/rescribe/gui.go
parente2b8e8fd0be69ffb3256696b534cc226660aa7b3 (diff)
Update tessdata to only include a few trainings
Diffstat (limited to 'cmd/rescribe/gui.go')
-rw-r--r--cmd/rescribe/gui.go10
1 files changed, 4 insertions, 6 deletions
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)