Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix three tiny typos #558

Merged
merged 4 commits into from
Jan 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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