Riksdagsmonitor Intelligence Platform - v0.7.19
    Preparing search index...

    Function extractPartyMentions

    • Extract unique party mentions from HTML content. Uses Unicode-aware regex boundaries for proper word detection across scripts.

      Parameters

      • html: string

        HTML content to search for party references

      Returns Set<PartyCode>

      Set of canonical party codes found in the content