| Did you know ... | Search Documentation: |
| Pack logtalk -- logtalk-3.102.0/docs/apis/_sources/language_profile_protocol_0.rst.txt |
.. index:: single: language_profile_protocol .. _language_profile_protocol/0:
.. rst-class:: right
protocol
language_profile_protocolLanguage detection profile protocol.
| Availability:
| logtalk_load(language_detection(loader))
| Author: Paulo Moura | Version: 1:0:0 | Date: 2026-09-06
| Compilation flags:
| static
| Dependencies: | (none)
| Remarks: | (none)
| Inherited public predicates: | (none)
.. contents:: :local: :backlinks: top
.. index:: language/1 .. _language_profile_protocol/0::language/1:
language/1 ^^^^^^^^^^^^^^
Returns the profile ISO 639-1 language code.
| Compilation flags:
| static
| Template:
| language(Language)
| Mode and number of proofs:
| language(-atom) - one
.. index:: trigram_counts/1 .. _language_profile_protocol/0::trigram_counts/1:
trigram_counts/1 ^^^^^^^^^^^^^^^^^^^^
Returns the lexically sorted character-trigram count vector.
| Compilation flags:
| static
| Template:
| trigram_counts(Counts)
| Mode and number of proofs:
| trigram_counts(-list(pair(text,positive_integer))) - one
.. index:: stop_word/1 .. _language_profile_protocol/0::stop_word/1:
stop_word/1 ^^^^^^^^^^^^^^^
Enumerates canonical lowercase stop words.
| Compilation flags:
| static
| Template:
| stop_word(Word)
| Mode and number of proofs:
| stop_word(?atom) - zero_or_more
(none)
(none)
(none)