Archive for the ‘tagging’ Category

Monday, November 5th, 2012

New ways to slice books by tags

LibraryThing members have added more than 91 million tags. It’s a truly unique repository of how real readers think about their books—the only sizeable bookish “folksonomy.” To bring out more in that data, I’ve added three new ways to slice the books for a given tag—sorting by a weighted proportion, recent popularity and recent publication.

Come learn more and talk about on Talk.

Labels: new features, tagging

Tuesday, June 12th, 2012

New feature: Tag translation

As many of you know, LibraryThing is available in more than a dozen languages like German (LibraryThing.de), French (LibraryThing.fr), Dutch (LibraryThing.nl), Finnish (fi.LibraryThing.com), Polish (pl.LibraryThing.com) and Slovak (sk.LibraryThing.com).

Basics: Today I introduced a new feature, called “tag translation,” to show many of LibraryThing’s 87 million tags in the language of the site. Translation has been seeded with translations drawn from one user-driven ecosystem, Wikipedia. LibraryThing users can help out by adding new translations, and voting on existing ones. Although words are rarely perfectly equivalent between languages, translation may prove useful to many of LibraryThing’s non-English members and, in time, to libraries that use LibraryThing’s data feeds and LibraryThing for Libraries.

The feature: Tags show up translated wherever tags appear(1). You can choose to see them that way, with color-coding (pink for translated) or you can opt to shut the feature off. Here’s a a version of Thucydides with current German-language tag translations.

The same can also be seen on tag pages, for example on this French page for “love.”

Tag translations can be examined, voted upon and edited at the bottom of tag pages. Here’s the expanded view of some of the tags for “Love.” This is the only part of tag translation that is seen on the English site LibraryThing.com.

To turn off or to color the tag translations, use the little info button at the bottom of tag clouds (wording will vary according to language.) It pops up a little area to make the change.

Review translations: You can review recent translations, and vote on them here: http://www.librarything.com/helpers_tagtranslations.php.

More information. For more information about how tag translation works and to comment come join us on Talk.

Labels: new feature, new features, tagging

Thursday, August 25th, 2011

New tag-based recommendations algorithm

Short version. I’ve just finished up a new algorithm for calculating book recommendations based on tags. You can see them on the “Recommendations” sub-page for every work page, under a special “Tags” heading (for a limited time only!), as shown to the right. When a work doesn’t have a recommendation, it will make it. (Expect to wait 2-10 seconds.) Recommendations will be propagating through the system, and, combined with the four other recommendations algorithms we use, going into your personal recommendations over time.

Come discuss it on talk here.

Long version. Recommendation algorithms are always tricky, but doing it based on tags alone is particularly difficult. Do you consider total overlap? Overlaps by tag? How do you rate a book missing an important tag? How do you factor up meaty and meaningful tags, and downgrade meaningless, over obvious or ephemeral ones? LibraryThing has long had tag-based work-to-work recommendations, but they were of uneven quality. I haven’t been making new ones for a while now, and letting them die out of the system; all the old tag-based recommendations have been removed.

The new algorithm approaches the issue afresh, looking at all of a work’s tags, and taking into account various factors that can trip it up. It thinks about factors like tag salience on a work and generally, degree of agreement between tags and low-value tags. It also attends to similar levels of work popularity. After deciding on the basic algorithm, I toyed with various “knobs” for days, myself and with Jeremy, trying to get the best results for a set of sample and problem works. In my experience, you can’t do an algorithm like this without a sense of appropriateness, taste and proportion, and (I hope) that this is one reason LibraryThing recommendations are generally so good.

Once a tag-recommendation is generated, it takes a while for it to be incorporated into the “Combo recommendations” above. “Combo recommendations” incorporate tag recommendations to greater or lesser degrees, depending on its assessment of their quality and contribution. Your personal recommendations are based mostly on these “Combo recommendations.”

The tag recommendations are going to take a while to build for all works that need them. After that, we plan to do some sort of “Pepsi Challenge” test. We think LibraryThing recommendations are as good as any out there, and are eager to prove it.

Some examples. Tag recommendations work absolutely best on non-fiction titles about something very simple and clear cut:

Works really “about” two or more things are harder, as are books with a specific point of view, which might seem separate to some extent from the tags on it. Some examples:

  • PHP and MySQL for dummies by Janet Valade — A successful example, where most of the books deal with both PHP and MySQL, with an orientation toward “entry level” programmers (eg., the “Visual Quickstart” books)
  • Born Fundamentalist, Born Again Catholic by David B. Currie — A successful example that mostly recommends other Protestant-to-Catholic conversion stories (rather than Catholic-to-Protestant ones)
  • Goldwater by Barry Goldwater — A mixed but mostly decent result, surfacing some Goldwater-specific material, but also showing other biographies, especially from the period and involving senators. Ideally it wouldn’t have quite so many contender-bios, as I’m not sure the potential Goldwater reader is eager to dig into Edward’s bio.
  • Freakonomics by Steven D. Levitt and Stephen J. Dubner — Decent list, starting with a short-shelf of popular economics-in-life books, followed by popular introductions to economics and economics-oriented thinky-think books

