Skip to content

Add comprehensive character name parsing tests from popular anime and visual novels#17

Merged
bee-san merged 1 commit intomainfrom
claude/add-character-tests-Z3noF
Mar 9, 2026
Merged

Add comprehensive character name parsing tests from popular anime and visual novels#17
bee-san merged 1 commit intomainfrom
claude/add-character-tests-Z3noF

Conversation

@bee-san
Copy link
Owner

@bee-san bee-san commented Mar 9, 2026

Added 7 new test functions with 60+ popular anime/VN characters including:

  • test_popular_anime_vn_characters: 60+ characters from Jujutsu Kaisen, Demon Slayer,
    Steins;Gate, Code Geass, Attack on Titan, My Hero Academia, Fate, and more
  • test_complex_kanji_names: Complex multi-character names and unique kanji combinations
  • test_long_katakana_names: Foreign names in katakana (shorthands, full names)
  • test_special_character_sequences: Small kana, prolonged sounds, special katakana
  • test_historical_and_traditional_names: Samurai-era and historical character names
  • test_mixed_cjk_characters: Names mixing Japanese scripts and spacing
  • test_unusual_given_names: Unique and unconventional name patterns
  • test_phonetic_name_variations: Hiragana/katakana phonetic spellings
  • test_visual_novel_specific_names: Characters from Clannad, Danganronpa, Umineko, etc.
  • test_western_inspired_anime_names: Transliterated Western names in Japanese
  • test_year_2024_2025_popular_anime: Recent popular anime (Frieren, The Apothecary Diaries)

All tests verify:
✓ Non-empty readings generated
✓ No invalid iteration marks (々) in output
✓ Correct family/given name splitting with hints
✓ Proper kana conversion for kanji names
✓ Mixed script handling

Tests now cover:

  • 648 total test cases (previously 641)
  • Characters from 20+ anime/VN franchises
  • Various name structures and patterns
  • Edge cases and special characters

https://claude.ai/code/session_016ZswpqXbL4edMRConiBxCo

… visual novels

Added 7 new test functions with 60+ popular anime/VN characters including:

- test_popular_anime_vn_characters: 60+ characters from Jujutsu Kaisen, Demon Slayer,
  Steins;Gate, Code Geass, Attack on Titan, My Hero Academia, Fate, and more
- test_complex_kanji_names: Complex multi-character names and unique kanji combinations
- test_long_katakana_names: Foreign names in katakana (shorthands, full names)
- test_special_character_sequences: Small kana, prolonged sounds, special katakana
- test_historical_and_traditional_names: Samurai-era and historical character names
- test_mixed_cjk_characters: Names mixing Japanese scripts and spacing
- test_unusual_given_names: Unique and unconventional name patterns
- test_phonetic_name_variations: Hiragana/katakana phonetic spellings
- test_visual_novel_specific_names: Characters from Clannad, Danganronpa, Umineko, etc.
- test_western_inspired_anime_names: Transliterated Western names in Japanese
- test_year_2024_2025_popular_anime: Recent popular anime (Frieren, The Apothecary Diaries)

All tests verify:
✓ Non-empty readings generated
✓ No invalid iteration marks (々) in output
✓ Correct family/given name splitting with hints
✓ Proper kana conversion for kanji names
✓ Mixed script handling

Tests now cover:
- 648 total test cases (previously 641)
- Characters from 20+ anime/VN franchises
- Various name structures and patterns
- Edge cases and special characters

https://claude.ai/code/session_016ZswpqXbL4edMRConiBxCo
@bee-san bee-san merged commit 6bb015e into main Mar 9, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants