scripts/dictionary_tools.py
def _insert_f_additive(s):
    """i.B:.-+u.M:.-O:.-' => i.f.B:.-+u.f.M:.-O:.-'"""
    subst, attr, mode = s
    assert isinstance(mode, NullScript)

    if isinstance(subst, AdditiveScript):
        subst = AdditiveScript([_insert_attr_f(_s) for _s in subst])
    else:
        subst = _insert_attr_f(subst)

    return m(subst ,attr)
def _insert_f_additive(s):
    """i.B:.-+u.M:.-O:.-' => i.f.B:.-+u.f.M:.-O:.-'"""
    subst, attr, mode = s
    assert isinstance(mode, NullScript)

    if isinstance(subst, AdditiveScript):
        subst = AdditiveScript([_insert_attr_f(_s) for _s in subst])
    else:
        subst = _insert_attr_f(subst)

    return m(subst ,attr)
def _insert_f_additive ( s ) : subst , attr , mode = s assert isinstance ( mode , NullScript ) if isinstance ( subst , AdditiveScript ) : subst = AdditiveScript ( [ _insert_attr_f ( _s ) for _s in subst ] ) else : subst = _insert_attr_f ( subst ) return m ( subst , attr )
i.B:.-+u.M:.-O:.-' => i.f.B:.-+u.f.M:.-O:.-
i . B : . - + u . M : . - O : . - = > i . f . B : . - + u . f . M : . - O : . -