Skip to content

Commit

Permalink
Merge pull request #14 from everypolitician-scrapers/add-minister-to-…
Browse files Browse the repository at this point in the history
…prefixes

Add "minister" to the list of excluded name prefixes.
  • Loading branch information
jacksonj04 committed Jul 2, 2018
2 parents cc221d0 + 0fe4ccc commit bf71483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/member_name.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class MemberName < Scraped::HTML

FEMALE_PREFIXES = %w[mrs ms].freeze
MALE_PREFIXES = %w[mr prince].freeze
OTHER_PREFIXES = %w[adv dr prof professor rev].freeze
OTHER_PREFIXES = %w[adv dr minister prof professor rev].freeze
PREFIXES = FEMALE_PREFIXES + MALE_PREFIXES + OTHER_PREFIXES

def partitioned
Expand Down

0 comments on commit bf71483

Please sign in to comment.