Should I change every lambda function (in `build_analyzer`, `build_preprocessor`, and `build_tokenizer`) into module-level function?