New Features
-
Utility Scripts:
splitter.py
:- Added a chapter splitting utility. Automatically splits translated files into chapters using 〇 markers and predefined rules.
- Saves chapter details into organized
.txt
files with sanitized filenames.
docs_creator.py
:- Creates Google Docs from chapter files and provides shareable links.
- Requires a
credentials.json
file and environment variableOWNER_EMAIL
to transfer ownership of the documents.
-
Google Docs Integration:
- Documents can now be created and shared seamlessly from chapter files via Google API integration.
-
Enhanced CLI Preprocessing:
- Automatically adds closing periods to preprocessed text even if they weren't in the Japanese text
- Improved handling of preprocessing logs and error capturing.
-
WebGUI Updates:
- Default Dark Mode
- Timer added for debug log updater to refresh output every second.
- Various UI/UX refinements for smoother user interactions.
Dependency Updates
- Updated dependencies in
requirements.txt
:gradio
: Updated to version5.11.0
(previously4.44.0
).kairyou
: Updated to version1.6.8
(previously1.6.5
).easytl
: Updated to version0.5.1
(previously0.4.10
).- Added support for
python-dotenv
for environment variable management.
Improvements
-
README.md
Updates:- Expanded Utility Scripts section with documentation for new tools.
- Clarified deprecation notice for WebGUI, highlighting CLI as the primary focus.
-
Preprocessing Logic:
- Added
discard_ner_objects=False
option for choosing speed or memory
- Added
-
JSON Replacements:
- Improved mapping for honorifics, names, and single-word replacements in
cote_replacements.json
. - Fixed inconsistencies in transliteration (e.g.,
kouhai
vs.kōhai
). - Enhanced Unicode compatibility for better accuracy.
- Improved mapping for honorifics, names, and single-word replacements in
-
WebGUI Bug Fixes:
- Fixed an issue where debug logs were not updating correctly in the UI.
- Resolved file input toggling logic for text and file uploads.
Bug Fixes
- Fixed an issue with processing untranslated text that lacked a closing period.
- Addressed inconsistencies in JSON mappings for honorifics and character names.
Known Issues
- WebGUI remains deprecated and may not receive future feature updates. Focus will remain on CLI/Console improvements. New website may be developed.
Full Changelog: v3.4.11...v3.4.12