pub fn analyze_document( text: &str, analyzer: &Analyzer, source: SourceDescriptor, ) -> AnalysisPayload