This repository was archived by the owner on Mar 6, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
google/cloud/documentai_toolbox/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 {% set paridx = loop .index 0 -%}
1919 <span class =' ocr_par' id =' par_{{ page_number }}_{{ bidx }}_{{ paridx }}' title =' {{ paragraph.hocr_bounding_box -}}' >{% for line in paragraph .lines -%}
2020 {% set lidx = loop .index 0 -%}
21- <span class =' ocr_line' id =' line_{{ page_number }}_{{ bidx }}_{{ paridx }}_{{ lidx }}' title =' {{ line.hocr_bounding_box }}' >{{ line.text }}</ span > {% for token in line .tokens -%}
21+ <span class =' ocr_line' id =' line_{{ page_number }}_{{ bidx }}_{{ paridx }}_{{ lidx }}' title =' {{ line.hocr_bounding_box }}' >{{ line.text }}{% for token in line .tokens -%}
2222 {% set tidx = loop .index 0 -%}
23- <span class =' ocrx_word' id =' word_{{ page_number }}_{{ bidx }}_{{ paridx }}_{{ lidx }}_{{ tidx }}' title =' {{ token.hocr_bounding_box }}' >{{ token.text }}</span >{% endfor -%}{% endfor -%}
23+ <span class =' ocrx_word' id =' word_{{ page_number }}_{{ bidx }}_{{ paridx }}_{{ lidx }}_{{ tidx }}' title =' {{ token.hocr_bounding_box }}' >{{ token.text }}</span >{% endfor -%}
24+ </span >{% endfor -%}
2425 </span >{% endfor -%}
2526 </span >{% endfor -%}
2627 </div >
You can’t perform that action at this time.
0 commit comments