Skip to content

Static definition of annotators in scripts/global_state.py #996

Closed Answered by ljleb
TheOnlyHolyMoly asked this question in Q&A
Discussion options

You must be logged in to vote

We currently use global_state.cn_preprocessor_modules to determine the available entries in the preprocessor dropdown of the ui.

At the moment, removing or adding preprocessors is not officially supported. We could eventually add something in the ui or programmaticaly to manage the preprocessors. For now, if you just want to remove a preprocessor from the ui, you can manually remove entries from the global_state.cn_preprocessor_modules dict. You'll also have to edit preprocessor_aliases to prevent the corresponding alias name from showing up.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@TheOnlyHolyMoly
Comment options

Answer selected by TheOnlyHolyMoly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants