pub fn analyze_path(
path: &Path,
stopwords_file: Option<&PathBuf>,
options: &AnalysisOptions,
) -> Result<AnalysisReport, String>Expand description
Analyze a path (file or directory).
- Per-file mode: compute in parallel per file; write outputs per file (serialized).
- Combined mode: Map-Reduce over files; write a single combined set of outputs.