Artem Akymenko
60ba01557e
refactor: extract chapter title processing into domain/chapter_titles.py
- Extract simplify_heading_text, headings_equivalent, strip_duplicate_heading_line
- Extract normalize_caps_word, normalize_chapter_opening_caps
- Extract format_spoken_chapter_title
- Remove _HEADING_SANITIZE_RE, _HEADING_NUMBER_PREFIX_RE, _ACRONYM_ALLOWLIST, _ROMAN_NUMERAL_CHARS, _CAPS_WORD_RE from conversion_runner.py
- Add tests/test_chapter_titles.py with 31 tests
- All tests match old behavior
2026-07-14 10:17:20 +00:00
..
2026-07-12 16:20:42 +03:00
2025-12-15 15:41:41 -08:00
2026-07-12 16:20:42 +03:00
2026-01-10 00:09:04 +03:00
2025-12-15 17:27:08 -08:00
2026-01-09 01:36:14 +03:00
2026-07-12 16:20:42 +03:00
2026-01-09 08:44:33 +08:00
2026-01-10 00:09:04 +03:00
2025-12-21 08:12:48 -08:00
2026-01-09 01:36:14 +03:00
2026-01-09 01:36:14 +03:00
2026-07-14 10:17:20 +00:00
2026-01-09 01:36:14 +03:00
2025-12-21 08:12:48 -08:00
2026-01-09 01:36:14 +03:00
2026-01-09 01:36:14 +03:00
2026-07-12 16:20:42 +03:00
2026-01-09 01:36:14 +03:00
2026-01-09 01:36:14 +03:00
2026-01-09 01:36:14 +03:00
2026-07-08 17:16:33 +00:00
2026-01-09 01:36:14 +03:00
2026-01-09 01:36:14 +03:00
2026-01-09 01:36:14 +03:00
2026-01-09 01:36:14 +03:00
2026-01-09 01:36:14 +03:00
2026-07-14 10:09:27 +00:00
2026-07-14 10:09:27 +00:00
2026-07-12 16:20:42 +03:00
2025-12-21 08:12:48 -08:00
2025-12-21 08:12:48 -08:00
2026-01-09 01:36:14 +03:00
2026-01-10 00:09:04 +03:00
2026-01-09 01:36:14 +03:00
2026-07-12 16:20:42 +03:00
2026-01-09 01:36:14 +03:00
2026-01-09 01:36:14 +03:00
2025-12-21 08:12:48 -08:00
2026-01-09 01:36:14 +03:00
2026-07-14 10:11:52 +00:00
2026-07-14 10:06:51 +00:00
2026-07-12 16:20:42 +03:00
2026-01-10 00:09:04 +03:00
2026-01-09 01:36:14 +03:00
2025-10-10 18:07:18 -07:00
2026-07-12 16:20:42 +03:00
2026-07-05 19:07:57 +00:00