This module is shared between PlDoc and apropos/1 and collects information about the Prolog jargon to enhance recall and precision of the search. One could call it an ontology, but I guess that is a bit too much honour.
- doc_related_word(+Term, -Related, -Distance) is nondet
- True when Related is a word that is related to Term. Map some commonly known concepts to their Prolog related term. Where do we find a comprehensive list of these?
- prolog_identifier_part(?Part) is nondet
- True if Part appears as part of a Prolog identifier from the documentation. This extracts most of the Prolog jargon.