public static async Task ExtractTweetFeatures(Tweet tweet, Repositories.IOutput outpurRepo) { //Maintain the 60 second window of tweets MaintainTimeWindow(tweet, 60); string strResult = tweet.text; //Clean the tweet text up strResult = GetCleanedupTweetText(tweet.text); if (!string.IsNullOrEmpty(strResult)) { //Process hashtags and related features (graphs and so on) ProcessHashtagData(tweet, strResult); if (outpurRepo != null) { await outpurRepo.WriteFeatureOneOutputAsync(strResult, tweet.created_at); await outpurRepo.WriteFeatureTwoOutputAsync(CalculateAverageDegree()); } } }