mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
102 lines
4.3 KiB
Markdown
102 lines
4.3 KiB
Markdown
# LunaTranslator
|
|
|
|
<p align="left">
|
|
<img src="https://img.shields.io/github/license/HIllya51/LunaTranslator">
|
|
<a href="https://github.com/HIllya51/LunaTranslator/releases"><img src="https://img.shields.io/github/v/release/HIllya51/LunaTranslator?color=ffa"></a>
|
|
<a href="https://github.com/HIllya51/LunaTranslator/releases/latest/download/LunaTranslator.zip" target="_blank"><img src="https://img.shields.io/badge/download_64bit-blue"/></a> <a href="https://github.com/HIllya51/LunaTranslator/releases/latest/download/LunaTranslator_x86.zip" target="_blank"><img src="https://img.shields.io/badge/download_32bit-blue"/></a> <img src="https://img.shields.io/badge/OS-windows 7--11 / wine-FF007C"/>
|
|
</p>
|
|
|
|
### [简体中文](README.md) | [Русский язык](README_ru.md) | English | [Other Languages](otherlang.md)
|
|
|
|
> **A galgame translator**
|
|
|
|
|
|
### [Tutorial](http://38.46.30.10:8000/#/en/) [Vedio](https://space.bilibili.com/592120404/video) [Discord](https://discord.com/invite/ErtDwVeAbB)
|
|
|
|
|
|
## Features
|
|
|
|
#### Text sources
|
|
|
|
  **Clipboard** Support reading text from the clipboard for translation
|
|
|
|
  **OCR** Support offline OCR (deployed), WindowsOCR, Baidu OCR, Youdao OCR, ocrspace, docsumo, and binding to game window to avoid overlap.
|
|
|
|
  **HOOK** Supports text extraction via hooking, Hook codes (H-codes), automatic game and hook saving, and auto-loading hooks. Some engines also support embedded translation
|
|
|
|
#### Translators
|
|
|
|
Support almost all translation engines you can think of, including:
|
|
|
|
  **Offline Translation**: J-Beijing 7, Kingsoft FastAIT, YiDianTong, Sakura, TGW, Sugoi
|
|
|
|
  **Free Online Translation**: Baidu, Bing, Google, Ali, Youdao, Caiyun, Sogou, DeepL, Kingsoft, iFlytek, Tencent, ByteDance, Volcano, Papago, Yeekit, and more
|
|
|
|
  **API Online Translation**: Baidu, Tencent, Youdao, Niutrans, Caiyun, Volcano, DeepL, Yandex, Google, IBM, Feishu, ChatGPT, Azure, Cohere, Claude, Gemini, and more (requires user registration)
|
|
|
|
  **Chrome Debug Translation**: DeepL, Yandex, Youdao, Baidu, Tencent, Bing, Caiyun, Niutrans, Ali, Google, OpenAI
|
|
|
|
  **Pre-translation** Support reading human translation and aggregating machine pre-translation files
|
|
|
|
  **Custom Translation Extension** Support the use of Python language to extend other translation interfaces I don't know
|
|
|
|
|
|
|
|
|
|
|
|
#### Speech Synthesis
|
|
|
|
  **Offline TTS**: Windows TTS, VoiceRoid2, VoiceRoid+, NeoSpeech, VOICEVOX, VITS, and more
|
|
|
|
  **Online TTS**: Volcano TTS, Youdao TTS, Edge TTS, Google TTS, and more
|
|
|
|
#### Translation optimization
|
|
|
|
  **Text Processing**: Supports over a dozen common text processing methods, from simple processing such as text de-duplication and filtering line breaks, to complex regular expression replacement and even writing your own custom Python preprocessor
|
|
|
|
  **Translation Optimization**: Supports custom proper noun translations and importing VNR shared dictionaries
|
|
|
|
#### Japanese learning
|
|
|
|
  **Japanese Word Segmentation and Furigana Display** Supports MeCab and other tokenizers for word segmentation and furigana display to help you read
|
|
|
|
  **Dictionary Lookup**: Supports MDICT, Shogakukan, Lingoes, EDICT, Youdao, Weblio, Goo, Moji, Jisho, and other online and offline dictionaries
|
|
|
|
  **Anki Integration**: Supports one-click addition of words to Anki
|
|
|
|
|
|
## References
|
|
|
|
<details>
|
|
<summary>Click to view</summary>
|
|
|
|
* [Artikash/Textractor](https://github.com/Artikash/Textractor)
|
|
|
|
* [RapidAI/RapidOcrOnnx](https://github.com/RapidAI/RapidOcrOnnx)
|
|
|
|
* [PaddlePaddle/PaddleOCR](https://github.com/PaddlePaddle/PaddleOCR)
|
|
|
|
* [UlionTse/translators](https://github.com/UlionTse/translators)
|
|
|
|
* [Blinue/Magpie](https://github.com/Blinue/Magpie)
|
|
|
|
* [nanokina/ebyroid](https://github.com/nanokina/ebyroid)
|
|
|
|
* [xupefei/Locale-Emulator](https://github.com/xupefei/Locale-Emulator)
|
|
|
|
* [InWILL/Locale_Remulator](https://github.com/InWILL/Locale_Remulator)
|
|
|
|
* [zxyacb/ntlea](https://github.com/zxyacb/ntlea)
|
|
|
|
* [@KirpichKrasniy](https://github.com/KirpichKrasniy)
|
|
|
|
</details>
|
|
|
|
|
|
|
|
## Support author
|
|
|
|
If you feel that the software is helpful to you, welcome to become my [sponsor](https://patreon.com/HIllya51). Thank you ~
|
|
|
|
<img src='.\\LunaTranslator\\files\\zan.jpg' style="height: 400px !important;">
|