summaryrefslogtreecommitdiff
path: root/parse/prob
diff options
context:
space:
mode:
Diffstat (limited to 'parse/prob')
-rw-r--r--parse/prob/prob.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse/prob/prob.go b/parse/prob/prob.go
index 5a84567..6781a1a 100644
--- a/parse/prob/prob.go
+++ b/parse/prob/prob.go
@@ -57,7 +57,7 @@ func GetLineDetails(name string, r *bufio.Reader) (parse.LineDetails, error) {
return lines, err
}
- line.Name = name
+ line.Name = filepath.Base(filebase)
line.Avgconf = avg
line.Text = string(txt)
line.OcrName = filepath.Dir(filebase)