Fetch the first word in the KB dictionary hierarchy.
wordConcept = dictfirst()
wordConcept - type: con
The first word-concept in lexicographic traversal of the KB dictionary hierarchy.
The dictionary is a specialized part of the KB hierarchy used to store and lookup words. dictfirst and dictnext provide a convenient way to traverse the dictionary without worrying about the details of its implementation. (I.e., the presence of layers of dictionary indexing concepts.)
L("con") = dictfirst();
"output.txt" << conceptname(L("con") << "\n";
L("con") = dictnext(L("con"));
Prints a list of the dictionary entries, one per line.
dictnext, Knowledge Base Functions