Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am trying to create a wordpress search plugin that if you enter a text or keyword term, it would automatically convert any plural text to singular text e.g. "dogs" will become "dog"

I am already able to search with autocomplete but the problem is converting the text. Any help would be appreciate

share|improve this question
    
This strikes me as a pure Javascript question, and you are essentially talking about lemmatisation, which is not a simple task. –  s_ha_dum Jan 29 at 17:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.