Skip to content

Commit

Permalink
Merge pull request #116 from true-runes/development
Browse files Browse the repository at this point in the history
v4.0.1
  • Loading branch information
nikukyugamer committed Jun 11, 2021
2 parents b2e26fb + 8f2a895 commit 3238bd3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions app/lib/suikoden_database/pickup_character_names.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,14 @@ def skip_word?(word)
false
end

# check_words の中身を連続で見ていった際に、これらの語の場合はキャラ名サーチをしない
def skip_words
[
'一',
'な',
'る',
'なる',
'王',
'異',
'世',
'界',
Expand Down
2 changes: 1 addition & 1 deletion app/models/analyze_syntax.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def check_words
words_with_noun_and_x_tags.map { |word| remove_all_three_point_readers_from_word(word) } +
words_with_noun_and_x_tags.map { |word| convert_hankaku_katakana_to_zenkaku_katakana(word) } +
words_with_noun_and_x_tags.map { |word| convert_zenkaku_numbers_to_hankaku_numbers(word) }
).uniq
).uniq.reject(&:empty?)
end
# rubocop:enable Metrics/PerceivedComplexity, Metrics/CyclomaticComplexity

Expand Down

0 comments on commit 3238bd3

Please sign in to comment.