Sha256: d84560e7a96a3ccfe342e66b336276a620baf0503ede14726035d65128015a2c

Contents?: true

Size: 577 Bytes

Versions: 11

Compression:

Stored size: 577 Bytes

Contents

require 'ht_traject/ht_constants'
require 'match_map'


mm = MatchMap.new
mm[/^ic$/] = HathiTrust::Constants::SO
mm[/^umall$/] = HathiTrust::Constants::FT
mm[/^orph$/] = HathiTrust::Constants::SO
mm[/world$/] = HathiTrust::Constants::FT       # matches world, ic-world, und-world
mm[/^nobody$/] = HathiTrust::Constants::SO
mm[/^und$/] = HathiTrust::Constants::SO
mm[/^opb?$/] = HathiTrust::Constants::FT
mm[/^cc.*/] = HathiTrust::Constants::FT
mm[/^pd(?:us)?$/] = HathiTrust::Constants::FT  # pd or pdus
mm[/^pd-p/] = HathiTrust::Constants::SO        # pd-pvt or pd-private

mm

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
traject-3.0.0.alpha.1 index_bench/translation_maps/ht/availability_map_ht.rb
traject-2.3.4-java index_bench/translation_maps/ht/availability_map_ht.rb
traject-2.3.4 index_bench/translation_maps/ht/availability_map_ht.rb
traject-2.3.3 index_bench/translation_maps/ht/availability_map_ht.rb
traject-2.3.3-java index_bench/translation_maps/ht/availability_map_ht.rb
traject-2.3.2-java index_bench/translation_maps/ht/availability_map_ht.rb
traject-2.3.2 index_bench/translation_maps/ht/availability_map_ht.rb
traject-2.3.1-java index_bench/translation_maps/ht/availability_map_ht.rb
traject-2.3.1 index_bench/translation_maps/ht/availability_map_ht.rb
traject-2.3.0-java index_bench/translation_maps/ht/availability_map_ht.rb
traject-2.3.0 index_bench/translation_maps/ht/availability_map_ht.rb