def isApplicable(tweet, data, limit):
    """
    Determines if a tweet should be factored into calculations about the sentiment surrounding a search term
    :param tweet: Text of a tweet
    :param data: An object of type SentimentData
    :param limit: The number of words inside the tweet which must also be accounted for in data
    :return: A bool on if the word should be factored into overall calculations or not
    """
    count = 0
    for word in tweet.split():
        if data.containsEntry(word):
            count += 1
    return count >= 2