Changed all edu.stanford.nlp.util.Filter code reference to java.util.function.Predicate and java.io.Serializable