OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-sensory commits / 0efd4dd

Add explanation of the demo
0efd4dd00bab3239603bca2f95440a4d3eb66703
by Linas Vepštas <linasvepstas@gmail.com> · 2025-10-27T05:50:43.000Z

Changed files (1) +13 -0

examples/parse-pipeline.scm +13 -0
……@@ -12,6 +12,19 @@
1212; generates fairly complicated data representations that are
1313; challenging to process.
1414;
15; For each sentence in the input text, the LG parser produces four
16; linkages. This demo uses the `FlatStream` Value to flatten this
17; list, and issue only one linkage at a time.
18;
19; Each linkage is a compund structure, having a list of words, and
20; a list of bonds between words (word-pairs). A FilterLink is used
21; to unwrap this structure, discard the words, and keep the bonds.
22;
23; --------
24; Not implemented her (yet, but appears in main aatomspace demos):
25; Count the number of word-pairs, and compute the MI between them,
26; using nothing but a pure Atomese pipeline, continuing the below.
27;
1528(use-modules (opencog) (opencog exec) (opencog sensory))
1629(use-modules (opencog nlp) (opencog nlp lg-parse))
1730