Fetch the word after the given word in the KB dictionary hierarchy.
wordConcept = dictnext(currwordConcept)
wordConcept - type: con
currwordConcept - type: con
The next 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.)
@CODE
L("con") = dictfirst();
while (L("con"))
{
"output.txt" << conceptname(L("con") << "\n";
L("con") = dictnext(L("con"));
}
Prints a list of the dictionary entries, one per line.