Example #1
0
def processTweets(X_train, X_test):
    X_train = [
        sentiment.stem(sentiment.preprocessTweets(tweet)) for tweet in X_train
    ]
    X_test = [
        sentiment.stem(sentiment.preprocessTweets(tweet)) for tweet in X_test
    ]
    return X_train, X_test
def processTweets(X_train, X_test):
        X_train = [sentiment.stem(sentiment.preprocessTweets(tweet)) for tweet in X_train]
        X_test = [sentiment.stem(sentiment.preprocessTweets(tweet)) for tweet in X_test]
        return X_train,X_test