Relevanssi and languages
…site and rebuild the index: add_filter( ‘relevanssi_stemmer’, ‘relevanssi_simple_english_stemmer’ ); Other languages: Finnish: Simple Finnish stemmer. French: Simple French plural support. German: Simple German stemmer. Korean: Korean postposition stripping. These simple stemmers are not very good, though, so I recommend using a proper Snowball stemmer. It’s available as an add-on plugin……’aáàâậăằảbcdđeẹêệềghiịklmnoóọôộơớợpqrstuụủưựứvxyỹ’; } ); Hebrew add_filter( ‘relevanssi_didyoumean_alphabet’, function() { return ‘אבגדהוזחטיכלמנעפצקרשתםןףךץ’; } ); Stemming and suffix stripping Relevanssi Premium includes a simple English-language stemmer that changes word forms to more basic forms to make the searching less dependent on exact word form. To enable the English stemmer, add this to your……and is slightly harder to set up, but the results are better, and the plugin supports over dozen languages. Get the Snowball Stemmer add-on plugin here. Arabic diacritics You can improve the Relevanssi Arabic support by removing diacritics with this function. Add this to your site: add_filter( ‘relevanssi_remove_punctuation’, ‘rlv_arabic_remap’, 9…