Skip to content

Commit

Permalink
feat(recognizer): format
Browse files Browse the repository at this point in the history
  • Loading branch information
adutchak committed Oct 9, 2023
1 parent 6b3fb18 commit 1f8616e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ func Parse(args []string) (*Config, error) {
if err := validate.Struct(conf); err != nil {
l.Fatalf("Missing required attributes %v\n", err)
}
conf.ConfidencesNotLessThanNormalized = make(map[string]string)
conf.ConfidencesNotMoreThanNormalized = make(map[string]string)
for _, label := range conf.ConfidencesNotLessThan {
s := strings.Split(label, ":")
conf.ConfidencesNotLessThanNormalized[s[0]] = s[1]
Expand Down

0 comments on commit 1f8616e

Please sign in to comment.