def ft_generic_win(fn, fw, fp, *args, **kwargs):
    """Iterates over the list of single features that make up a context
    window feature, and yields them one at a time. This function is the
    default behaviour for context window features.

    Note: If a window feature requires special behaviour, another window
    function needs to be provided and linked to it in the constructor. See
    `fnx` and `win_fnx` attributes in the constructor.

    **FEATURE VECTOR TEMPLATE BUILDING FUNCTION**

    :param fn: function name
    :param fw: context window
    :param fp: additional feature function parameters
    """
    prms = tuple() if fp is None else tuple(fp)
    for i in fw:
        yield (fn, i) + prms
