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
============
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
Release history Release notifications | RSS feed
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.1.tar.gz
(3.8 kB
view details)
Built Distribution
File details
Details for the file qi.GRSplitter-1.1.1.tar.gz
.
File metadata
- Download URL: qi.GRSplitter-1.1.1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f0a7281e51223d92d5f4d9ab6a17aef4e82286edac2cf7966cbad2cb2370fc1 |
|
MD5 | 325c95dbd1b6d26c7d001b9a73ff5462 |
|
BLAKE2b-256 | 5d9b690df3fb158e8ee800c18820b75f4e55d43883ff4933c651a207e9b13217 |
File details
Details for the file qi.GRSplitter-1.1.1-py2.4.egg
.
File metadata
- Download URL: qi.GRSplitter-1.1.1-py2.4.egg
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fed6c2ae6646d4424a13ca9436fee2a4c0d8103c9bf23e7baa5b95c7f77ab1f8 |
|
MD5 | 141f70b358a85512beb461d5789affae |
|
BLAKE2b-256 | a226d0c33770489cfe745c41a20708122430701847b5470721f374f8d238d2bd |