Skip to content

Commit

Permalink
Merge pull request #558 from sadra-barikbin/main
Browse files Browse the repository at this point in the history
Fix three tiny typos
  • Loading branch information
mittagessen authored Jan 16, 2024
2 parents 70ccf94 + d511288 commit 04c7e05
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kraken/blla.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def segment(im: PIL.Image.Image,
:force:
'lines': [
{'baseline': [[x0, y0], [x1, y1], ..., [x_n, y_n]], 'boundary': [[x0, y0, x1, y1], ... [x_m, y_m]]},
{'baseline': [[x0, y0], [x1, y1], ..., [x_n, y_n]], 'boundary': [[x0, y0], [x1, y1], ... [x_m, y_m]]},
{'baseline': [[x0, ...]], 'boundary': [[x0, ...]]}
]
'regions': [
Expand Down
2 changes: 1 addition & 1 deletion kraken/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class ProcessingStep:
Attributes:
id: Unique identifier
category: Category of processing step that has been performat.
category: Category of processing step that has been performed.
description: Natural-language description of the process.
settings: Dict describing the parameters of the processing step.
"""
Expand Down
2 changes: 1 addition & 1 deletion kraken/templates/alto
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
</Tags>
{% if page.line_orders|length() > 0 %}
<ReadingOrder>
{% if len(page.line_orders) == 1 %}
{% if page.line_orders | length == 1 %}
<OrderedGroup ID="ro_0">
{% for id in page.line_orders[0] %}
<ElementRef ID="o_{{ loop.index }}" REF="{{ id }}"/>
Expand Down

0 comments on commit 04c7e05

Please sign in to comment.