<commit_before>'use strict';
const Twit = require('twit');
const tracery = require(`tracery-grammar`);
const the_pros = require(`./grammar.json`);

// Create tweet from grammar
const grammar = tracery.createGrammar(the_pros);
grammar.addModifiers(tracery.baseEngModifiers); 
const tweet = grammar.flatten("#origin#");

// Create twitter client
var T = new Twit(
    { consumer_key:         process.env.TWITTER_CONSUMER_KEY
    , consumer_secret:      process.env.TWITTER_CONSUMER_SECRET
    , access_token:         process.env.TWITTER_ACCESS_TOKEN
    , access_token_secret:  process.env.TWITTER_ACCESS_TOKEN_SECRET
    }
);<commit_msg>fix grammar path<commit_after>'use strict';
const Twit = require('twit');
const tracery = require(`tracery-grammar`);
const the_pros = require(`./src/grammar.json`);

// Create tweet from grammar
const grammar = tracery.createGrammar(the_pros);
grammar.addModifiers(tracery.baseEngModifiers); 
const tweet = grammar.flatten("#origin#");

// Create twitter client
var T = new Twit(
    { consumer_key:         process.env.TWITTER_CONSUMER_KEY
    , consumer_secret:      process.env.TWITTER_CONSUMER_SECRET
    , access_token:         process.env.TWITTER_ACCESS_TOKEN
    , access_token_secret:  process.env.TWITTER_ACCESS_TOKEN_SECRET
    }
);
{'fraction_non_alphanumeric': 0.11336982017200939, 'fraction_numerical': 0.0, 'mean_word_length': 4.47008547008547, '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': '1471289', 'n_tokens_mistral': 456, 'n_tokens_neox': 434, 'n_words': 76}