Page MenuHomePhabricator

Support Áçčềñṭ-Ḟøłɖǐṅg in typeaheads
Open, Needs TriagePublic

Description

Basically,

If I created two projects :

  • design
  • dévelopement (note the french accent)

and then i type dein manifest it only typeahead the first one.
It should also refer to the second one.

In others words it should :

  1. clean up project name into accent free name, spécial char free
  2. then clean up the requested typeahed
  3. do typeahead betwwen the two cleanup name

Event Timeline

tycho.tatitscheff raised the priority of this task from to Needs Triage.
tycho.tatitscheff updated the task description. (Show Details)
tycho.tatitscheff added a project: Typeahead.
chad renamed this task from TypeAhead should handle the char with accent in a better way to Support accent folding in typeaheads.Jun 3 2015, 7:16 PM
chad renamed this task from Support accent folding in typeaheads to Support Áçčềñṭ-Ḟøłɖǐṅg in typeaheads.
chad added a subscriber: chad.

tumblr_litkzaldnn1qghlk1o1_500.jpg (459×600 px, 47 KB)

chad changed the title from "Support accent folding in typeaheads" to "Support Áçčềñṭ-Ḟøłɖǐṅg in typeaheads".

bwahaha

It may also make sense to fold accents when normalizing strings for ngram indexes.

http://www.gyro-php.org/documentation/contributions/group__Unidecode.html seems relevant.

The underlying perl module that this was copied from is decent. I can't comment on this implementation. Accent folding it is guaranteed to be wrong for at least some language some of the time but it isn't unreasonable to try it.