OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-sensory commits / 27c6e8e

More counting work
27c6e8ef0745142aab29ca6d490cacd4380077fe
by Linas Vepštas <linasvepstas@gmail.com> · 2025-10-29T06:00:21.000Z

Changed files (1) +12 -0

examples/parse-pipeline.scm +12 -0
……@@ -174,6 +174,18 @@
174174; Sniff test. Does it work?
175175; (cog-execute! counter)
176176
177; Create the anchor for the word bonds
178(cog-execute!
179 (SetValue (Anchor "parse pipe") (Predicate "counted bonds")
180 (DontExec counter)))
181
182; Anchor reference
183(define counted-stream
184 (ValueOf (Anchor "parse pipe") (Predicate "counted bonds")))
185
186; Sniff test. Does it work?
187; (cog-execute! counted-stream)
188
177189
178190; --------------------------------------------------------
179191; The End! That's All, Folks!