ApiData().GetBindingTypeModifier

Returns the numeric weighting modifier for a particular Conceptual relationship type.

Description

This function returns the connection strength between Concepts bound by the given type. Note that if the Binding Type does not exist, it will be created, and given a default modifier of the 0.0 halt condition.

Example Usage (C#)


float modifier = _core.ApiData().GetBindingTypeModifier(“synonym”);

Parameters

string

bindingType

The string representing the Binding Type or a variable containing the name of the Binding Type.

The current exposed lexical Binding Types are

  • ”root”
  • ”synonym”, “synonymSibling”
  • ”antonym”
  • ”similar”, “similarSibling”
  • ”different”
  • ”related”, “relatedSibling”
  • ”unrelated”
  • ”child”, “sibling”, “parent”
  • ”plural”, “singular”
  • ”misspelling”, “correction”
  • ”verbal”, “written””

The current exposed Conceptual Binding Types are loosely based on the MIT MediaLab’s ConceptNet

  • ”relatedTo”, “thematic”, “superThematic”
  • ”isA”, “propertyOf”, “partOf”, “madeOf”, “definedAs””
  • ”capableOf””
  • ”prerequisite”, “firstEvent”, “eventOf”, “lastEvent””
  • ”location””
  • ”effect”, “desirousEffect””
  • ”usedFor”, “action””
  • ”motivation”, “desire””

And finally

  • ”unknown”, “invalid””

Returns

The number representing a scalar multiplier for the connection type, with a value of 0.0 indicating a halt condition

ApiData()