cr-nlp provides a set of tools for natural language processing (NLP), including text tokenization, sentiment analysis, word lemmatization, and stemming. Built on top of popular NLP libraries such as NLTK and Hugging Face's Transformers, it simplifies common NLP tasks for developers and researchers.
Features Tokenize Text: Break down text into tokens using pre-trained models from Hugging Face's Transformers library. Analyze Sentiment: Determine the sentiment of text using both Transformers and NLTK's VADER model. Lemmatize Words: Convert words to their base form based on their part of speech. Stem Words: Reduce words to their root form using the Porter Stemming algorithm. Installation To install cr-nlp, run the following command:
pip install cr-nlp Dependencies: Python 3.6+ nltk transformers tensorflow