Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

paranoid text spacing

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
license-apache
MIT
license-mit
NotificationsYou must be signed in to change notification settings

airt/pangu-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build StatusCrates VersionRust Docs

Paranoid text spacing for good readability, to automatically insert whitespace between CJK (Chinese, Japanese, Korean) and half-width characters (alphabetical letters, numerical digits and symbols).

Usage

Add toCargo.toml:

[dependencies]pangu ="0.2"

Example:

externcrate pangu;fnmain(){assert_eq!(    pangu::spacing("新八的構造成分有95%是眼鏡、3%是水、2%是垃圾"),"新八的構造成分有 95% 是眼鏡、3% 是水、2% 是垃圾");}

License

Licensed under either of

at your option.

About

paranoid text spacing

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
license-apache
MIT
license-mit

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp