public Assertion(Notion left, Associator relation, Notion right) { id = 0; this.left = left; this.relation = relation; this.right = right; score = 1; sentence = relation.Express(left.Canonical, right.Canonical); }
public Assertion(int id, Notion left, Associator relation, Notion right, int score, string sentence) { this.id = id; this.left = left; this.relation = relation; this.right = right; this.score = score; this.sentence = sentence; }
public static Concept ConceptNetGetConcept(Memory memory, Verbs verbs, Notion notion, Concept.Kind kind) { if (kind == Concept.Kind.Event) return memory.NewConcept(verbs.InputToBase(notion.Canonical), kind); else return memory.NewConcept(notion.Canonical, kind); }