How is data preprocessing applied in natural language processing (NLP)? Discuss techniques like tokenization, stop-word removal, stemming, and lemmatization, and how they help in preparing text data for tasks like sentiment analysis or language modeling.