conversion of list of words to unique list that is printed out to the dictionary works as does the script generation
fixed merge and created a segment extraction file