def METHOD_NAME() -> Callable[[Vocab, int], SubInMemoryLookupKB]:
    def empty_kb_factory(vocab: Vocab, entity_vector_length: int):
        return SubInMemoryLookupKB(
            vocab=vocab,
            entity_vector_length=entity_vector_length,
            custom_field=0,
        )
    return empty_kb_factory