diff options
author | Nick White <git@njw.name> | 2019-01-23 23:17:13 +0000 |
---|---|---|
committer | Nick White <git@njw.name> | 2019-01-23 23:17:13 +0000 |
commit | 367e95adee6a7efbbe85468ac180f06402873a2f (patch) | |
tree | 4782e1fee0f515a7e132de42e6ef6776ad6f343a /parse/prob | |
parent | fb77852acbdbbcedcdb9771770cb6771da002851 (diff) |
Create general BucketUp function, use it for line-conf-buckets
Diffstat (limited to 'parse/prob')
-rw-r--r-- | parse/prob/prob.go | 2 |
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) |