Closed hanxiao closed 4 years ago
@nan-wang please share your comments on this
Forger is someone who fake things for own good, bad word
Mapper
Preprocessor
. I couldn't figure out a scenario that we use transformer after encoding and indexing.
Mapper
mapper
also sounds good. It is somehow a synonymous of transformer
. Forger
and Formulator
might need a second thought to figure out what they are.
Crafter
Preprocessor
. I couldn't figure out a scenario that we use transformer after encoding and indexing.
No, not preprocessor. Preprocessor
is something we use back in the old days, I rule it out immediately when building jina, because if we call it Preprocessor
then there will be a Postprocessor
. They basically do the same thing.
Back to your question, the need for Postprocessor
is true. In the query time, sometimes the doc content need to be complemented/re-rendered even after the ranking, this is where another transformation needs to kick in. For example, the index stores a compressed/encrypted doc, the last step is therefore to "transform" it back to the original via decompressing/decrypting and returning to the Gateway.
‘Wrangler’ or ‘Munger’. Both are borrowed from data science.
‘Wrangler’ or ‘Munger’. Both are borrowed from data science.
Unfortunately, the word "transformer" is overly-used in the NLP community. Keep using Transformer Executor will make our NLP users confusing. We need to rename the module
transformer
and the classBaseTransformer
to something else.Possible alternatives:
Forger
: to forge something is to make something from scratchFormulator
: to formulate is to plan, specify things systematically