diff options
Diffstat (limited to 'parse/hocr')
-rw-r--r-- | parse/hocr/hocr.go | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/parse/hocr/hocr.go b/parse/hocr/hocr.go index f7cac05..c03b73a 100644 --- a/parse/hocr/hocr.go +++ b/parse/hocr/hocr.go @@ -1,9 +1,10 @@ package hocr -// TODO: consider making GetLineDetails() a function of Hocr, so could do a -// similar thing with prob format files too, and then fire them both -// off a generic interface, potentially. -// TODO: Parse line name to zero pad line numbers, so they come out in the correct order +// TODO: Parse line name to zero pad line numbers, so they can +// be sorted easily +// TODO: have same filename format as .prob uses, so include base +// dirname, and don't include line numbers if there's only +// one line in the hocr import ( "encoding/xml" |