- Notifications
You must be signed in to change notification settings - Fork4
paranoid text spacing
License
Apache-2.0, MIT licenses found
Licenses found
Apache-2.0
license-apacheMIT
license-mitNotificationsYou must be signed in to change notification settings
airt/pangu-rs
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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).
- pangu.clj (Clojure)
- pangu.ex (Elixir)
- pangu.go (Go)
- pangu.java (Java)
- pangu.js (JavaScript, both Node and Browser)
- pangu.objective-c (Objective-C)
- pangu.php (PHP)
- pangu.py (Python)
- pangu.rb (Ruby)
- pangu.swift (Swift)
Add toCargo.toml
:
[dependencies]pangu ="0.2"
Example:
externcrate pangu;fnmain(){assert_eq!( pangu::spacing("新八的構造成分有95%是眼鏡、3%是水、2%是垃圾"),"新八的構造成分有 95% 是眼鏡、3% 是水、2% 是垃圾");}
Licensed under either of
- Apache License Version 2.0 (LICENSE-APACHE orhttps://www.apache.org/licenses/LICENSE-2.0)
- MIT License (LICENSE-MIT orhttps://opensource.org/licenses/MIT)
at your option.
About
paranoid text spacing
Topics
Resources
License
Apache-2.0, MIT licenses found
Licenses found
Apache-2.0
license-apacheMIT
license-mitStars
Watchers
Forks
Packages0
No packages published