Skip to main content

ZTFY thesaurus management package

Project description

What is ztfy.thesaurus ?

ztfy.thesaurus is a quite small package used to handle content’s indexation through the help of a structured and controlled vocabulary’s thesaurus, which is like a big hierarchic dictionary of terms linked together.

Several XML standards have emerged to handle such thesauri ; this package is mainly based on a custom format but can import and export data in formats like SKOS (RDF) and SuperDoc.

How to use ztfy.thesaurus ?

A set of ztfy.thesaurus usages are given as doctests in ztfy/thesaurus/doctests/README.txt


  • removed forgotten debug output


  • removed “thesaurus_name” attribute from thesaurus terms indexes
  • only index term internal ID (requires index rebuild!)
  • allow indexing of terms parents and synonyms


  • updated indexes and search methods with activated stemming


  • don’t display label of archived synonyms if term’s label
  • added extra arguments in thesaurus “findTerms()” method to allow exact searches of terms


  • add “base_label” attribute in IThesaurusTerm interface to allow exact search of terms
  • added “base_label” attribute value index in thesaurus internal catalog
  • always place term exact match (if any) on first place of terms selection list
  • changed default results terms selection list to 50 items instead of 20
  • add automatic vertical overflow in JQuery-multiselect terms selection list


  • handle accentuated characters in thesaurus name when no filename is provided in export dialog form
  • handle empty description in SKOS/RDF export
  • handle extract selection in SuperDoc export


  • use IntIds “register” method instead of “getId” to prevent errors while re-indexing contents containing unregistered terms


  • change thesaurus term indexed value(s) to allow modification of term’s label without interfering with indexes contents
  • remove double entries from terms search JSON-RPC methods when entered text matches a term and (at least) one of it’s synonyms
  • correctly encode “&” character in term’s dialog opening URL
  • make “/” character forbidden in term’s label


  • fanstatic resources cleanup


  • use last interfaces, classes and interfaces from ZTFY.base and packages instead of

  • updated javascript code to correctly handle expansion of terms tree

  • updated locales


  • updated loading and merge for better handling of custom thesaurus formats
  • changed tree “getChildNodes” method for first-level terms


  • small updates (with updated doctests!) in extracts management
  • added marker interface for generic thesaurus views
  • added feature in terms tree view to automatically deploy tree until a given searched term
  • added option on multi-selection terms input widget to disable action of backspace key
  • imports cleanup


  • update term’s generic/usage reverse links in term’s creation form
  • use caption instead of label in terms selection form


  • add attribute on terms list input widget which allows to display an entire list of terms which can be selected from a thesaurus
  • added controls and error messages when changing term’s label to allow correct catalog update and avoid duplicates


  • added search engine inside terms tree to get synonyms which are not part of the terms tree
  • update terms generic/specifics and usage/used_for associations when importing a thesaurus
  • don’t reinitialize extracts to an empty set when a term is no more associated to a generic
  • corrected SKOS loader synonyms associations management


  • add new thesaurus add form to create a new thesaurus without importing any data
  • remove security proxy when comparing two terms
  • use new edit form “CALLBACK” API
  • remove archived terms from selection search results


  • activate AJAX cache when loading I18n translations strings


  • use data API
  • make resources compatible with Fanstatic “bottom” option


  • convert roles edit form to dialog


  • removed useless add forms title
  • imports cleanup


  • updated templates for >= 0.4.0
  • changed icons class


  • updated doctests
  • corrected packaging


  • first release

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
ztfy.thesaurus- (1.6 MB) Copy SHA256 hash SHA256 Egg 2.7 Dec 19, 2013
ztfy.thesaurus- (1.6 MB) Copy SHA256 hash SHA256 Source None Dec 19, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page