You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, with ocrd-tesserocr-recognize we could do something like:
shopt -s nocasematch
MODEL=eng
case "$LANGUAGE" in
de|deu|ger) MODEL=deu
case "$SCRIPT" in
Fraktur) MODEL=frak2021;;
...
esac;;
fr|fre|fra) MODEL=fra;;
hsb) MODEL=hsb
case "$SCRIPT" in
Fraktur) MODEL=hsbfraktur;;
...
esac;;
...
esac
The question is: do we only apply this when no --workflow is supplied, or should we assume that all workflow files themselves may contain placeholders, e.g. $TESSMODEL, which we must replace on the fly?
The text was updated successfully, but these errors were encountered:
For example, with ocrd-tesserocr-recognize we could do something like:
The question is: do we only apply this when no
--workflow
is supplied, or should we assume that all workflow files themselves may contain placeholders, e.g.$TESSMODEL
, which we must replace on the fly?The text was updated successfully, but these errors were encountered: