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 some typos (most of them found by codespell) #42

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

stweil
Copy link

@stweil stweil commented Jun 8, 2022

Signed-off-by: Stefan Weil [email protected]

@@ -36,7 +36,7 @@ def parse_arguments():
parser.add_argument('--output-logit-path', help='')
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
Author

@stweil stweil Jun 13, 2022

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.

@@ -36,7 +36,7 @@ def parse_arguments():
parser.add_argument('--output-logit-path', help='')
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
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
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?

@@ -36,7 +36,7 @@ def parse_arguments():
parser.add_argument('--output-logit-path', help='')
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.')
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
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
Copy link
Author

stweil commented Sep 17, 2022

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

@stweil
Copy link
Author

stweil commented Oct 22, 2022

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

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