lib/amakanize.rb in amakanize-0.2.2 vs lib/amakanize.rb in amakanize-0.3.0
- old
+ new
@@ -1,9 +1,9 @@
require "amakanize/author_name"
require "amakanize/author_names"
require "amakanize/filters/base_filter"
-require "amakanize/filters/angle_brackets_after_word_normalization_filter"
+require "amakanize/filters/brackets_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"
@@ -14,11 +14,10 @@
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_surrounding_hyphens_deletion_filter"
require "amakanize/filters/trailing_volume_number_deletion_filter"
require "amakanize/series_name"
require "amakanize/version"
module Amakanize
@@ -36,7 +35,18 @@
|⑦
|⑧
|⑨
|⑩
|[〇一二三四五六七八九十百千万零壱弍参肆伍陸漆捌玖壹貳參拾佰仟萬]+
+ /x
+
+ PATTERN_OF_VOLUME_PREFIX = /
+ episode\.?\s*
+ |Episode\.?\s*
+ |EPISODE\.?\s*
+ |Lv\.?\s*
+ |volume\.?\s*
+ |Volume\.?\s*
+ |VOLUME\.?\s*
+ |第
/x
end