ferenda.sources.general.Keyword – generate documents for keywords used by document in other docrepos¶
- class ferenda.sources.general.Keyword(config=None, **kwargs)¶
Implements support for ‘keyword hubs’, conceptual resources which themselves aren’t related to any document, but to which other documents are related. As an example, if a docrepo has documents that each contains a set of keywords, and the docrepo parse implementation extracts these keywords as dcterms:subject resources, this docrepo creates a document resource for each of those keywords. The main content for the keyword may come from the MediaWiki docrepo, and all other documents in any of the repos that refer to this concept resource are automatically listed.