-
Notifications
You must be signed in to change notification settings - Fork 20
/
general_category.rs
48 lines (46 loc) · 1.19 KB
/
general_category.rs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// DO NOT EDIT THIS FILE. IT WAS AUTOMATICALLY GENERATED BY:
//
// ucd-generate general-category ucd-14.0.0 --exclude unassigned --enum --fst-dir benches/tables/fst
//
// Unicode version: 14.0.0.
//
// ucd-generate 0.2.10 is available on crates.io.
pub const GENERAL_CATEGORY_ENUM: &'static [&'static str] = &[
"Close_Punctuation",
"Connector_Punctuation",
"Control",
"Currency_Symbol",
"Dash_Punctuation",
"Decimal_Number",
"Enclosing_Mark",
"Final_Punctuation",
"Format",
"Initial_Punctuation",
"Letter_Number",
"Line_Separator",
"Lowercase_Letter",
"Math_Symbol",
"Modifier_Letter",
"Modifier_Symbol",
"Nonspacing_Mark",
"Open_Punctuation",
"Other_Letter",
"Other_Number",
"Other_Punctuation",
"Other_Symbol",
"Paragraph_Separator",
"Private_Use",
"Space_Separator",
"Spacing_Mark",
"Surrogate",
"Titlecase_Letter",
"Uppercase_Letter",
];
pub static GENERAL_CATEGORY: ::once_cell::sync::Lazy<
::fst::Map<&'static [u8]>,
> = ::once_cell::sync::Lazy::new(|| {
::fst::Map::from(
::fst::raw::Fst::new(&include_bytes!("general_category.fst")[..])
.unwrap(),
)
});