Precomputed values that are expensive to derive and shared across
multiple builder functions within a single analyzeDocument() call.
By computing domains and influenceScore once and threading this
context through helpers we avoid 7โ11ร redundant detectPolicyDomains()
and calculateInfluenceScore() calls per document.
Precomputed values that are expensive to derive and shared across multiple builder functions within a single
analyzeDocument()call.By computing
domainsandinfluenceScoreonce and threading this context through helpers we avoid 7โ11ร redundantdetectPolicyDomains()andcalculateInfluenceScore()calls per document.