Skip to content

waterwrong/ccc

Repository files navigation

Chinese Commercial Code mapping library

Setup

    dependencies {
        implementation 'io.hkhc:io.hkhc.ccc:1.0'
    }

Introduction

This library provide tools to map Chinese characters to its Chinese commercial code.

Examples

        CCCDB db = new CCCDB();
        db.load();
        Assert.assertEquals("7115 1129 2429", db.getCCCs("陳大文"));

Source data

Source data for the mapping files are placed under data folder. The encoding mapping file is generated by CCCGenerator class.

About

Chinese Commercial Code handling library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published