summaryrefslogtreecommitdiff
path: root/parse/prob/prob.go
diff options
context:
space:
mode:
authorNick White <git@njw.name>2019-01-23 23:17:13 +0000
committerNick White <git@njw.name>2019-01-23 23:17:13 +0000
commit367e95adee6a7efbbe85468ac180f06402873a2f (patch)
tree4782e1fee0f515a7e132de42e6ef6776ad6f343a /parse/prob/prob.go
parentfb77852acbdbbcedcdb9771770cb6771da002851 (diff)
Create general BucketUp function, use it for line-conf-buckets
Diffstat (limited to 'parse/prob/prob.go')
-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)