I am using the stanza NLP library which uses a decorator to register processors. Stanza has a help page for building your own processors here They use a class
python-3.1
windows-app-sdk
master-data-services
ggnewscale
ed25519
xbap
plop
ps1
openoffice-basic
adaptive-layout
linkedin
coreml
arcpy
rapidclipse
apache-cayenne
symfony-security
cfquery
material-you
postman-testcase
virtual-directory
functions-framework
pagedown
ohai-gem
user-defined-types
iggrid
one-time-pad
php-webdriver
angular-hotkeys
hl7-v2
formula