Skip to content

Commit 180898d

Browse files
committed
Spell-check the demos
1 parent 76decb6 commit 180898d

6 files changed

Lines changed: 12 additions & 12 deletions

File tree

examples/foreign/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ in the example above do not need to be defined. A query on this dataset
3232
might be "find all expressions containing the word 'cherry'" or "find
3333
all expressions containing the symbol 'print'". Careful, though: the
3434
goal here is not to just store "source code"; that would be silly. Every
35-
competent programmer has thier favorite tools for searching source code
35+
competent programmer has their favorite tools for searching source code
3636
for certain expressions. The point here is that vast oceans of trees can
3737
be stored, and very complex queries can be performed on the data.
3838
Explcitly, the data is represented as a graph, and the queries are

examples/haskell/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export STACK_YAML=<ATOMSPACE_ROOT>/opencog/haskell/stack.yaml
2121
stack ghci --ghc-options -lhaskell-atomspace
2222
```
2323

24-
If when running an example you get an error: "...cannont open shared object
24+
If when running an example you get an error: "...cannot open shared object
2525
file: No such file or directory ...":
2626
- Remember to add: "/usr/local/lib/opencog" to your */etc/ld.so.conf* file.
2727
- Check if the file: */usr/local/lib/opencog/libhaskell-atomspace.so* exists.

examples/pattern-matcher/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ external stimuli into Atomese predicates.
5858
These "active" link types can be composed to describe processing
5959
pipelines and systems that are both accessible to reasoning and learning
6060
(because they encode "knowledge" of the pipeline) and at the same time,
61-
these processing pipleines can actually "do" whatever it is they are
61+
these processing pipelines can actually "do" whatever it is they are
6262
wired up to do. One can imagine the Atoms as describing pipes or
6363
plumbing, and the values flowing through them as water flowing through
6464
the pipes. The AtomSpace holds the current configuration of the pipes;

examples/pattern-matcher/dot-product.scm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
(Evaluation (Predicate "domestic") (Concept "cat") (CountTruthValue 1 0 5))
2828

2929
; Define a Query that looks for the basis elements on the "dog" and
30-
; "cat" vectors. Once these are found, obtain the counts, and mutiply
30+
; "cat" vectors. Once these are found, obtain the counts, and multiply
3131
; them together.
3232
(define qdot-math
3333
(Query

examples/pattern-matcher/filter-value.scm

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
(Variable "$x"))
7272
(Type 'LinkValue)))
7373

74-
; The sequence of Values to be filterd by above.
74+
; The sequence of Values to be filtered by above.
7575
(ValueOf (Node "some place") (Predicate "some key")))
7676
)
7777

@@ -93,7 +93,7 @@
9393
(Concept "parse")
9494
(Glob "$x"))))
9595

96-
; The sequence of Values to be filterd by above.
96+
; The sequence of Values to be filtered by above.
9797
(ValueOf (Node "some place") (Predicate "some key")))
9898
)
9999

@@ -115,7 +115,7 @@
115115
; Values.) As there was more than one of these globs, a list of them
116116
; were returned (so, a list of lists).
117117
;
118-
; In the below, an addtitional transformation step will be applied:
118+
; In the below, an additional transformation step will be applied:
119119
; a rewrite, to change the general form. For the demo, the rewrite
120120
; will be simple: wrap the results with a label, a ConceptNode,
121121
; and then stick them into a link, and OrderdLink for this demo.
@@ -132,7 +132,7 @@
132132
; Now, for the weird part: it CANNOT be placed into the AtomSpace! It's
133133
; an autogenerated intermediate wrapper, employed in certain special
134134
; cases of pipeline processing of values. It will be printed in the demo
135-
; below; but you will note that none of the created Atoms are actualy
135+
; below; but you will note that none of the created Atoms are actually
136136
; in the AtomSpace. They remain floating, as Values. The demo after
137137
; this will do something with them.
138138
;
@@ -157,7 +157,7 @@
157157
(Glob "$x")))
158158
(OrderedLink (Concept "bunch of edges") (Glob "$x")))
159159

160-
; The sequence of Values to be filterd by above.
160+
; The sequence of Values to be filtered by above.
161161
(ValueOf (Node "some place") (Predicate "some key")))
162162
)
163163

@@ -201,7 +201,7 @@
201201
(Glob "$x")))
202202
(extract (Glob "$x"))) ; The complicate rewrite
203203

204-
; The sequence of Values to be filterd by above.
204+
; The sequence of Values to be filtered by above.
205205
(ValueOf (Node "some place") (Predicate "some key")))
206206
)
207207

@@ -216,7 +216,7 @@
216216
; A list of the keys on that edge:
217217
(cog-keys e)
218218

219-
; The value attache to that key:
219+
; The value attached to that key:
220220
(cog-value e (Predicate "count"))
221221

222222
; Increment again.

examples/pattern-matcher/query.scm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
; results, even while others are still being found.
2121
;
2222
; This example uses an AnchorNode to establish a "well-known location",
23-
; a QueryLink to attache them there, and a DeleteLink to detach results
23+
; a QueryLink to attach them there, and a DeleteLink to detach results
2424
; from the AnchorNode. The ParallelLink is used to run multiple threads,
2525
; and SleepLink to slow it down enough to see what is happening.
2626
;

0 commit comments

Comments
 (0)