mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-05 02:47:00 +08:00
Copy .box and .tif files along with .lstmf files from /tmp
This commit is contained in:
parent
45a6546324
commit
6c08ec02e4
@ -522,6 +522,14 @@ make__lstmdata() {
|
|||||||
--puncs "${lang_prefix}.punc" \
|
--puncs "${lang_prefix}.punc" \
|
||||||
--output_dir "${OUTPUT_DIR}" --lang "${LANG_CODE}" \
|
--output_dir "${OUTPUT_DIR}" --lang "${LANG_CODE}" \
|
||||||
"${pass_through}" "${lang_is_rtl}"
|
"${pass_through}" "${lang_is_rtl}"
|
||||||
|
for f in "${TRAINING_DIR}/${LANG_CODE}".*.box; do
|
||||||
|
tlog "Moving ${f} to ${OUTPUT_DIR}"
|
||||||
|
mv "${f}" "${OUTPUT_DIR}"
|
||||||
|
done
|
||||||
|
for f in "${TRAINING_DIR}/${LANG_CODE}".*.tif; do
|
||||||
|
tlog "Moving ${f} to ${OUTPUT_DIR}"
|
||||||
|
mv "${f}" "${OUTPUT_DIR}"
|
||||||
|
done
|
||||||
for f in "${TRAINING_DIR}/${LANG_CODE}".*.lstmf; do
|
for f in "${TRAINING_DIR}/${LANG_CODE}".*.lstmf; do
|
||||||
tlog "Moving ${f} to ${OUTPUT_DIR}"
|
tlog "Moving ${f} to ${OUTPUT_DIR}"
|
||||||
mv "${f}" "${OUTPUT_DIR}"
|
mv "${f}" "${OUTPUT_DIR}"
|
||||||
|
Loading…
Reference in New Issue
Block a user