This adds the filterLongWords function.