By the way, you don't need to write code to output scheme files. You can
just add atoms to the AtomSpace and then call
      atomspace.print_list()
 in python to output all atoms in scheme file. running
      print atom
will print one atom.

On Wed, Dec 4, 2013 at 12:51 PM, Cosmo Harrigan <notifications@github.com>wrote:

> In opencog/python/conceptnet/to_scm.py:
>
> > +
> > +# This code creates a scheme file, after inputing the address to a conceptnet
> > +#  csv file dump. The conceptnet csv file should be in the same folder as this
> > +# script. Make sure you add '.scm' when inputting the name for the scheme
> > +# output file. The output file will be in the same folder as the script
> > +
> > +from opencog.atomspace import TruthValue
> > +import reader
> > +import term
> > +
> > +corpus_path = ""
> > +corpus_dict = {}
> > +conceptnet_dict = {}
> > +twf = 0
> > +# ConceptNet relation to Opencog Link mappings
> > +map_dict1 = {"/r/ConceptuallyRelatedTo": "IntensionalSimilarityLink",
>
> @AmeBel <https://github.com/AmeBel> let me know your thoughts regarding
> this suggestion. Thanks.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/opencog/opencog/pull/403/files#r8083742>
> .
>