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.0 - Unreleased
----------------

* 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.

Source Distribution

qi.GRSplitter-1.1.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

qi.GRSplitter-1.1-py2.4.egg (7.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page