ztfy词库管理包

ztfy.thesaurus的Python项目详细描述


What is ztfy.thesaurus ?

同义词库是一个非常小的包,用于处理内容的索引。 通过一个结构化和受控词汇的同义词表的帮助,它是 就像一本大的术语字典。

已经出现了几种XML标准来处理此类同义词表;这个包主要基于 在自定义格式上,但可以导入和导出skos(rdf)和superdoc等格式的数据。

How to use ztfy.thesaurus ?

ztfy/thesaurus/doctests/readme.txt中给出了一组ztfy.同义词表用法作为doctests

HISTORY

0.2.16.1

  • removed forgotten debug output

0.2.16

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

0.2.15

  • updated indexes and search methods with activated stemming

0.2.14

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

0.2.13

  • 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

0.2.12

  • 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

0.2.11

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

0.2.10

  • 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

0.2.9

  • fanstatic resources cleanup

0.2.8

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

0.2.7.2

  • updated javascript code to correctly handle expansion of terms tree

0.2.7.1

  • updated locales

0.2.7

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

0.2.6

  • 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

0.2.5

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

0.2.4

  • 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

0.2.3

  • 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

0.2.2

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

0.2.1

  • activate AJAX cache when loading I18n translations strings

0.2.0

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

0.1.4

  • convert roles edit form to dialog

0.1.3

  • removed useless add forms title
  • imports cleanup

0.1.2

  • updated templates for ZTFY.skin >= 0.4.0
  • changed icons class

0.1.1

  • updated doctests
  • corrected packaging

0.1.0

  • first release

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java如何在jetty请求日志中添加milliscond字段?   java在使用Scanner类从文件读取信息时遇到问题   为什么。类不适用于泛型类型?   SQLite插入上的java空指针异常   java能告诉我们Guava缓存是在禁用统计数据的情况下构建的吗?   java在应用程序中使用常量   java无法使用AutoIT和Selenium Webdriver在所需位置/文件夹保存图像   java如何在jtable中更新jprogress栏   java是比较给定日期和当前日期(在给定时区中没有时间段)的最佳方法   安卓代码中的java错误   java无法访问实体类中的字段   java如何在tomcat中处理三个JDBC连接池?   java无法使用Spring Security保护AngularJS页面   如何在没有TCP/IP协议栈的情况下用Java发送以太帧