vibe.review.parsers.eba_parser

Parser for EBA Guidelines on Outsourcing (EBA/GL/2019/02) text files.

Extracts numbered guidelines with their titles and sub-points into a structured JSON format suitable for import into the reference_sources system.

parse_eba_text

parse_eba_text(text_path: str | Path, language: str = 'en') -> dict[str, Any]

Parse an EBA Guidelines text file and return structured data.

Parameters:
  • text_path (str | Path) –

    Path to the text file (converted from PDF)

  • language (str, default: 'en' ) –

    Language code (en, sv, etc.)

Returns:
  • dict[str, Any]

    Dictionary with source metadata and parts list