Impossible to search word after apostrophe
Bug #746450 reported by
Id2ndR
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
Triaged
|
Medium
|
Unassigned | ||
Unity Foundations |
Triaged
|
Medium
|
Unassigned | ||
unity-2d |
Invalid
|
Undecided
|
Unassigned | ||
unity-lens-applications |
Triaged
|
Medium
|
Unassigned | ||
unity (Ubuntu) |
Triaged
|
Medium
|
Unassigned | ||
unity-lens-applications (Ubuntu) |
Triaged
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: unity
STR:
- press Super-key
- look for "énergie" to find gnome-power-manager which is named "Gestionnaire d'énergie" in french => it won't works
- look for "d'énergie" => it will works
Related branches
lp:~kamstrup/dee/icu-transliterators
- Michal Hruby (community): Approve
-
Diff: 744 lines (+572/-5)14 files modifiedMakefile.am (+5/-0)
configure.ac (+33/-1)
dee-1.0.pc.in (+1/-1)
dee-icu-1.0.pc.in (+11/-0)
doc/reference/dee-1.0/dee-1.0-docs.sgml (+1/-0)
src/Makefile.am (+6/-0)
src/dee-icu-term-filter.c (+279/-0)
src/dee-icu.h (+72/-0)
tests/Makefile.am (+4/-0)
tests/test-dee.c (+8/-0)
tests/test-icu.c (+122/-0)
vapi/Dee-1.0-custom.vala (+5/-0)
vapi/Dee-1.0.metadata (+2/-0)
vapi/dee-1.0.vapi (+23/-3)
Changed in unity-foundations: | |
assignee: | nobody → Mikkel Kamstrup Erlandsen (kamstrup) |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in unity: | |
assignee: | nobody → Mikkel Kamstrup Erlandsen (kamstrup) |
importance: | Undecided → Medium |
milestone: | none → 3.8.4 |
status: | New → Triaged |
Changed in unity-place-applications: | |
assignee: | nobody → Mikkel Kamstrup Erlandsen (kamstrup) |
importance: | Undecided → Medium |
milestone: | none → 0.2.46 |
status: | New → Triaged |
Changed in unity (Ubuntu): | |
assignee: | nobody → Mikkel Kamstrup Erlandsen (kamstrup) |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in unity-foundations: | |
milestone: | none → unity-3.8.4 |
Changed in unity-place-applications (Ubuntu): | |
status: | New → Triaged |
Changed in unity: | |
milestone: | 3.8.4 → none |
Changed in unity-foundations: | |
milestone: | unity-3.8.4 → none |
Changed in unity-place-applications: | |
milestone: | 0.2.46 → none |
affects: | ubuntu-translations → null |
Changed in unity-2d: | |
status: | New → Triaged |
Changed in unity-lens-applications (Ubuntu): | |
status: | New → Triaged |
no longer affects: | null |
no longer affects: | unity-place-applications (Ubuntu) |
tags: | added: scopes-s |
Changed in unity: | |
assignee: | Mikkel Kamstrup Erlandsen (kamstrup) → nobody |
Changed in unity-foundations: | |
assignee: | Mikkel Kamstrup Erlandsen (kamstrup) → nobody |
Changed in unity-lens-applications: | |
assignee: | Mikkel Kamstrup Erlandsen (kamstrup) → nobody |
Changed in unity (Ubuntu): | |
assignee: | Mikkel Kamstrup Erlandsen (kamstrup) → nobody |
Changed in unity-2d: | |
status: | Triaged → Invalid |
To post a comment you must log in.
Unfortunately there doesn't seem to be an easy fix for this. I was hoping that we could simply enable Xapian's stemmer for the current locale so that words like "d'argent" would become "argent" etc. Maybe I just don't enough about French stemming, but the French stemmer in Xapian stems "d'argent" to "d'argent" so that doesn't give us much.
The solution could be to forego the locale-dependent stemming (like we already do) and add a custom stemmer that maps the pattern LETTER APOSTROPHE WORD to just WORD. I think this would solve this particular case, but could possibly break other languages (or other aspects of French?).