EU Parliament Monitor - API Documentation - v0.7.19
    Preparing search index...
    • Assess the analytical depth of an article by detecting keyword signals.

      Accepts either raw HTML or pre-extracted plain text. When called from scoreArticleQuality the text is already extracted, avoiding redundant HTML stripping.

      Parameters

      • htmlOrText: string

        Raw HTML string or pre-extracted plain text

      • preExtracted: boolean = false

        If true, treat htmlOrText as already-extracted plain text

      Returns AnalysisDepthScore

      Analysis depth score with per-dimension flags and composite score