<commit_before>/**
 * GKA (generate keyframes animation)
 * author: joeyguo
 * HomePage: https://github.com/joeyguo/gka
 * MIT Licensed.
 *
 * tpl
 */

var path  = require("path"),
	fs    = require("fs"),
    spawn = require('cross-spawn'),
    pkg   = require('../../package.json');

var gkaNodeModulesDir = path.join(__dirname, '..', '..', 'node_modules');<commit_msg>fix node_modules path bug<commit_after>/**
 * GKA (generate keyframes animation)
 * author: joeyguo
 * HomePage: https://github.com/joeyguo/gka
 * MIT Licensed.
 *
 * tpl
 */

var path  = require("path"),
	fs    = require("fs"),
    spawn = require('cross-spawn'),
    pkg   = require('../../package.json');

var gkaNodeModulesDir = path.join(__dirname, '..', '..', 'node_modules');

gkaNodeModulesDir = fs.existsSync(gkaNodeModulesDir)? gkaNodeModulesDir: path.join(__dirname, '..', '..', '..');
{'fraction_non_alphanumeric': 0.20207852193995382, 'fraction_numerical': 0.0, 'mean_word_length': 3.6363636363636362, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6837731', 'n_tokens_mistral': 302, 'n_tokens_neox': 304, 'n_words': 56}