Fixes removing the irrelevant words: here is one simple usage:
output= ReadSplitCosmosLogs('C:\Users\max\OneDrive\Stanford\CS229\Project\Samples\en_us_CortanaSessionQueriesWithInputType_20140925_20141004.txt',1,2,3,13);
outputtemp = ReplaceSubStrings(output(1:3,7), 'in out are sex a or you girl')