On Fri, Oct 30, 2009 at 11:37 AM, Amit Sethi <amit.pureene...@gmail.com> wrote: > I am trying to develop a sort of keyword generator for blog posts much like > the Yahoo Keyword service . As an initial idea I am using the list of most > used 3000 words in project Gutenberg as being redundant . My question is > what is the best way to organize my data and what algorithms would allow me > to search this list the fastest. > I am sorry for asking a very algorithmic question on the list but I don't > know where I can ask my more algorithmic problems suggestions on that would > be great >
Use a dict() if you want to store counts, or a set() Worry about performance when you have to. Roshan _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers