
from __future__ import print_function
from pprint import pprint
# from pln.examples.deduction import deduction_agent
from opencog.atomspace import types, AtomSpace, TruthValue
from agents.hobbs import HobbsAgent
from agents.dumpAgent import dumpAgent
from opencog.scheme_wrapper import load_scm,scheme_eval_h, scheme_eval, __init__

__author__ = 'Hujie Wang'

'''
This agent is purely for testing purposes, which can be used to test hobbsAgent in a standalone atomspace environment.
'''

atomspace = AtomSpace()
# __init__(atomspace)
scheme_eval(atomspace,  "(use-modules (opencog) (opencog exec))")
scheme_eval(atomspace,  "(use-modules (opencog nlp))")



data=["opencog/scm/config.scm",
      "opencog/scm/core_types.scm",
      "spacetime/spacetime_types.scm",
      "opencog/nlp/types/nlp_types.scm",
      "opencog/attention/attention_types.scm",
      "opencog/embodiment/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)


from __future__ import print_function
from pprint import pprint
# from pln.examples.deduction import deduction_agent
from opencog.atomspace import types, AtomSpace, TruthValue
from agents.hobbs import HobbsAgent
from agents.dumpAgent import dumpAgent
from opencog.scheme_wrapper import load_scm,scheme_eval_h, scheme_eval, __init__

__author__ = 'Hujie Wang'

'''
This agent is purely for testing purposes, which can be used to test hobbsAgent in a standalone atomspace environment.
'''

atomspace = AtomSpace()
# __init__(atomspace)
scheme_eval(atomspace,  "(use-modules (opencog) (opencog exec))")
scheme_eval(atomspace,  "(use-modules (opencog nlp))")

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

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

Remove super-stale file paths