コード例 #1
0
    "opencog/nlp/types/nlp_types.scm",
    "opencog/dynamics/attention/attention_types.scm",
    "opencog/embodiment/AtomSpaceExtensions/embodiment_types.scm",
    "opencog/learning/pln/pln_types.scm",
    "opencog/scm/apply.scm",
    "opencog/scm/file-utils.scm",
    "opencog/scm/persistence.scm",
    #"opencog/scm/repl-shell.scm",
    "opencog/scm/utilities.scm",
    "opencog/scm/av-tv.scm",
    "opencog/nlp/scm/type-definitions.scm",
    "opencog/nlp/scm/config.scm",
    "opencog/nlp/scm/file-utils.scm",
    "opencog/nlp/scm/nlp-utils.scm",
    "opencog/nlp/scm/disjunct-list.scm",
    "opencog/nlp/scm/processing-utils.scm",
    "opencog/nlp/scm/relex-to-logic.scm",
    "opencog/nlp/anaphora/tests/atomspace.log"
]
#status2 = load_scm(atomspace, "opencog/nlp/anaphora/tests/atomspace.scm")

for item in data:
    load_scm(atomspace, item)

#init=initAgent()
#init.run(atomspace)
dump = dumpAgent()
dump.run(atomspace)
hobbsAgent = HobbsAgent()
hobbsAgent.run(atomspace)
コード例 #2
0
ファイル: testingAgent.py プロジェクト: sumansai14/opencog
      "spacetime/spacetime_types.scm",
      "opencog/nlp/types/nlp_types.scm",
      "opencog/dynamics/attention/attention_types.scm",
      "opencog/embodiment/AtomSpaceExtensions/embodiment_types.scm",
      "opencog/scm/apply.scm",
      "opencog/scm/file-utils.scm",
      "opencog/scm/persistence.scm",
      #"opencog/scm/repl-shell.scm",
      "opencog/scm/utilities.scm",
      "opencog/scm/av-tv.scm",
      "opencog/nlp/scm/type-definitions.scm",
      "opencog/nlp/scm/config.scm",
      "opencog/nlp/scm/file-utils.scm",
      "opencog/nlp/scm/nlp-utils.scm",
      "opencog/nlp/scm/disjunct-list.scm",
      "opencog/nlp/scm/processing-utils.scm",

      "opencog/nlp/anaphora/tests/atomspace.log"
    ]
#status2 = load_scm(atomspace, "opencog/nlp/anaphora/tests/atomspace.scm")

for item in data:
    load_scm(atomspace, item)

#init=initAgent()
#init.run(atomspace)
dump=dumpAgent()
dump.run(atomspace)
hobbsAgent = HobbsAgent()
hobbsAgent.run(atomspace)