nl_tokens: Insert commas at randomly selected words . This function modifies values inside <code > words< / code > array
pl_tokens: function insertCommas ( words ) { var len = words . <mask> ; var totalCommas = 0 ; if ( len > 3 && len <= 6 ) { totalCommas = randint ( 0 , 1 ) ; } else if ( len > 6 && len <= 12 ) { totalCommas = randint ( 0 , 2 ) ; } else { totalCommas = randint ( 1 , 4 ) ; } _ . each ( _ . range ( totalCommas ) , function ( ix ) { if ( ix < words . length - 1 ) { words [ ix ] += ',' ; } } ) ; }