Description
Running ocrd_cis/ocrd-cis-postcorrect requires additional components that afaict are currently not installed with ocrd_all
.
See cisocrgroup/ocrd_cis#51 (comment)
In order to run our post correction, both our profiler and an according language backend has to be installed on the system. The configuration variable profilerPath (which should be named profilerCommand more appropriately) must point to the profiler executable and the profilerConfig variable must point to the according language configuration file. There is a manual for the profiler and the language backend in our repositories.
The relevant section of the Workflow Guide suggests a workaround
If you don't want to use a profiler, you can set the value for "profilerConfig" to "ignored". In this case, your profiler.bash should look like this:
#!/bin/bash cat > /dev/null echo '{}'
you need to pass your local path to the model on your hard drive as parameter value for this processor to work!
However, in light of the above comment, how useful is this? Will it still perform corrections and to what extent will the rate of corrections drop without the Profiler?
Should the missing components be included in ocrd_all
? Or otherwise could the documentation perhaps be extended with additional documentation on the effect of ocrd-cis-postcorrect
with/without the Profiler?