All Projects → liuzl → Gocc

liuzl / Gocc

Licence: apache-2.0
Golang version OpenCC 繁簡轉換

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Gocc

Opencc
Conversion between Traditional and Simplified Chinese
Stars: ✭ 5,979 (+5879%)
Mutual labels:  chinese-translation
Teachyourselfcs Cn
TeachYourselfCS 的中文翻译 | A Chinese translation of TeachYourselfCS
Stars: ✭ 11,772 (+11672%)
Mutual labels:  chinese-translation
Quillchinesedoc
Quill中文翻译文档。
Stars: ✭ 64 (-36%)
Mutual labels:  chinese-translation
Translations
🐼 Chinese translations for classic IT resources
Stars: ✭ 6,074 (+5974%)
Mutual labels:  chinese-translation
Hhcomicviewer
[DEPRECATED] 这是一个汗汗漫画网的android平台阅读软件
Stars: ✭ 26 (-74%)
Mutual labels:  chinese-translation
Translation Spring Mvc 4 Documentation
Spring MVC 4.2.4 RELEASE 中文文档完整翻译稿
Stars: ✭ 1,062 (+962%)
Mutual labels:  chinese-translation
Bert paper chinese translation
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding 论文的中文翻译 Chinese Translation!
Stars: ✭ 564 (+464%)
Mutual labels:  chinese-translation
Crusader Kings Ii 2.6.3 Chinese Localization
Crusader Kings II(王国风云2)2.6.2、2.6.3 汉化包100%补完计划(基于52汉化组测试补丁)|王国风云2汉化|十字军之王2汉化|2.62汉化|2.63汉化
Stars: ✭ 83 (-17%)
Mutual labels:  chinese-translation
Eigendocinchinese
Eigen3.3.7 Doc中文版
Stars: ✭ 28 (-72%)
Mutual labels:  chinese-translation
Awesome Cn
awesome项目中文翻译,提升查阅效率
Stars: ✭ 62 (-38%)
Mutual labels:  chinese-translation
Springboot
Spring Boot chinese document. Spring Boot 2.1.5 中文文档
Stars: ✭ 703 (+603%)
Mutual labels:  chinese-translation
Game Programming Patterns Cn
《游戏编程模式》中文版
Stars: ✭ 837 (+737%)
Mutual labels:  chinese-translation
Cn missemi
【Under CC-BY-NC-SA 4.0】Simplified Chinese translation of MIT course 「The Missing Semester of Your CS Education 」
Stars: ✭ 56 (-44%)
Mutual labels:  chinese-translation
Java Virtual Machine Specification
Chinese translation of The Java® Virtual Machine Specification.《Java 虚拟机规范(第11版)》中文翻译及示例,Java SE 11 版
Stars: ✭ 649 (+549%)
Mutual labels:  chinese-translation
Gctt
GCTT Go中文网翻译组。
Stars: ✭ 1,227 (+1127%)
Mutual labels:  chinese-translation
Gitlab Ce Zh
GitLab Community Edition (中文社区版)
Stars: ✭ 594 (+494%)
Mutual labels:  chinese-translation
Xlnet paper chinese translation
XLNet: Generalized Autoregressive Pretraining for Language Understanding 论文的中文翻译 Paper Chinese Translation!
Stars: ✭ 50 (-50%)
Mutual labels:  chinese-translation
Alfred Parrot
📝 一款可以多种语言翻译的 Alfred Workflow
Stars: ✭ 89 (-11%)
Mutual labels:  chinese-translation
Developing Ios 11 Apps With Swift
Stanford 公开课,Developing iOS 11 Apps with Swift 字幕翻译
Stars: ✭ 1,237 (+1137%)
Mutual labels:  chinese-translation
React In Patterns Cn
React in patterns 中文版
Stars: ✭ 1,107 (+1007%)
Mutual labels:  chinese-translation

gocc - Golang version OpenCC

GoDocGo Report Card

Introduction 介紹

gocc is a golang port of OpenCC(Open Chinese Convert 開放中文轉換) which is a project for conversion between Traditional and Simplified Chinese developed by BYVoid.

gocc stands for "Golang version OpenCC", it is a total rewrite version of OpenCC in Go. It just borrows the dict files and config files of OpenCC, so it may not produce the same output with the original OpenCC.

Installation 安裝

1, golang package

go get github.com/liuzl/gocc

2, Command Line

git clone https://github.com/liuzl/gocc
cd gocc/cmd
make install
gocc --help
echo "我们是工农子弟兵" | gocc
#我們是工農子弟兵

Usage 使用

package main

import (
    "fmt"
    "log"
    
    "github.com/liuzl/gocc"
)

func main() {
    s2t, err := gocc.New("s2t")
    if err != nil {
        log.Fatal(err)
    }
    in := `自然语言处理是人工智能领域中的一个重要方向。`
    out, err := s2t.Convert(in)
    if err != nil {
        log.Fatal(err)
    }
    fmt.Printf("%s\n%s\n", in, out)
    //自然语言处理是人工智能领域中的一个重要方向。
    //自然語言處理是人工智能領域中的一個重要方向。
}

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 Standard)
  • hk2s Traditional Chinese (Hong Kong Standard) 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
  • t2hk Traditional Chinese (OpenCC Standard) to Hong Kong Standard
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].