Added parameter for number of sentances returned.