protocol
language_profile_protocol
Language detection profile protocol.
Availability:
logtalk_load(language_detection(loader))Author: Paulo Moura
Version: 1:0:0
Date: 2026-09-06
Compilation flags:
staticDependencies:
(none)
Remarks:
(none)
Inherited public predicates:
(none)
Public predicates
language/1
Returns the profile ISO 639-1 language code.
Compilation flags:
staticTemplate:
language(Language)Mode and number of proofs:
language(-atom) - onetrigram_counts/1
Returns the lexically sorted character-trigram count vector.
Compilation flags:
staticTemplate:
trigram_counts(Counts)Mode and number of proofs:
trigram_counts(-list(pair(text,positive_integer))) - onestop_word/1
Enumerates canonical lowercase stop words.
Compilation flags:
staticTemplate:
stop_word(Word)Mode and number of proofs:
stop_word(?atom) - zero_or_moreProtected predicates
(none)
Private predicates
(none)
Operators
(none)