Description Usage Arguments Value Examples
Takes path to directory with OCRd files and path to directory with human transcribed files and calculates error rate. Calls compare_txt
1 2 | compare_all(ocr_dir = NULL, gold_dir = NULL, remove_extra_space = TRUE,
normalize = TRUE)
|
ocr_dir |
path to directory containing files with OCRd text; required |
gold_dir |
path to directory containing files with human transcribed text; required |
remove_extra_space |
a dummy indicating whether or not extra spaces should be removed from the OCR file; default is TRUE |
normalize |
normalize string distance measures — otherwise longer the document, greater the distance |
error rate
1 2 3 4 5 | ## Not run:
compare_all(ocr_dir="path_to_ocr_dir", gold_dir="path_to_gold_dir",
remove_extra_space=TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.