// Generate random words text strings of random lengths
#include <iostream>
#include <fstream>

using namespace std;

int main ( void )
{
 ofstream out;
 
 out.open("word_list.txt");

 srand(time(NULL)); // seed random number gen
 
 for ( int i = 1; i <= 15000000; i++ )
 {
    int length = (rand() % 8)+1;
    string s = "";
    
    for ( int x = 0; x < length; x++ )
    {
      char c = (rand() % 26)+65;
      s += c;
    }
    
    out << s << endl;
 }

 out.close();
 return EXIT_SUCCESS;
}