Report the clustering result in a sentence

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-08-17 22:38:32 +08:00
co-authored by Claude Opus 5
parent e4f40e7c0f
commit dcf9e280d0
2 changed files with 5 additions and 6 deletions
@@ -625,8 +625,7 @@ def main(argv: list[str] | None = None) -> int:
write_meta(args.output_dir / META_JSON, meta)
elapsed: str = format_duration(time.monotonic() - started)
print(
f"done: {len(keywords)} keywords pooled from"
f" {len(run1[1])}+{len(run2[1])} records, clustered into"
f" {len(groups)} groups. {elapsed} elapsed.",
f"Done. Clustered {len(keywords)} keywords into"
f" {len(groups)}. {elapsed} elapsed.",
file=sys.stderr)
return 0