Book classifier