Module erluca

UNICODE COLLATION ALGORITHM (UCA) & Default Unicode Collation Element Table (DUCET) - non-tailored.

Description

UNICODE COLLATION ALGORITHM (UCA) & Default Unicode Collation Element Table (DUCET) - non-tailored.

Data Types

alternate()

alternate() = non_ignorable | shifted | blanked | string() | binary()

Accepted values:

  non_ignorable | <<"non_ignorable">> | "non_ignorable" |
  shifted | <<"shifted">> | "shifted" |
  blanked | <<"blanked">> | "blanked"

case_first()

case_first() = upper | lower | string() | binary()

Accepted values:

  upper | <<"upper">> | "upper" |
  lower | <<"lower">> | "lower"

lang()

lang() = en

max_variable()

max_variable() = space | punct | symbol | currency | string() | binary()

Accepted values:

  space | <<"space">> | "space" |
  punct | <<"punct">> | "punct" |
  symbol | <<"symbol">> | "symbol" |
  currency | <<"currency">> | "currency"

options()

options() = #{fallback => yes_no(), lang => lang(), version => version(), strength => strength(), maxVariable => max_variable(), alternate => alternate(), backwards => yes_no(), normalization => no, caseLevel => yes_no(), caseFirst => case_first(), numeric => no, reorder => []}

strength()

strength() = primary | secondary | tertiary | quaternary | identical | 1..5

Accepted values:

  primary | <<"primary">> | "primary" | 1 |
  secondary | <<"secondary">> | "secondary" | 2 |
  tertiary | <<"tertiary">> | "tertiary" | 3 |
  quaternary | <<"quaternary">> | "quaternary" | 4 |
  identical | <<"identical">> | "identical" | 5

version()

version() = {10, 0}

yes_no()

yes_no() = yes | no | string() | binary()

Accepted values:

  no | <<"no">> | "no" | <<"N">> | "N" | <<"n">> | "n" | <<"0">> | "0" |
  yes | <<"yes">> | "yes" | <<"Y">> | "Y" | <<"y">> | "y" | <<"1">> | "1"

Function Index

uca/1

Function Details

uca/1

uca(Opts::options()) -> fun((unicode:chardata()) -> binary())


Generated by EDoc