EU Parliament Monitor — API Documentation - v1.0.0
    Preparing search index...
    • Locate a trailing truncated copy of the localized reader label and return the index at which the description body ends (i.e. where the partial label begins). Returns -1 when no partial label is present or when the label is present in full (a complete clause we keep).

      Parameters

      • text: string

        Trimmed candidate description

      • langCode: LanguageCode

        Article language code

      Returns number

      Cut index for the partial label, or -1 when none applies