aboutsummaryrefslogtreecommitdiff
path: root/ucd/property.go
diff options
context:
space:
mode:
Diffstat (limited to 'ucd/property.go')
-rw-r--r--ucd/property.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/ucd/property.go b/ucd/property.go
index 71bbcad..0b2ac62 100644
--- a/ucd/property.go
+++ b/ucd/property.go
@@ -1,5 +1,19 @@
package ucd
+// contributoryProperties is a set of contributory properties maleeni uses internally. Property statuses are
+// defined in the following table.
+//
+// https://unicode.org/reports/tr44/#Property_List_Table
+var contributoryProperties = []string{
+ "oalpha",
+ "olower",
+ "oupper",
+}
+
+func ContributoryProperties() []string {
+ return contributoryProperties
+}
+
// https://www.unicode.org/reports/tr44/#GC_Values_Table
var compositGeneralCategories = map[string][]string{
// Cased_Letter