added getreversindex_bysentence()