Thanks a lot. It compiled on first try and I have been playing with the interactive link-parser, copy/pasting sentences and I am impressed. I will carry on reading to understand how it works and see if I can end up using it.
Please, could you give us a link to the text generation code you mentioned and what is the idea behind it? Jacques. On Mon, Apr 26, 2021 at 12:44 AM Linas Vepstas <[email protected]> wrote: > 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. > > You can download link-grammar from > http://www.abisource.com/downloads/link-grammar/current/ > > The website is here: > https://www.abisource.com/projects/link-grammar/ > > WHAT IS LINK GRAMMAR? > The Link Grammar Parser is a syntactic parser of English (and other > languages as well), based on Link Grammar, an original theory of English > syntax. Given a sentence, the system assigns to it a syntactic structure, > which consists of a set of labeled links connecting pairs of words. > > See the Wikipedia page for more info: > https://en.wikipedia.org/wiki/Link_grammar > > --linas > > > -- > You received this message because you are subscribed to the Google Groups > "opencog" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/opencog/CAHrUA34EHk_m34Ti6Jz%2BzNbd2aG6BL5tahqJTSc9fRMyHZXa0g%40mail.gmail.com > <https://groups.google.com/d/msgid/opencog/CAHrUA34EHk_m34Ti6Jz%2BzNbd2aG6BL5tahqJTSc9fRMyHZXa0g%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "opencog" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/opencog/CA%2B_pmb6hmX%2BvdFvef6NMNEdfEOqjqREtBjrVY%2BpA2VBA2Q5Crg%40mail.gmail.com.
