summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-09-11 13:54:00 +0200
committerDimitri Sokolyuk <demon@dim13.org>2016-09-11 13:54:00 +0200
commita26577c814e04cdd3096598165bc39cc2ffb03ab (patch)
treef2a5f3e4f5fc3197aa685e0b12a03b2527ef250d
parentf65d67a20986803a6154a3feb57aeccff6aaa195 (diff)
Comment
-rw-r--r--go/ocr-numbers/ocr_numbers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/ocr-numbers/ocr_numbers.go b/go/ocr-numbers/ocr_numbers.go
index b9cf0c0..4c0227c 100644
--- a/go/ocr-numbers/ocr_numbers.go
+++ b/go/ocr-numbers/ocr_numbers.go
@@ -56,7 +56,7 @@ func splitLineByGroup(line string) []string {
}
func Recognize(s string) []string {
- // sanitize input, split by groups
+ // bogus part: sanitize input, split by groups
re, _ := regexp.Compile("\n *\n")
s = re.ReplaceAllString(s, "\n\n")
groups := strings.Split(s, "\n\n")