OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-agents commits / 1195a29

Done with the pair-parser
1195a297ab7cc97bb0ef0ef1c95d7774b121e2a5
by Linas Vepštas <linasvepstas@gmail.com> · 2024-05-03T14:40:38.000Z

Changed files (2) +4 -2

scm/pair-agent/README.md +3 -1
……@@ -14,7 +14,7 @@ stream is a stand-in for generic agent motor control: after seeing and
1414environment.
1515
1616## Pair counting agent
17Prototype proof of concept. Implemented in `pair-agent.scm`.
17Prototype proof of concept. Implemented in `pair-agent.scm`. Works.
1818Based on demo in `examples/pair-count.scm`, which explains it in detail.
1919Counts word-pairs, observed by looking at a text file. The Sensory API
2020(implemented in `(use-modules (opencog sensory))`) is general enough to
……@@ -23,6 +23,8 @@ allow arbitrary text sources, including chat.
2323The dataflow pipeline is hand-crafted. The sensory API is supposed to
2424eventually auto-build these pipelines, but that code is not working yet.
2525
26The hand-crafted pipe works fine. Try it.
27
2628### Design Notes
2729Here's the design we want for the pair-counting agent:
2830
scm/pair-agent/count-agent.scm +1 -1
……@@ -130,7 +130,7 @@
130130; Run the above demo:
131131; (obs-file "/tmp/demo.txt")
132132;
133; Look at results
133; Look at results. Poke around, look at counts.
134134; (cog-report-counts)
135135; (cog-execute! (ValueOf (Word "is") (Predicate "count")))
136136; (cog-execute! (ValueOf