ascii

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2022 License: MIT Imports: 3 Imported by: 1

Documentation

Overview

Package ascii folds Unicode characters to their ASCII equivalents where possible. Ported from Lucene org.apache.lucene.analysis.miscellaneous

Index

Constants

This section is empty.

Variables

View Source
var Fold = mapper.NewFilter(folder)

Fold is a jargon Filter which converts alphabetic, numeric, and symbolic Unicode characters which are not in the first 127 ASCII characters (the "Basic Latin" Unicode block) into their ASCII equivalents, if one exists. Ported from Lucene org.apache.lucene.analysis.miscellaneous

Functions

func FoldString

func FoldString(s string) (string, bool)

FoldString is a utility method for folding a single string. Use the Fold() filter to process a token stream.

Types

This section is empty.

Jump to

Keyboard shortcuts

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