<commit_before>// REPL

var clc = require('cli-color')
var read = require('read')

function REPL (msg) {
  if (msg) console.log(clc.xterm(clr.b)(msg))
  read({}, function handleInput (e,c,d) {
    if (e) console.error(e)
    if (!e) {
      var args = c.match(' ')
      if (args !== null) { 
        c = c.split(' ')
        nimoy[c[0]](c[1],REPL)
      } else {
        nimoy[c](REPL)
      }
    }
  })
}

var colors = [
  {f:0,b:11},
  {f:0,b:14},
  {f:0,b:15}
]

var clr = colors[Math.floor(Math.random() * ((colors.length-1) - 0 + 1) + 0)]

REPL(clc.xterm(clr.f).bgXterm(clr.b)(' nimoy:0.0.1'))

module.exports = REPL
<commit_msg>cleaunp repl<commit_after>// REPL
var clc = require('cli-color')
var read = require('read')

function REPL (msg) {
  if (msg) console.log(clc.xterm(clr.b)(msg))
  read({}, function handleInput (e,c,d) {
    if (e) console.error(e)
    if (!e) {
      var args = c.match(' ')
      if (args !== null) { 
        c = c.split(' ')
        nimoy[c[0]](c[1],REPL)
      } else {
        nimoy[c](REPL)
      }
    }
  })
}

var colors = [
  {f:0,b:11},
  {f:0,b:14},
  {f:0,b:15}
]

var clr = colors[Math.floor(Math.random() * ((colors.length-1) - 0 + 1) + 0)]
REPL(clc.xterm(clr.f).bgXterm(clr.b)(' nimoy:0.0.1'))
module.exports = REPL

{'fraction_non_alphanumeric': 0.22712933753943218, 'fraction_numerical': 0.028391167192429023, 'mean_word_length': 2.6153846153846154, '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': '1125301', 'n_tokens_mistral': 594, 'n_tokens_neox': 577, 'n_words': 101}