Accessing Your Kindle Highlights

In 2010, I purchased my first Kindle and since then apart from GEB [1], I haven’t bothered with physical copies. The Kindle store satisfies most of my needs (I find situations where the paperback costs less than the digital copy and refuse to buy the book on principle).

The books can be read on any platform (OS X, iOS for iPad and iPhone in my case and I do remember a rather unpleasant Kindle app on WP7)

One of the benefits of a digital book is that it should be straightforward for me to collect a list of highlights I’ve made about the book. Amazon (in their infinite wisdom) have not provided an API in the 3 or so years I’ve used the Kindle ecosystem and manually transcribing the quotes is not something I am interested in doing. Scraping remains the only alternative. I decided to use clojure for this task.

Fast dates parser

The Clueweb12++ crawl aims at accumulating social media content from the Clueweb crawl’s time frame. Our pipeline thus far was as follows:

  1. Download a bunch of index pages from forums (index pages link to threads).
  2. Identify posts that fall in the time-frame specified.
  3. Download posts and recreate web-graph to give the impression of a crawl completed in the 2012 time-frame.

There is one complicated time-frame in this setup - step 2. Dates processing is a nuisance that I would not wish upon anyone else. There are an innumerable number of surface representations (that can be ambiguous) and to add to our troubles, people do stuff like use “Last Week” to indicate time of activity.

The most accurate tool is SUTime but on a crawl the size of ClueWeb, it is foolish to run such a crawl on it. So what we do is use Natty. Natty is fast and reasonably accurate.

I’ve uploaded a java module to github that will spit out a list of dates. You can obtain it here.

New Blog

This is my new blogging spot. The plan is to stop blogging from a WYSIWYG editor in the browser that isn’t really applicable to the kind of blogging I want to do and to move to a static generator

Per Intellectum, Vis
(c) Shriphani Palakodety 2013-2016