def METHOD_NAME(context, words):
    indexes = []
    rem = context.lower()
    offset = 0
    for w in words:
        idx = rem.find(w)
        assert idx >= 0
        indexes.append(idx + offset)
        offset += idx + len(w)
        rem = rem[idx + len(w):]
    return indexes