I'm proud to announce that a new version 5.9.0 of the Link Grammar system is now available. It contains a fairly long list of fixes, and one rather notable new feature: it can now generate sentences!
Sentence generation proceeds through a fill-in-the-blanks procedure, where, given a sentence template with wild-cards in it, the dictionary will be combed for any words that could be placed there that will result in grammatical sentences. This is being actively used in the language-learning project to generate new random corpora (that contain grammatically valid sentences according to the specified grammar. In this way, the grammar that is learned can be compared to the grammar used to generate the corpus.)
This new sentence generation utility is experimental. It's not available on all platforms; it may be buggy; it may not have the features you want; the API may change at any time for any reason. For those who once looked at OpenCog's surreal and microplanning systems for sentence generation, this might offer a faster, more performant version thereof.
Here's the ChangeLog for this release:
Version 5.9.0 (25 April 2021)
* Use #define for custom configuration in dictionaries. #1128
* Panic-mode fixes and extensions. In link-parser see !help panic_variables.
* English dict: fix silly mistake with "I love cats and dogs".
* Disable maintainer-mode in `
configure.ac`.
* Fix very rare crash/corruption introduced in v.5.8.1 #1142
* English dict: fix problems with "just/only".
* English dict: work on hesitation markers.
* Fix multi-threading mem-leak. #1149
* Provide emscripten javascript wrapper for the command-line parser.
* Public API shared library entry points exported automatically. #1182
* Provide bindings for the Vala programming language.
* Increase number of allowed idiom expressions. #1187
* Replace O(n^2) idiom loading algo by an O(n log n) algo. #1194
* Disable SAT solver by default.
* New tool: Sentence generator! This is an experimental prototype.
--linas