u_scripts {Unicode} | R Documentation |
Unicode Scripts
Description
Unicode scripts.
Usage
u_scripts(x)
Arguments
x |
a character vector with the names of Unicode scripts. |
Value
If x
is missing, a list of the Unicode scripts given as
u_char_range
Unicode character ranges, with the (full)
block names as names.
If x
is given, a (sub)list of the specific Unicode scripts.
References
Unicode Character Database (https://www.unicode.org/ucd/)
See Also
u_char_property
to find the script (property) of Unicode
characters.
Examples
scripts <- u_scripts()
names(scripts)
## Total number of code points assigned to the scripts:
sort(vapply(scripts, function(s) sum(n_of_u_chars(s)), 0),
decreasing = TRUE)
[Package Unicode version 15.1.0-1 Index]