scripts/dictionary_tools.py
def translate_noetic(s):
    """M:.O:.-O:.O:.-B:.T:.n.-' => s.M:O:.O:O:.-"""
    subst, attr, mode = s
    return m(script('s.'),
             m(subst.children[0].children[0], subst.children[1].children[0]),
             m(attr.children[0].children[0], attr.children[1].children[0]))
def translate_noetic(s):
    """M:.O:.-O:.O:.-B:.T:.n.-' => s.M:O:.O:O:.-"""
    subst, attr, mode = s
    return m(script('s.'),
             m(subst.children[0].children[0], subst.children[1].children[0]),
             m(attr.children[0].children[0], attr.children[1].children[0]))
def translate_noetic ( s ) : subst , attr , mode = s return m ( script ( 's.' ) , m ( subst . children [ 0 ] . children [ 0 ] , subst . children [ 1 ] . children [ 0 ] ) , m ( attr . children [ 0 ] . children [ 0 ] , attr . children [ 1 ] . children [ 0 ] ) )
M:.O:.-O:.O:.-B:.T:.n.-' => s.M:O:.O:O:.-
M : . O : . - O : . O : . - B : . T : . n . - = > s . M : O : . O : O : . -