Ejemplo n.º 1
0
 def __init__(self, **args):
   Controller.__init__(self, **args)
   self.routine_codelets_to_add = ((CF_ReadFromWS, 30, 0.3),
                                   (CF_RemoveSpuriousRelations, 30,
                                    FLAGS.seqsee_remove_spurious_relation_probability))
   self.workspace.InsertElements(*FLAGS.sequence)
   self.unrevealed_terms = FLAGS.unrevealed_terms
Ejemplo n.º 2
0
 def __init__(self, items):
   Controller.__init__(self, ui=None)
   workspace = self.workspace = Workspace()
   self.ltm = LTMGraph()
   workspace.InsertElements(*items)