Reorganize core abstract function calls and simplify APIs #125
Labels
enhancement
New feature or request
topic: interface
The design and implementation of the Forte interface
topic: processors
Issues related to design and development of processors
Reorganize core abstract function calls and simplify APIs:
For processors:
default_config
method. If a processor has no parameters, this method can return{}
add_processor
call to the pipeline. The pipeline should automatically use the default HParams duringinitialize()
of that processoradd_processor
methodinitialize
function can have a default implementation and only be overwritten when neededFor readers:
cache_key_function
can have a default implementation of returning None (or set thedo_caching
flag to false), so at this time we don't do caching.For Hparams:
The text was updated successfully, but these errors were encountered: