TextBlob
TextBlob copied to clipboard
Simple, Pythonic, text processing--Sentiment analysis, part-of-speech tagging, noun phrase extraction, translation, and more.
Hi, Does anyone know how to get the accuracy, precision, recall and most informative features of Naive Bayes Classifier which is already trained using movie corpus data. Thank you
When a NLTKClassifier is initialized and `basic_extractor` used as the default extractor,the `word_features` in the same training data set will always be re-extracted in the loop of `self.train_features = [(self.extract_features(d),...
Is there any to preserve contractions when using TextBlob? For example I'd like to do something like: ``` text = 'I don't like it." TextBlob.words ``` and have `['I', "don't",...
I am using NLTK with NaiveBayes analyzer. This uses Movie corpus. Can i make it use some other NLTK corpus ?
Sir, with due respect, I would like to ask you that instead of training the classifier with sentences, is it possible to do so with words. Like: train = [...
Does anyone know how to assign prior probability to certain words in a train_set for better classification using a NaiveBayesClassifier For example: If i have a sentence/train_set like --> ('I...
Is it possible to get a word in source case? ``` Python >>>text = '''Main Python wrapper for correcting spelling and grammar mistakes.''' >>> blob = TextBlob(text) >>> blob.sentences[0].noun_phrases[0] 'python'...
Verified that this occurs in 0.10.0 :sob: ``` python >>> import textblob >>> textblob.TextBlob('gonna do this').words WordList(['gon', 'na', 'do', 'this']) ```
I love TextBlob, thank you so much for making this awesome Python tool :+1: I am wondering if there is a solution to a tokenization issue I'm seeing. Here's some...
Am struggling with sentence boundaries in textblob. Have put a bunch of examples below where the sentences are incorrectly classified - some of the other text systems do better than...