Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make dictionary search work the same for alternate characters (ie: āi shows results containing ai and vice versa) #100

Open
KelleyCoda opened this issue Apr 4, 2017 · 2 comments

Comments

@KelleyCoda
Copy link

This issue comes from Te Reo o Taranaki in New Zealand:

Can we refine search to include macronised vowels in results? E.g ākuanei will be found if user searches for akuanei & vice versa?

She adds:

Varying levels of macron application amongst students - need this search & find rule at a site level too.

When learning a non-english language it is difficult sometimes to remember which alternative characters to use and I think search would be improved so early learners can find words easier.

@KelleyCoda
Copy link
Author

Hi there, just hoping this caught your attention! It would mean a lot to Te Reo o Taranaki to hear whether or not this is something you plan to make possible. Do you know if it's possible to change on a single site?

@taylor-steve
Copy link
Collaborator

Hi Kelley,

That is something we'd like to add, but isn't scheduled for this next release. We have plans to further improve unicode handling throughout the site, this would probably be included as part of that effort.

For a one off, I'd consider trying one of the transliteration/romanization modules that are available. You might need to create hidden duplicate fields (e.g., 'title_romanized') and index those or search API aggregate fields that are the romanized version of the field. I haven't had a chance to really evaluate what is out there right now, I don't know how well any of them dovetail in with our current search API setup.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants