protocol
stop_words_protocol
Stop-word enumeration and filtering protocol.
Availability:
logtalk_load(stop_words(loader))Author: Paulo Moura
Version: 1:0:0
Date: 2026-09-05
Compilation flags:
staticDependencies:
(none)
Remarks:
(none)
Inherited public predicates:
(none)
Public predicates
stop_word/1
Enumerates canonical stop words using the configured text representation.
Compilation flags:
staticTemplate:
stop_word(Word)Mode and number of proofs:
stop_word(?text) - zero_or_moreis_stop_word/1
True if the word, after ASCII lowercasing, is a stop word.
Compilation flags:
staticTemplate:
is_stop_word(Word)Mode and number of proofs:
is_stop_word(+text) - zero_or_oneexclude/2
Removes stop words, preserving the representation, value, and order of the remaining words.
Compilation flags:
staticTemplate:
exclude(Words,Filtered)Mode and number of proofs:
exclude(+list(text),-list(text)) - oneProtected predicates
(none)
Private predicates
(none)
Operators
(none)