Displaying 2 results from an estimated 2 matches for "replacement_char".
Did you mean:
replacement_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,
2007 Mar 23
5
Any chance to get 0.11.3 on windows soon ?
...------------------------------------------------------------
require ''ferret''
require ''jcode''
module Ferret::Analysis
ACCENTUATED_CHARS =
''???????????????????????????????????????????????????????????????????????????????????????????????''
REPLACEMENT_CHARS =
''aaaaaaaacccccddeeeeeeeeegggghhiiiiiiiijjjjkklllllnnnnnnooooooooooqrrrsssssttttuuuuuuuuuuwyyyzzz''
MAPPING = {
[''?'',''?'',''?'',''?'',''?'',''?'',''?'',&...