ucto icon indicating copy to clipboard operation
ucto copied to clipboard

remove some deprecated options

Open kosloot opened this issue 3 years ago • 6 comments

Some options, like '-f', 'textclass' and '-x id' are obsolete since many years. I would like to remove them in the next release, by giving a fatal error with information. So we can really remove them in the übernext release

kosloot avatar Jul 21 '22 07:07 kosloot

That sounds good to me yes. I was hoping to do releases today if you think ucto is ready?

proycon avatar Jul 21 '22 07:07 proycon

--textclass actually does seem useful still as a convenient shortcut, don't you think?

proycon avatar Jul 21 '22 08:07 proycon

--textclass actually does seem useful still as a convenient shortcut, don't you think? Yes, it is, although it is in fact unwise to use it :)

But it is widely uses i fear

kosloot avatar Jul 21 '22 09:07 kosloot

I am still a user of --textclass especially when working with OCRed text which needs to be post-corrected before tokenization.

martinreynaert avatar Jul 21 '22 11:07 martinreynaert

Good to know. The functionality wouldn't be lost anyway, as there's --inputclass and --outputclass, but we'll keep --textclass as a shortcut for setting both at once so nothing will change here.

proycon avatar Jul 21 '22 11:07 proycon

Thanks for the further info! I'll check out whether it would make more sense for me to use --inputclass and --outputclass instead.

martinreynaert avatar Jul 21 '22 11:07 martinreynaert