<commit_before>/**
 * Created by wa on 8/25/14.
 */
/**
 * Created by zwang on 7/30/14.
 */


var moment = require("moment");
var util = require('util');
var Q = require('q');
var EventEmitter = require("events").EventEmitter;


function FeedService(){
  EventEmitter.call(this);
}

var Events = [
  "followUser",
  "getFollowers",
  "addPost",
  "getPost",
  "likePost",
  "getPostLikes",
  "addComment",
  "getThread",
  "publishPostToFeeds",
  "getFeed"
]
  .reduce(function(o, k) {
    o[k] = k;
    return o;
  }, {});

util.inherits(FeedService, EventEmitter);
FeedService.Events = Events;<commit_msg>linked up feedService to redisDelegate<commit_after>/**
 * Created by wa on 8/25/14.
 */
/**
 * Created by zwang on 7/30/14.
 */


var moment = require("moment");
var util = require('util');
var EventEmitter = require("events").EventEmitter;


function FeedService(){
  EventEmitter.call(this);
}

var Events = [
  "followUser",
  "getFollowers",
  "addPost",
  "getPost",
  "likePost",
  "getPostLikes",
  "addComment",
  "getThread",
  "publishPostToFeeds",
  "getFeed"
]
  .reduce(function(o, k) {
    o[k] = k;
    return o;
  }, {});

util.inherits(FeedService, EventEmitter);
FeedService.Events = Events;
{'fraction_non_alphanumeric': 0.17748562037797863, 'fraction_numerical': 0.016433853738701727, 'mean_word_length': 3.891566265060241, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6393063', 'n_tokens_mistral': 458, 'n_tokens_neox': 446, 'n_words': 96}