Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 905 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 905 Bytes

asciifolding

Build Status

Rust port of Lucene's Ascii folding filter

From Lucene documentation:

This class 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.

Example

use asciifolding::fold_to_ascii;


assert_eq!(fold_to_ascii("Fıstıkçı Şuayip"), "Fistikci Suayip");

Reference