Class: Recon::Type::NamedSubjects

Inherits:
Subjects
  • Object
show all
Extended by:
DS::Util
Defined in:
lib/ds/recon/type/named_subjects.rb

Overview

Extract named subjects for reconciliation CSV output.

Return a two-dimensional array, each row is a term; and each row has two columns: subject and authority number.

Constant Summary collapse

SET_NAME =
:'named-subjects'
METHOD_NAME =
%i{ extract_named_subjects }

Constants included from DS::Util::Strings

DS::Util::Strings::ABBREV_REGEX, DS::Util::Strings::ELLIPSIS_REGEX, DS::Util::Strings::FINAL_QUESTION_REGEX, DS::Util::Strings::TERMINAL_PUNCT_REGEX

Constants inherited from Subjects

Subjects::AS_RECORDED_COLUMN, Subjects::BALANCED_COLUMNS, Subjects::DELIMITER_MAP, Subjects::KEY_COLUMNS, Subjects::LOOKUP_COLUMNS, Subjects::RECON_CSV_HEADERS

Method Summary

Methods included from DS::Util

process_xml

Methods included from DS::Util::Strings

#clean_string, #clean_white_space, #convert_mets_superscript, #escape_pipes, #fix_double_periods, #is_url?, #normalize_string, #remove_brackets, #terminate, #unicode_normalize

Methods included from ReconType

included