Giter Site home page Giter Site logo

peterdavehello / docker-opencc Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 0.0 14 KB

๐Ÿณ Dockerized OpenCC - An awesome tool to convert Traditional and Simplified Chinese โš™๏ธ

Home Page: https://hub.docker.com/r/peterdavehello/opencc

Dockerfile 100.00%
docker opencc chinese chinese-translation simplified-chinese traditional-chinese convert converter hacktoberfest

docker-opencc's Introduction

Dockerized OpenCC

PRs Welcome Build Status Docker Hub pulls

Docker Hub badge

About OpenCC

A project for conversion between Traditional and Simplified Chinese

Please note that this Docker image repository is not part of the OpenCC project.

Usage

Available OpenCC commands are:

  • opencc
  • opencc_dict
  • opencc_phrase_extract

For OpenCC usage, take a look at its own README.md and run each command with its -h or --help parameter to get help message, e.g.

$ docker run --rm -it peterdavehello/opencc opencc -h

Open Chinese Convert (OpenCC) Command Line Tool
Author: Carbo Kuo <[email protected]>
Bug Report: http://github.com/BYVoid/OpenCC/issues

Usage:

   opencc  [--noflush <bool>] [-i <file>] [-o <file>] [-c <file>] [--]
           [--version] [-h]

Options:

   --noflush <bool>
     Disable flush for every line

   -i <file>,  --input <file>
     Read original text from <file>.

   -o <file>,  --output <file>
     Write converted text to <file>.

   -c <file>,  --config <file>
     Configuration file

   --,  --ignore_rest
     Ignores the rest of the labeled arguments following this flag.

   --version
     Displays version information and exits.

   -h,  --help
     Displays usage information and exits.


   Open Chinese Convert (OpenCC) Command Line Tool

You'll need to mount your working directory into the container so that OpenCC can manipulate the file(s) in, for example:

docker run --rm -it -v ${PWD}:/text -w /text peterdavehello/opencc opencc -c s2tw -i SimplifiedChinese.srt -o TraditionalChinese.srt

docker-opencc's People

Contributors

peterdavehello avatar renovate-bot avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

docker-opencc's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

dockerfile
Dockerfile
  • alpine 3.19

  • Check this box to trigger a request for Renovate to run again on this repository

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.