The paper takes 3 functions for computing term similarity, but users may want to provide a lambda. Based on https://github.com/LIAAD/yake/issues/53.