category
tokenizer_rules
Reusable portable rules for tokenization and sentence splitting. Importing objects supply language-specific abbreviation and word punctuation hooks. URL and email address recognition delegates to the url library.
Availability:
logtalk_load(tokenization(loader))Author: Paulo Moura
Version: 1:0:0
Date: 2026-09-05
Compilation flags:
staticRemarks:
(none)
Inherited public predicates:
Public predicates
(no local declarations; see entity ancestors if any)
Protected predicates
abbreviation/1
Enumerates canonical lowercase abbreviations, including their periods.
Compilation flags:
staticTemplate:
abbreviation(Abbreviation)Mode and number of proofs:
abbreviation(?atom) - zero_or_morenon_terminal_abbreviation/1
Enumerates abbreviations that do not terminate a sentence when followed by another token.
Compilation flags:
staticTemplate:
non_terminal_abbreviation(Abbreviation)Mode and number of proofs:
non_terminal_abbreviation(?atom) - zero_or_moreinternal_apostrophe/1
Enumerates apostrophe character codes accepted inside words.
Compilation flags:
staticTemplate:
internal_apostrophe(Code)Mode and number of proofs:
internal_apostrophe(?character_code) - zero_or_moreinternal_hyphen/1
Enumerates hyphen character codes accepted inside words.
Compilation flags:
staticTemplate:
internal_hyphen(Code)Mode and number of proofs:
internal_hyphen(?character_code) - zero_or_morePrivate predicates
(no local declarations; see entity ancestors if any)
Operators
(none)