Skip to content

Fix some typos (most of them found by codespell) - #42

Open
stweil wants to merge 6 commits into
DCGM:developfrom
UB-Mannheim:typos
Open

Fix some typos (most of them found by codespell)#42
stweil wants to merge 6 commits into
DCGM:developfrom
UB-Mannheim:typos

Conversation

@stweil

@stweil stweil commented Jun 8, 2022

Copy link
Copy Markdown

Signed-off-by: Stefan Weil sw@weilnetz.de

parser.add_argument('--output-alto-path', help='')
parser.add_argument('--output-transcriptions-file-path', help='')
parser.add_argument('--skipp-missing-xml', action='store_true', help='Skipp images which have missing xml.')
parser.add_argument('--skipp-missing-xml', action='store_true', help='Skip images which have missing xml.')

@stweil stweil Jun 13, 2022

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest to replace the argument by --skip-missing-xml, too, but that might break existing documentation or applications and needs a fix for line 301, too. There is already an argument --skip-processed, so fixing the one here would also make the arguments more consistent.

parser.add_argument('--output-alto-path', help='')
parser.add_argument('--output-transcriptions-file-path', help='')
parser.add_argument('--skipp-missing-xml', action='store_true', help='Skipp images which have missing xml.')
parser.add_argument('--skipp-missing-xml', action='store_true', help='Skip images which have missing xml.')

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
parser.add_argument('--skipp-missing-xml', action='store_true', help='Skip images which have missing xml.')
parser.add_argument('--skip-missing-xml', action='store_true', help='Skip images which have missing xml.')

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I add this change to the pull request?

Comment thread user_scripts/parse_folder.py Outdated
parser.add_argument('--skipp-missing-xml', action='store_true', help='Skipp images which have missing xml.')
parser.add_argument('--skipp-missing-xml', action='store_true', help='Skip images which have missing xml.')
parser.add_argument('--set-gpu', action='store_true', help='Sets visible CUDA device to first unused GPU.')
parser.add_argument('--process-count', type=int, default=1, help='Number of parallel processes (this works mostly only for line cropping and it probably fails and crashes for most other uses cases).')

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
parser.add_argument('--process-count', type=int, default=1, help='Number of parallel processes (this works mostly only for line cropping and it probably fails and crashes for most other uses cases).')
parser.add_argument('--process-count', type=int, default=1, help='Number of parallel processes (this works mostly only for line cropping and it probably fails and crashes for most other use cases).')

@stweil

stweil commented Sep 17, 2022

Copy link
Copy Markdown
Author

There was a new typo in README, so I pushed another commit.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
@stweil

stweil commented Oct 22, 2022

Copy link
Copy Markdown
Author

Added another fix, rebased and fixed merge conflicts now. Please consider merging this pull request.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant