Re: [Rhythmbox-devel] Rhythmbox Searches For "AND" vs "&"



On Sat, 2010-08-14 at 14:41 -0400, Kyle Baker wrote:
> On Tue, Aug 10, 2010 at 5:20 AM, Stuart Langridge
> <stuart langridge canonical com> wrote:
> > Agreed, for two reasons. The first is that it makes it much easier to
> > throw an artist name from some other part of Rhythmbox into the search
> > widget and have it work (we do this from the Ubuntu One music store, for
> > example, although there we know we'll get it right). The second is that
> > such lists of stopwords already exist, so they should be easy to
> > incorporate :-)
> 
> Are these stop lists pre-installed somewhere in most distributions or
> just available on the Internet, meaning they will need to be added?
> Also, where can they be found?

Well, the only thing I can find in Ubuntu is liblingua-stopwords-perl, a
Perl package. However, the list of stopwords isn't large (English ones
from that Perl package at
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/maverick/liblingua-stopwords-perl/maverick/annotate/head:/lib/Lingua/StopWords/EN.pm and the other languages are there too), and I suspect that the list of ordinary search stopwords wouldn't necessarily apply to music searching anyway ("You're", for example, is a common English search stopword, but you'd probably want to include it in a music search), so I think it'd be reasonable to build and include a Rhythmbox-specific stopword list in Rhythmbox rather than depending on something provided in distros. (The list could obviously be inspired by existing stopword lists in packages or on the web, though.)

sil




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]