mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 03:09:49 +08:00
Automatic book language detection matched its English-word cues as bare substrings, so a topic that only mentioned a place or a subject forced the book into another language: "energy policy in Germany" and "Berlin German dialects" became German, "the main English clubs" became English over the interface language, and any mention of "Traditional Chinese Medicine" became Traditional Chinese. Bound the Latin and Cyrillic cues with word boundaries and require the phrased "in Traditional Chinese" form, matching how every other English cue is written. CJK cues are unchanged.