Skip to content

A repository for Chinese text normalization.

Notifications You must be signed in to change notification settings

Joee1995/chn_text_norm

 
 

Repository files navigation

This account is no longer in use, see Atomicoo for my latest works.

Chn Text Norm

this is a repository for chinese text normalization (no longer maintained).

Quick Start

Git Clone Repo

git clone this repo to the root directory of your project which need to use it.

cd /path/to/proj
git clone https://github.com/Joee1995/chn-text-norm.git

after that, your doc tree should be:

proj                     # root of your project
|--- chn_text_norm       # this chn-text-norm tool
     |--- text.py
     |--- ...
|--- text_normalize.py   # your text normalization code
|--- ...

How to Use ?

# text_normalize.py
from chn_text_norm.text import *

raw_text = 'your raw text'
text = Text(raw_text=raw_text).normalize()

About

A repository for Chinese text normalization.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%