Taken from, "Survery of Information Retrieval." by Scott Weiss.