Module: Bipm

Defined in:
lib/bipm/data/importer/clauses.rb,
lib/bipm/data/importer.rb,
lib/bipm/data/outcomes.rb,
lib/bipm/data/importer/cli.rb,
lib/bipm/data/importer/body.rb,
lib/bipm/data/importer/cgpm.rb,
lib/bipm/data/importer/text.rb,
lib/bipm/data/outcomes/body.rb,
lib/bipm/data/importer/bodies.rb,
lib/bipm/data/importer/common.rb,
lib/bipm/data/importer/quirks.rb,
lib/bipm/data/outcomes/action.rb,
lib/bipm/data/importer/fetcher.rb,
lib/bipm/data/importer/version.rb,
lib/bipm/data/outcomes/meeting.rb,
lib/bipm/data/importer/language.rb,
lib/bipm/data/outcomes/approval.rb,
lib/bipm/data/importer/asciimath.rb,
lib/bipm/data/importer/strategies.rb,
lib/bipm/data/outcomes/resolution.rb,
lib/bipm/data/importer/text/french.rb,
lib/bipm/data/outcomes/consideration.rb,
lib/bipm/data/outcomes/localized_body.rb,
lib/bipm/data/importer/strategies/base.rb,
lib/bipm/data/importer/strategies/spa_meetings.rb,
lib/bipm/data/importer/strategies/static_index.rb,
sig/bipm/data/importer.rbs

Overview

Single source of truth for the clause taxonomy used by every scraping strategy. Replaces the previously-duplicated CONSIDERATIONS/ACTIONS hashes in common.rb and the VERB_TO_TYPE/FR_VERB_TO_EN/CONSIDERATION_VERBS/ ACTION_VERBS constants in cgpm.rb.

Design principle: French and English are first-class citizens. The VERBS table is keyed by either language's verb form and maps directly to a (type, category) pair — there is no "translate FR → EN then look up" step. Adding a new language means adding new keys to the same table.

Defined Under Namespace

Modules: Data