def lerp(a, b, t):
    if t < 0.0:
        return a
    if t > 1.0:
        return b
    return a + (b - a) * t
Prepare text, striping special chars, HTML tags, prinf vars and extra 
dataset/ETHPy150Open clips/pattern/pattern/metrics.py/lerp--crossover with--dataset/ETHPy150Open rvanlaar/easy-transifex/src/transifex/transifex/txcommon/haystack_utils.py/prepare_solr_query_string