splited words filter

checked on everything besides of relevant input