This document discusses text and web mining. It defines text mining as analyzing huge amounts of text data to extract information. It discusses measures for text retrieval like precision and recall. It also covers text retrieval and indexing methods like inverted indices and signature files. Finally, it discusses challenges in web mining like the huge size and dynamic nature of the web and how web usage mining allows collection of web access information from server logs.