• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

/usr/lib/swipl/library/ext/utf8proc/unicode_security.pl
All Application Manual Name SummaryHelp

  • ext
    • utf8proc
      • unicode.pl
      • unicode_security.pl -- Unicode security helpers (UTS #39, UAX #24)
        • unicode_script/2
        • unicode_script_extensions/2
        • unicode_identifier_status/2
        • unicode_identifier_type/2
        • unicode_skeleton/2
        • unicode_confusable/2
        • unicode_confusable/3
        • unicode_resolved_scripts/2
        • unicode_restriction_level/2
 unicode_restriction_level(+Text, -Level:atom) is det
Classify Text under UTS #39 §5.2 at the most restrictive level for which it qualifies. Level is one of:
  • ascii_only — every code point in U+0020..U+007E and Allowed.
  • single_script — augmented resolved-script-set non-empty and every code point Allowed.
  • highly_restrictive — covered by Latin plus one of Hanb, Jpan or Kore (UTS #39 §5.1 augmented profiles).
  • moderately_restrictive — covered by Latin plus a single non-Latin Recommended script (Cyrl or Grek).
  • minimally_restrictive — every code point has Identifier_Type in {recommended, inclusion}.
  • unrestricted — otherwise. A linter that walks source clauses and reports atoms with the confusability issues above is registered in library(check) itself (predicate list_confusable_identifiers/0); see the library(check) documentation for details.
ClioPatria (version V3.1.1-59-g7b9a7a3)