pub type CandidateProvider = Box<dyn Fn(&str) -> Vec<ScoredEntity> + Send + Sync>;
pub struct CandidateProvider(/* private fields */);