Do you think something's wrong with it?


On Mon, Nov 25, 2013 at 5:16 PM, Cosmo Harrigan <notifications@github.com>wrote:

> In opencog/python/conceptnet/to_scm.py:
>
> > +		return stv
> > +	except KeyError:
> > +		if ("  "+ word.upper()) in  corpus_dict:
> > +			stv.mean = float(corpus_dict[("  "+ word.upper())])/twf
> > +			stv.count = .95 # have no reason for this value
> > +			conceptnet_dict[word] = stv
> > +			return stv
> > +		else:	
> > +			stv.mean = 1/(twf + 1)
> > +			stv.count = .95  # have no reason for this value
> > +			conceptnet_dict[word] = stv
> > +			return stv
> > +		
> > +
> > +def write_file(cn_assertion, context): # assertion is a list
> > +	DEFAULT_TV = TruthValue(1,0.5) # 0.5 confidence is used(for links) because that is the weight given to most of the assertions on ConceptNet
>
> I'm still curious what your thoughts are about this.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/opencog/opencog/pull/403/files#r7885527>
> .
>



-- 
Ben Goertzel, PhD
http://goertzel.org

"In an insane world, the sane man must appear to be insane". -- Capt. James
T. Kirk