Coder Social home page Coder Social logo

a224515a / opencc_wox Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 972 KB

A Wox.Plugin that converts between Traditional Chinese and Simplified Chinese using OpenCC.

Home Page: https://github.com/a224515a/OPENCC_wox

Python 100.00%
wox wox-plugin opencc chinese-translation

opencc_wox's Introduction

OPENCC_wox

這是一個以 OpenCC 進行簡繁中文轉換的 Wox 外掛。

A Wox plugin that converts between Traditional Chinese and Simplified Chinese using OpenCC.

開始使用/ Getting Started

OpenCC (開放中文轉換) 是相當知名的中文簡繁轉換開源項目。 yichen0831 將其改寫為純 Python程式碼透過官方提供的 Python接口,可相當輕鬆的整合到 Wox。 OpenCC (Open Chinese Convert) is a popular opensource project for conversions between Traditional Chinese and Simplified Chinese. An official OpenCC binding for Python is available, so that this plugin could be developed with ease.

功能 / Features

  • 關鍵詞 (cc) 後直接輸入目標文字,預設轉換為1)臺灣常用詞彙, 2)簡體

  • 關鍵詞 (cc) 後指定轉換格式再輸入目標文字

  • 輸入關鍵詞 (cc) 後上下移動焦點動以選取轉換格式。轉換格式選取完成後即可輸入目標文字。

轉換格式/ Conversions

  • s2t: Simplified Chinese to Traditional Chinese 簡體到繁體

  • t2s: Traditional Chinese to Simplified Chinese 繁體到簡體

  • s2tw: Simplified Chinese to Traditional Chinese (Taiwan Standard) 簡體到臺灣正體

  • tw2s: Traditional Chinese (Taiwan Standard) to Simplified Chinese 臺灣正體到簡體

  • s2hk: Simplified Chinese to Traditional Chinese (Hong Kong variant) 簡體到香港繁體

  • hk2s: Traditional Chinese (Hong Kong variant) to Simplified Chinese 香港繁體到簡體

  • s2twp: Simplified Chinese to Traditional Chinese (Taiwan Standard) with Taiwanese idiom 簡體到繁體(臺灣正體標準)並轉換爲臺灣常用詞彙

  • tw2sp: Traditional Chinese (Taiwan Standard) to Simplified Chinese with Mainland Chinese idiom 繁體(臺灣正體標準)到簡體並轉換爲中國大陸常用詞彙

  • t2tw: Traditional Chinese (OpenCC Standard) to Taiwan Standard 繁體(OpenCC 標準)到臺灣正體

  • hk2t: Traditional Chinese (Hong Kong variant) to Traditional Chinese 香港繁體到繁體(OpenCC 標準)

  • t2hk: Traditional Chinese (OpenCC Standard) to Hong Kong variant 繁體(OpenCC 標準)到香港繁體

  • t2jp: Traditional Chinese Characters (Kyūjitai) to New Japanese Kanji (Shinjitai) 繁體(OpenCC 標準,舊字體)到日文新字體

  • jp2t: New Japanese Kanji (Shinjitai) to Traditional Chinese Characters (Kyūjitai) 日文新字體到繁體(OpenCC 標準,舊字體)

  • tw2t: Traditional Chinese (Taiwan standard) to Traditional Chinese 臺灣正體到繁體(OpenCC 標準)

安裝/ Installing

  1. 需先安裝 Python 模組 opencc-python opencc

    You need to have the Python libraryopencc-python opencc installed first.

pip install opencc-python-reimplemented pip install OpenCC

  1. 將此資料夾存放在 ..\AppData\Roaming\Wox\Plugins\ 下即可使用

    Copy this folder to ..\AppData\Roaming\Wox\Plugins\

Credits

yichen0831 for opencc-python.

BYVoid for OpenCC.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.