Sha256: 54744b38dcb138ecf8f29faf0a984a986403ec58b9a9340b283fea11c860d296

Contents?: true

Size: 1.79 KB

Versions: 2

Compression:

Stored size: 1.79 KB

Contents

module Amakanize
  PATTERN_OF_NUMERIC_CHARACTERS = /
    \d+(?:\.\d+)?
    |[ivx]+
    |[IVX]+
    |[0-9]+(?:.[0-9]+)?
    |[〇一二三四五六七八九十百千万零壱弍参肆伍陸漆捌玖壹貳參拾佰仟萬]+
    |①
    |⑩
    |②
    |③
    |④
    |⑤
    |⑥
    |⑦
    |⑧
    |⑨
    |上
    |下
    |中
    |前
    |後
  /x

  PATTERN_OF_VOLUME_PREFIX = /
    episode\.?\s*
    |\#
    |Episode\.?\s*
    |EPISODE\.?\s*
    |vol(?:ume)?\.?\s*
    |Vol(?:ume)?\.?\s*
    |VOL(?:UME)?\.?\s*
    |第
  /x
end

require "amakanize/author_name"
require "amakanize/author_names"
require "amakanize/filters/base_filter"
require "amakanize/filters/brackets_normalization_filter"
require "amakanize/filters/continuous_spaces_normalization_filter"
require "amakanize/filters/dash_between_alphabets_normalization_filter"
require "amakanize/filters/html_unescape_filter"
require "amakanize/filters/hyphen_minus_normalization_filter"
require "amakanize/filters/normalization_filter"
require "amakanize/filters/obvious_volume_number_deletion_filter"
require "amakanize/filters/parentheses_deletion_filter"
require "amakanize/filters/role_name_deletion_filter"
require "amakanize/filters/space_between_exclamation_and_bracket_deletion_filter"
require "amakanize/filters/space_deletion_filter"
require "amakanize/filters/spaces_between_exclamations_deletion_filter"
require "amakanize/filters/strip_filter"
require "amakanize/filters/trailing_author_name_payload_deletion_filter"
require "amakanize/filters/trailing_dash_deletion_filter"
require "amakanize/filters/trailing_parentheses_deletion_filter"
require "amakanize/filters/trailing_series_name_payload_deletion_filter"
require "amakanize/filters/trailing_volume_number_deletion_filter"
require "amakanize/series_name"
require "amakanize/version"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
amakanize-0.5.1 lib/amakanize.rb
amakanize-0.5.0 lib/amakanize.rb