Giter Site home page Giter Site logo

predidit / flutter_open_chinese_convert Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zonble/flutter_open_chinese_convert

1.0 1.0 0.0 478 KB

Open Chinese Convert for Flutter

License: MIT License

Ruby 18.68% Objective-C 2.03% Kotlin 15.47% Dart 45.18% Swift 18.65%

flutter_open_chinese_convert's Introduction

flutter_open_chinese_convert

flutter_open_chinese_convert bridges OpenCC (開放中文轉換) to your Flutter projects. You can use the package to convert Traditional Chinese to Simplified Chinese, and vise versa.

The package supports various conversion options:

  • S2T: Simplified Chinese to Traditional Chinese.
  • T2S: Traditional Chinese to Simplified Chinese.
  • S2HK: Simplified Chinese to Traditional Chinese (Hong Kong Standard).
  • HK2S: Traditional Chinese (Hong Kong Standard) to Simplified Chinese.
  • S2TW: Simplified Chinese to Traditional Chinese (Taiwan Standard).
  • TW2S: Traditional Chinese (Taiwan 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.

Usage

All you need to do is to call ChineseConverter.convert with what you wan to convert and a conversion option. For example:

import 'package:flutter_open_chinese_convert/flutter_open_chinese_convert.dart';

var text = '鼠标里面的硅二极管坏了,导致光标分辨率降低。';
var result = await ChineseConverter.convert(text, S2TWp());
// 滑鼠裡面的矽二極體壞了,導致游標解析度降低。

For further information, please visit:

flutter_open_chinese_convert's People

Contributors

zonble avatar predidit avatar dependabot[bot] avatar

Stargazers

 avatar

Watchers

 avatar

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.