Skip to main content

Greek word splitter for ZCTextIndex

Project description

Introduction
============

The default plone/zope splitters do not properly work with greek text. This product removes accents from greek strings and properly replaces them with unicode, enabling your searches to work out of the box!

Installation
============
If not using generic setup with plone:
1) Create a ZCTextIndex Lexicon from ZMI
2) Delete in the portal_catalog the indexes that contain greek text and recreate them using GRSplitter as a splitter.

If you are using generic setup profiles, here is an example snippet to help you with catalog.xml

<?xml version="1.0"?>
<object name="portal_catalog" meta_type="Plone Catalog Tool">

<object name="gr_lexicon" meta_type="ZCTextIndex Lexicon" purge="False" >
<element name="GR splitter" group="Word Splitter"/>
<element name="Case Normalizer" group="Case Normalizer"/>
</object>

<index name="greekIndexExample" meta_type="ZCTextIndex" purge="False" >
<indexed_attr value="myAttribute"/>
<extra name="index_type" value="Okapi BM25 Rank"/>
<extra name="lexicon_id" value="gr_lexicon"/>
</index>

</object>

Changelog
=========

1.1.1
----------------
* egg-fix release

1.1
----------------

* Initial release

Project details


Download files

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

Files for qi.GRSplitter, version 1.1.1
Filename, size File type Python version Upload date Hashes
Filename, size qi.GRSplitter-1.1.1-py2.4.egg (7.4 kB) File type Egg Python version 2.4 Upload date Hashes View hashes
Filename, size qi.GRSplitter-1.1.1.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View hashes

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 DigiCert DigiCert EV certificate StatusPage StatusPage Status page