Closed
Bug 525953
Opened 16 years ago
Closed 16 years ago
Create custom word list for SUMO search suggestion
Categories
(support.mozilla.org :: Search, defect, P3)
support.mozilla.org
Search
Tracking
(Not tracked)
VERIFIED
FIXED
1.5
People
(Reporter: jsocol, Assigned: jsocol)
References
()
Details
(Whiteboard: sumo_only)
Attachments
(1 file)
|
1.26 KB,
patch
|
paulc
:
review+
|
Details | Diff | Splinter Review |
We'll need to find a method to build a custom word list to handle spelling suggestions for things like "Fierfox" and "Faecbook".
| Assignee | ||
Comment 1•16 years ago
|
||
I keep getting "Fairfax" when I try "fierfox", so we'll probably also need a custom replacement word list.
http://us2.php.net/manual/en/function.pspell-config-repl.php
Priority: -- → P3
Target Milestone: --- → 1.5
| Assignee | ||
Updated•16 years ago
|
Assignee: nobody → james
| Assignee | ||
Updated•16 years ago
|
Component: Knowledge Base Software → Search
Comment 2•16 years ago
|
||
You can get pretty crazy with this, but here's a starting point; we should somehow allow for simple transpositions (and letter omissions):
firfox
firefix
furefox
addon
adon
bokmarks
crashs
crashws
facebok, etc.
Comment 3•16 years ago
|
||
I'm wondering if we could specify a list of words that are preferred and really important -- for which more than usual # of mistakes would still bring them up. Basically same thing as what Stephen said above :)
Comment 4•16 years ago
|
||
I've filed bug 529347 separate from this to cover cases in which a space is used. (i.e. home page, book mark, web site, zone alarm)
| Assignee | ||
Comment 5•16 years ago
|
||
FTR, bug 529347 is about the indexer, which is not related to the spelling suggestions.
| Assignee | ||
Comment 6•16 years ago
|
||
These are key names, brands, and other words I gleaned from talking with #sumodev and the first 20-ish pages of the forums. I also tweaked the add_to_dict script to make it easier to change the default language. This patch does not implement a custom replacement list (yet).
And I really need to clarify what this bug is and what it needs: this is about the spelling suggestion feature only. If you're worried that a result should appear but doesn't--if you're worried about results at all--that's not this bug. Check the wordforms bug (bug 529347) or file a new one.
This needs two things:
1) Words common to SUMO that would not be in a typical English dictionary--eg: "Firefox", "Google", "JavaScript", "username".
2) Likely or common misspellings that are generating the wrong suggestion.
An example of the latter: if you enter "firefix" and the site suggests "Fairfax" but not "firefox", that would be relevant here. If, on the other hand, you search for "addon" and expect results that contain "add-on", please head to bug 529347.
Attachment #413474 -
Flags: review?(paulc)
Comment 7•16 years ago
|
||
Comment on attachment 413474 [details] [diff] [review]
30 key words in English
WFM
Attachment #413474 -
Flags: review?(paulc) → review+
| Assignee | ||
Comment 8•16 years ago
|
||
r56613.
Obviously we'll need to add more terms over time and a bunch of new locales (bug 529903).
QA: take a look at the patch and look at the words with a +. Those should no longer trigger suggestions and near misspellings should suggest correctly.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Flags: in-testsuite?
Flags: in-litmus?
Comment 9•16 years ago
|
||
Verified, FIXED.
words with + in the patch do no trigger suggestions, however it still does not suggest correctly for misspellings. Filed Bug 532002 for misspellings.
Status: RESOLVED → VERIFIED
| Assignee | ||
Updated•16 years ago
|
Whiteboard: sumo_only
You need to log in
before you can comment on or make changes to this bug.
Description
•