-
Notifications
You must be signed in to change notification settings - Fork 21
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
base: develop
Are you sure you want to change the base?
Conversation
@@ -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.') |
There was a problem hiding this comment.
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.') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.') |
There was a problem hiding this comment.
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?
user_scripts/parse_folder.py
Outdated
@@ -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).') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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).') |
There was a new typo in README, so I pushed another commit. |
Signed-off-by: Stefan Weil <[email protected]>
Signed-off-by: Stefan Weil <[email protected]>
Signed-off-by: Stefan Weil <[email protected]>
Signed-off-by: Stefan Weil <[email protected]>
Signed-off-by: Stefan Weil <[email protected]>
Added another fix, rebased and fixed merge conflicts now. Please consider merging this pull request. |
Signed-off-by: Stefan Weil <[email protected]>
Signed-off-by: Stefan Weil [email protected]