Implemented generic standard and inverse rankers