After researching, I found that in sphinx.yml, you can specify code
foldings. For instance, the default charset_table contains: 0..9,
a..z, A..Z->a..z. This will define that all upper case letters should
be considered to be equal to lower case letters.

Googling a bit I found a folding table for arabic characters here:
http://speeple.com/unicode-maps.txt

However, when I added that to my sphinx.yml file, folding does not
work. The letter "إ" should be folded into "ا", but searching for the
former only returns results that contain that letter itself, and
searching for the latter returns only results that contain the latter
letter itself.

Any ideas why code folding specified in the sphinx.yml file is not
working?

On Mar 18, 1:51 pm, Al-Faisal El-Dajani <[email protected]>
wrote:
> Hello all,
>
> Is there any way to define custom character folding for sphinx? I
> would like to add some new foldings for the arabic language, to
> indicate that certain characters should be treated the same.

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en.

Reply via email to