Add functionality to the transcribe_documents management command#25
Open
DanielSwain wants to merge 9 commits intofourdigits:masterfrom
DanielSwain:master
Open
Add functionality to the transcribe_documents management command#25DanielSwain wants to merge 9 commits intofourdigits:masterfrom DanielSwain:master
DanielSwain wants to merge 9 commits intofourdigits:masterfrom
DanielSwain:master
Conversation
options parameter is required but no value is necessary when saving a document
Output is determined by --verbosity: only output the transcribed text if verbosity is 3. Order documents by title to ensure iterating in the same order each time. When verbosity is >= 1, output the document number and the slice information. Output count of documents that will be transcribed and blank lines for readability.
Only output statement about falling back to tesseract if verbosity >= 2. Only output transcribed text if verbosity >= 3.
Arguments added to the transcribe_documents management command.
Codecov Report
@@ Coverage Diff @@
## master #25 +/- ##
==========================================
- Coverage 89.72% 85.79% -3.94%
==========================================
Files 15 15
Lines 146 176 +30
==========================================
+ Hits 131 151 +20
- Misses 15 25 +10
Continue to review full report at Codecov.
|
Contributor
Author
|
@khink Looks like this is only failing because of lack of tests, is that correct? I'll try to get tests completed soon. |
>=1.11,<2.0 is the current Wagtail requirement for six
Update requirement for six library: >=1.11,<2.0
* 'master' of https://github.com/fourdigits/wagtail_textract: Back to development: 1.2 Preparing release 1.1 Update README: Contributors Update changelog
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add --slice, --dry-run, --verbosity arguments