<commit_before>#!/usr/bin/env node

var fake = require('faker');

/*
var showUsage = function() {
  console.log("wordArray: #");
}

var bioSize = function() {
    return (Math.floor(Math.random() * 1500) +1)
}
*/

var userBio = function(input) {
  wordArray = [];

  var bioSize = function() {
    return (Math.floor(Math.random() * 1500) +1)
  }

  for (var i=0; i<bioSize(); i++) {
    wordArray[i] = fake.hacker.noun();
  };
  return(wordArray);
}

console.log(userBio());<commit_msg>userBio, final! :)<commit_after>#!/usr/bin/env node

var fake = require('faker');

/*
var showUsage = function() {
  console.log("wordArray: #");
}

var bioSize = function() {
    return (Math.floor(Math.random() * 1500) +1)
}
*/

var userBio = function(input) {
  wordArray = [];

  var bioSize = function() {
    return (Math.floor(Math.random() * 1500) +1)
  }

  for (var i=0; i<bioSize(); i++) {
    wordArray[i] = fake.hacker.noun();
  };
  return(wordArray);
}

someBio = userBio();
rawBio = wordArray.toString();
finalBio = rawBio.replace(/,/g, " ");

console.log(finalBio);

//console.log(userBio());
{'fraction_non_alphanumeric': 0.20985401459854014, 'fraction_numerical': 0.020072992700729927, 'mean_word_length': 3.728448275862069, 'pattern_counts': {'":': 0, '<': 5, '<?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': '7263677', 'n_tokens_mistral': 445, 'n_tokens_neox': 411, 'n_words': 80}