Displaying 2 results from an estimated 2 matches for "accentuated_char".
Did you mean:
accentuated_chars
2006 Oct 19
2
How to deal with accentuated chars in 0.10.8?
I''m startin to use Ferret and acts_as_ferret.
I need to use something like EuropeanAnalyzer
(http://olivier.liquid-concept.com/fr/pages/2006_acts_as_ferret_accentuated_chars).
By example, if the user search by "gonzalez" you can find documents taht
contents the term "gonz?lez" (gonzález)
The EuropeanAnalyzer is based on Ferret::Analysis::TokenFilter, but
seems that in 0.10.x this is not available.
What is the way to do this ?
--...
2007 Mar 23
5
Any chance to get 0.11.3 on windows soon ?
...osoft C
compiler).
Or if I can do things differently to get a European analyzer with
0.10.9.
Thanks for your help.
Laurent
---------------------------------------------------------------------------
require ''ferret''
require ''jcode''
module Ferret::Analysis
ACCENTUATED_CHARS =
''???????????????????????????????????????????????????????????????????????????????????????????????''
REPLACEMENT_CHARS =
''aaaaaaaacccccddeeeeeeeeegggghhiiiiiiiijjjjkklllllnnnnnnooooooooooqrrrsssssttttuuuuuuuuuuwyyyzzz''
MAPPING = {
[''?'...