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
{{ message }}
Repository navigation
prefix option is ignored since latest FoLiA-hocr changes #52
when running: FoLiA-hocr --prefix "FH-" -O ./ -t 1 "OllevierGeets-5.hocr"
I get an output file: OllevierGeets-5.tif.folia.xml instead of FH-OllevierGeets-5.tif.folia.xml as before. This breaks the current PICCL pipeline. Prefix was introduced in LanguageMachines/PICCL@ebd16ff for LanguageMachines/PICCL#30 .
Hmm, yes. It's not a bug, but a changed feature: :)
the prefix is only added to the document id's. (to avoid invalid NC-names) No longer to the output filenames.
The latter is in fact pointless.
But this might indeed break scripts.
Maybe it is better to stick to the old behavior.
The same applies to some other modules.
@proycon I still think adding prefixes to output files is not the best solution. As it may come as a surprise for users.
One advantage might be that is directly shows which tool created the file.
But it is maybe better to avoid this. But then clearly for ALL tools.
We might agree on changing this in a next (major) release. But it is not an urgent task I think.
Agreed?
Activity
kosloot commentedon Dec 12, 2020
Hmm, yes. It's not a bug, but a changed feature: :)
the prefix is only added to the document id's. (to avoid invalid NC-names) No longer to the output filenames.
The latter is in fact pointless.
But this might indeed break scripts.
Maybe it is better to stick to the old behavior.
The same applies to some other modules.
proycon commentedon Dec 12, 2020
ok, no problem, that sounds good, I'll simply adapt the pipeline then.
removed expected output file prefix in FoLiA-hocr step (LanguageMachi…
proycon commentedon Dec 12, 2020
Wait, I think we're both going in different direction aren't we? I just saw some commits where you reinstated the old naming.
kosloot commentedon Dec 12, 2020
indeeed :)
Revert "removed expected output file prefix in FoLiA-hocr step (Langu…
kosloot commentedon Dec 12, 2020
@proycon I still think adding prefixes to output files is not the best solution. As it may come as a surprise for users.
One advantage might be that is directly shows which tool created the file.
But it is maybe better to avoid this. But then clearly for ALL tools.
We might agree on changing this in a next (major) release. But it is not an urgent task I think.
Agreed?