Fiction, especially non-“genre” fiction, is the big problem. Literary fiction isn’t “about” what it’s about in quite the same way that non-fiction is. Creating some separation between adult and youth titles is also hard. But we’ve made significant progress.

  • Watership Down by Richard Adams — A decent list of animal-centered chapter books, with classics like Redwall and The Wind in the Willows and no The Runaway Bunny or Knuffle Bunny.
  • The Book of Three by Lloyd Alexander — A decent list of magical fantasy books, angled to youth and toward Welsh mythology.
  • The Hobbit by J. R. R. Tolkien — A good list, but obviously centered quite strongly on Tolkien. Works with significant secondary literatures (cf., Harry Potter, Narnia, etc.) tend to be dominated by guides, atlases and so forth.
  • Little Women by Louisa May Alcott — Starts out well, putting March second, but then goes off the rails somewhat after a dozen. The Mother-Daughter Book Club wins because it apparently takes place in Concord, Massachusetts and involves mothers and daughters. The Secret Life of Bees is also about mothers and daughters, coming of age, sisterhood, and was made into a movie. Meh.
  • The Book Thief by Markus Zusak — Decent list, with other books, mostly fiction, about children during the Holocaust.
  • The Shack by William P. Young — I haven’t read it, but I think have a sense of it. There are some winners here, like The Christmas List, Redeeming Love. The Year of Fog and The Deep End of The Ocean cover some of the same issues from a non-religious standpoint, and Where Is God When It Hurts covers them from a non-fiction, evangelical perspective, which might or might not be wanted. But C. S. Lewis and Paul Bunyan(!) aren’t winners, being rather different sorts of fictions. Tim LaHaye is winning almost solely on being “christian fiction,” and James Redfield for “religious fiction,” “inspirational,” etc.
  • Patient Zero by Jonathan Maberry — Zombies? We got zombies, focusing on plague-based zombie terror (no Pride and Prejudice and Zombies). Straight-up plauge titles, like The White Plague are also included. Preston’s The Demon in the Freezer probably shouldn’t be there, but it’s a great book.
  • Earth Abides by George R. Stewart — More apocalypse, this time with few zombies. The Brief History of the Dead is rather different, though I’m not sure how LibraryThing could know that. At least it doesn’t attempt to recommend other boring books, like Earth Abides.
  • Blueberry Girl by Neil Gaiman — Some good stuff. Sound lousy. The tags are dragging the recommendations all around—children, picture book, Gaiman, mothers and daughters, charles vess. Twinkle, Twinkle, Little Star is winning on “poetry,” “rhymes” and child-associated tags.
  • Love in the asylum : a novel by Lisa Carey — My wife’s book. A decent-list of insane-asylum fiction, with some memoirs.
  • Twilight by Stephenie Meyer — Largely okay, so far as I can tell, although with less secondary literature than I would have guessed.
  • Illyria by Elizabeth Hand is winning on tags like “forbidden love,” “teen romance,” “teen lit,” “romantic” and “contemporary fantasy.” I have no idea if the books are similar.

Come discuss it on talk here.

Labels: recommendations, tagging

Friday, March 4th, 2011

“Tag Mirror” is back!

The much-loved, long-suspended “Tag Mirror” feature is back!

Your tag mirror is like your tag clouds, except that instead of seeing what you’ve tagged your books it shows what other members have tagged them. Sidelined because of speed problem, a series of database changes have made it viable again, without without extra caching. It’s not instant, but few users will find the speed insupportable.

Check it out:

And here’s the original blog post from back in 2007.

Labels: tag mirror, tagging

Monday, February 15th, 2010

Dead horses to ponies…

Borrowing a joke from Brightcopy, I’ve turned some dead-horses into ponies, bringing some long-requested features to life, and even improving on them.

Books You Share Preferences. Some members have long campaigned for sorting the profile-page “Books You Share” box by author, not title. But I held off—that’s not the right choice for everyone. Instead I’ve added a preference for it, with a number of different sorting options.

Critically, I set the default to sorting by popularity from low to high, something nobody had ever requested. I thought members might pounce on me for it, but quite a few have said it was an unexpectedly good choice. It brings out the unusual books you share. And those are often the most interesting.

I also added a preference to change how many shared books are displayed.

See this topic for more about the feature.

Tag Combination. After a 16-month hiatus, new tag combinations and separations are back!

The idea is simple. LibraryThing allows members to combine tags that are highly similar in meaning and application. Classic examples are tags like “World War II” and “wwii” or “ww2.” We discourage combining terms that don’t entirely overlap, either in meaning or in usage. (If you’re interested in the ideas behind tagging, check out my What’s the Big Deal About Tagging? talk on YouTube.)

Tag combination only affects “global pages”; user tags are never changed.

So far as I know, we’re the only website to experiment with this idea, something noted in Gene Smith’s Tagging: People-Powered Metadata for the Social Web. Tag-combination combines a new idea—tagging—with an older idea—what librarians call “authority control.”

This time, however, we’ve given it a twist—democratic authority control. Any member can propose a combination or separation, but the matter is put up to a vote—with a supermajority needed for any action. We hope it will slow down the process and make it more deliberate.

It’ll also save our servers from having to recalculate tags. With more than 60 million tags, and “science fiction” now at three million uses, instant, any-user combinations were really putting a strain on our system.

See more about it, and some examples here.

Labels: new features, tagging