function processDataItems(items) {
    var processedItems = []
      ;

    // TODO: do stemming here
    items.forEach(function (item, i) {
      processedItems[i] = processString(item);
    });
    return processedItems;
  }
function processDataItems(items) {
    var processedItems = []
      ;

    
    items.forEach(function (item, i) {
      processedItems[i] = processString(item);
    });
    return processedItems;
  }
function processDataItems ( items ) { var processedItems = [ ] ; // TODO: do stemming here items . forEach ( function ( item , i ) { processedItems [ i ] = processString ( item ) ; } ) ; return processedItems ; }
This is terribly named. Process the array of strings into an
array of arrays of words, with them stemmed, etc.
This is terribly named . Process the array of strings into an array of arrays of words with them stemmed etc .