зеркало из https://github.com/golang/text.git
191b11aac8
runes from the input. This corresponds to ICU's Remove transform. For example, to remove accents from characters one could use RemoveFunc as follows: nonspacingMark := func(r rune) bool { return unicode.Is(unicode.Mn, r) } transform.Chain(norm.NFD, transform.RemoveFunc(nonspacingMark), norm.NFC) (Once norm.Form implements Transformer; guess what will be my next CL.) R=r CC=golang-dev, nigeltao https://golang.org/cl/23220043 |
||
---|---|---|
cldr | ||
collate | ||
encoding | ||
language | ||
transform | ||
unicode/norm | ||
AUTHORS | ||
CONTRIBUTORS | ||
LICENSE | ||
PATENTS | ||
README | ||
codereview.cfg |
README
This repository holds supplementary Go libraries for text processing, many involving Unicode. To submit changes to this repository, see http://golang.org/doc/contribute.html.