transformer

package
v1.12.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2023 License: MIT Imports: 6 Imported by: 1

Documentation

Overview

Package transformer provides a few handy transformers, for use with Scanner and Segmenter.

We use the golang.org/x/text/transform package. We can accept anything that conforms to the transform.Transformer interface.

Index

Constants

This section is empty.

Variables

Diacritics 'flattens' characters with diacritics, such as accents. For example, açaí → acai. (It has the side effect of normalizing to NFC form, which should be fine.)

Lower transforms text to lowercase

Upper transforms text to uppercase

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL