<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to coding</title><link>https://sourceforge.net/p/sequencetree/wiki/coding/</link><description>Recent changes to coding</description><atom:link href="https://sourceforge.net/p/sequencetree/wiki/coding/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 01 Nov 2011 20:48:55 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/sequencetree/wiki/coding/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage coding modified by Ken Del Signore</title><link>https://sourceforge.net/p/sequencetree/wiki/coding/</link><description>&lt;pre&gt;--- v6 
+++ v7 
@@ -227,51 +227,45 @@
 
 
        boy{          
-       br = is_p G1
-
-            G2 
-           }   
-         
-
-
-//
+       br = is_p G3
+
+            G2 
+           }   
+
+
+
+//
 // process converged, add new sentence
 
 
     boy  walk
+
     boy  G2
-    G1   walk
-    G1   G2
-
-
-
-//
-// original sentences
-
-    man     is
-    woman   is
-    out     is
-    man     walk
-    woman   read
-
-
-//
-// In G2 r_br,  G1 == "man woman out",  so do not need an new Generalization object
-//    same for G1
-
-// iterative process is converged.
-
-// G1 has first word, G2 has second
-
-now introduce more sentences 
-
-    
-    boy walk
-//
-// walk substitutes in G2:
-
-    boy G2
-
-    
+    G3   walk
+    G3   G2
+
+
+       boy{          
+       br = is_p G3
+
+            G2 
+            walk              
+           }   
+
+
+    G3 {               
+    br = is_p  G1
+               boy
+
+          G2
+          walk
+       }    
+
+
+
+
+
+
+
 
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ken Del Signore</dc:creator><pubDate>Tue, 01 Nov 2011 20:48:55 -0000</pubDate><guid>https://sourceforge.net085d046d59e4a8920ad14ed96839688176d41718</guid></item><item><title>WikiPage coding modified by Ken Del Signore</title><link>https://sourceforge.net/p/sequencetree/wiki/coding/</link><description>&lt;pre&gt;--- v5 
+++ v6 
@@ -62,39 +62,51 @@
     G1  read
 
 //
+// "is" object becomes:
+
+               is{
+             G1 =r_br 
+            man  
+          woman
+            out
+                 }
+
+
+//
 // G1 object becomes
 
     G1 {               
     br = is_p  man     
                woman   
-               run
+               out
          is
          walk		     
          read
        }              
 
 //
 // Make G2 from branches in G1
 
     G2 {             
-     br= P_is  is
+     br= is_P  is
                walk 
                read     
         }             
 
 //
 // link objects in G2 back to G2
 
              is{                walk{	               read{	   
             br = is_p G2         br = is_p G2      	br = is_p G2
 
-           man = r_br           man = r_br           woman = r_br
+            G1 = r_br            G1 = r_br              G1 = r_br
+           man                  man                    man
          woman                      }                      }
            out
   	       } 
 
  
 //
 // read sentences again
 
     man     is
@@ -104,18 +116,33 @@
     woman   read
 
 //
-// substitute
+//  rereading "man is" does not add any new branches to any objects in obj_pool
+
+
+//
+// substitute, these sentences will add new branches
 
     man     G2
     woman   G2
     out     G2
     man     G2
     woman   G2
     G1      G2  x5       1st and 2nd word substituted
 
 
 //
-// G2 becomes
+
+      man{                 woman{	       out{   
+      br = is_p G1           br = is_p G1      br = is_p G1
+
+           G2                     G2                g2
+           walk                   read              is 
+           is                     is               }
+          }                      }
+
+
+//
+// G2 and G1 become
 
     G2 {             
      br= is_p  is  
@@ -123,23 +150,116 @@
                read 
     
        G1 = r_br 
       man
     woman
       out
        }             
 
-//
-//  make new object G3 from r_branches in G2
-
-      G3 {             
-       br= is_p  G1
-                 man
-                 woman
-                 out
-          }                
-  
-//
-// G3 == G1, so iterative process is converged, don't need G3
+
+
+    G1 {               
+    br = is_p  man     
+               woman   
+               out
+
+         G2
+         is
+         walk		     
+         read
+       }              
+
+
+
+//
+//  remove duplicate branches
+
+    G2 {             
+     br= is_p  is  
+               walk 
+               read 
+    
+       G1 = r_br 
+       }             
+
+
+
+    G1 {               
+    br = is_p  man     
+               woman   
+               out
+
+         G2
+       }              
+
+
+      man{                 woman{	       out{   
+      br = is_p G1           br = is_p G1      br = is_p G1
+
+           G2                     G2                g2
+          }                      }                 }
+
+
+
+//
+// add sentence
+
+       boy is
+       boy G2
+
+
+    G2 {             
+     br= is_p  is  
+               walk 
+               read 
+    
+       G1 = r_br 
+      boy
+       } 
+
+            
+
+    G3 {               
+    br = is_p  G1
+               boy
+
+          G2
+       }    
+
+
+       boy{          
+       br = is_p G1
+
+            G2 
+           }   
+         
+
+
+//
+// process converged, add new sentence
+
+
+    boy  walk
+    boy  G2
+    G1   walk
+    G1   G2
+
+
+
+//
+// original sentences
+
+    man     is
+    woman   is
+    out     is
+    man     walk
+    woman   read
+
+
+//
+// In G2 r_br,  G1 == "man woman out",  so do not need an new Generalization object
+//    same for G1
+
+// iterative process is converged.
 
 // G1 has first word, G2 has second
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ken Del Signore</dc:creator><pubDate>Tue, 01 Nov 2011 18:43:15 -0000</pubDate><guid>https://sourceforge.net4a12f32e980580ff52a3a44a2366b569bdfb7158</guid></item><item><title>WikiPage coding modified by Ken Del Signore</title><link>https://sourceforge.net/p/sequencetree/wiki/coding/</link><description>&lt;pre&gt;--- v4 
+++ v5 
@@ -143,43 +143,15 @@
 
 // G1 has first word, G2 has second
 
-***************************************************
-
-
-    man sit
-    boy run
-
-//
-// substitute
-
-    G3  sit
-    G3  run
-    G3  G2
-  
-//
-// the G3 object becomes
-
-      G3 {             
-       br= is  G1
-               boy
-               girl
-           sit
-           run
-           G2
-          }                
-
-//
-//  make new object G4 from branches in G3
-
-      G4 {
-       br= is:3  sit
-                 run
-                 G2
-         }                
-
-
-//
-// this iterative process accumulates the verbs in G4
-
-             
+now introduce more sentences 
+
+    
+    boy walk
+//
+// walk substitutes in G2:
+
+    boy G2
+
+    
+
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ken Del Signore</dc:creator><pubDate>Sat, 29 Oct 2011 00:26:55 -0000</pubDate><guid>https://sourceforge.netf8e10c070df70e0d2c78476793cbfa18f5631b60</guid></item><item><title>WikiPage coding modified by Ken Del Signore</title><link>https://sourceforge.net/p/sequencetree/wiki/coding/</link><description>&lt;pre&gt;--- v3 
+++ v4 
@@ -28,111 +28,123 @@
 // form G1 from branches in is
 
     G1 {             
-     br= P_is  man                       "is" = "P_is", a programmatic object
+     br= is_p  man                       "is_p" = a programmatic object
                woman       
                out      
        }                
 
 //
 // insert G1 lemma in all objects contained in G1
 
-     man{	          woman{	       out{   
-      br= P_is G1            br= P_is G1	br= is_p G1
-          walk                   read               is 
-          is                     is               }
-         }                      }
+      man{                 woman{	       out{   
+      br = is_p G1           br = is_p G1      br = is_p G1
+           walk                   read              is 
+           is                     is               }
+          }                      }
 
 //
 // now re-read the sentences
 
     man    is
     woman  is
     out    is
     man    walk
     woman  read
 
 
 //
-// substitution yields:      Substitute() uses P_is object
+// substitution yields:      Substitute() uses is_p object
 
     G1  is
     G1  is
     G1  is
     G1  walk
     G1  read
 
 //
 // G1 object becomes
 
     G1 {               
-     br= P_is  man     
+    br = is_p  man     
                woman   
                run
-               loud     
          is
          walk		     
          read
        }              
 
 //
 // Make G2 from branches in G1
 
     G2 {             
      br= P_is  is
                walk 
                read     
         }             
 
 //
 // link objects in G2 back to G2
 
              is{                walk{	               read{	   
             br = is_p G2         br = is_p G2      	br = is_p G2
 
            man = r_br           man = r_br           woman = r_br
          woman                      }                      }
            out
   	       } 
 
  
 //
-// read more sentences
-
-    boy  run
-    girl cook
-
-//
-//substitute
-
-    boy  G2
-    girl G2
+// read sentences again
+
+    man     is
+    woman   is
+    out     is
+    man     walk
+    woman   read
+
+//
+// substitute
+
+    man     G2
+    woman   G2
+    out     G2
+    man     G2
+    woman   G2
+    G1      G2  x5       1st and 2nd word substituted
+
 
 //
 // G2 becomes
 
     G2 {             
-     br= is:3  run  
-               cook 
-               bark 
+     br= is_p  is  
+               walk 
+               read 
     
-     3:G1 =r_br 
-      boy
-     girl
+       G1 = r_br 
+      man
+    woman
+      out
        }             
 
 //
 //  make new object G3 from r_branches in G2
 
       G3 {             
-       br= is:3  G1
-                 boy
-                 girl
+       br= is_p  G1
+                 man
+                 woman
+                 out
           }                
   
 //
-// this process accumulates the nouns in G3
-
-// read more sentences
+// G3 == G1, so iterative process is converged, don't need G3
+
+// G1 has first word, G2 has second
+
+***************************************************
+
 
     man sit
     boy run
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ken Del Signore</dc:creator><pubDate>Thu, 27 Oct 2011 19:12:47 -0000</pubDate><guid>https://sourceforge.net807561c6d0ab0858c7146437032568cbc8487398</guid></item><item><title>WikiPage coding modified by Ken Del Signore</title><link>https://sourceforge.net/p/sequencetree/wiki/coding/</link><description>&lt;pre&gt;--- v2 
+++ v3 
@@ -5,11 +5,11 @@
 Use "is" verb
 
 
-    man    is
+    man     is
     woman   is
-    out    is
-    man    walk
-   woman    read
+    out     is
+    man     walk
+    woman   read
 
 
 //
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ken Del Signore</dc:creator><pubDate>Thu, 27 Oct 2011 18:34:53 -0000</pubDate><guid>https://sourceforge.net311a92aceee7080a863b0774b5d81c09208abd72</guid></item><item><title>WikiPage coding modified by Ken Del Signore</title><link>https://sourceforge.net/p/sequencetree/wiki/coding/</link><description>&lt;pre&gt;--- v1 
+++ v2 
@@ -6,10 +6,10 @@
 
 
     man    is
-   woman   is
+    woman   is
     out    is
     man    walk
-  woman    read
+   woman    read
 
 
 //
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ken Del Signore</dc:creator><pubDate>Thu, 27 Oct 2011 18:34:22 -0000</pubDate><guid>https://sourceforge.neteee62650862b4c8472b42ef8ebf54ca5137ed65c</guid></item><item><title>WikiPage coding modified by Ken Del Signore</title><link>https://sourceforge.net/p/sequencetree/wiki/coding/</link><description>Same text as previous page, but modify for coding first pass

sequence the following sentences:

Use "is" verb


    man    is
   woman   is
    out    is
    man    walk
  woman    read


//
// "is" has nouns, verbs, adj and adv preceding it,  "out" is noise - not a noun

//
// "is" object is:

               is{
            man =r_br   
          woman
            out
                 }

//
// form G1 from branches in is

    G1 {             
     br= P_is  man                       "is" = "P_is", a programmatic object
               woman       
               out      
       }                

//
// insert G1 lemma in all objects contained in G1

     man{	          woman{	       out{   
      br= P_is G1            br= P_is G1	br= is_p G1
          walk                   read               is 
          is                     is               }
         }                      }

//
// now re-read the sentences

    man    is
    woman  is
    out    is
    man    walk
    woman  read


//
// substitution yields:      Substitute() uses P_is object

    G1  is
    G1  is
    G1  is
    G1  walk
    G1  read

//
// G1 object becomes

    G1 {               
     br= P_is  man     
               woman   
               run
               loud     
         is
         walk		     
         read
       }              

//
// Make G2 from branches in G1

    G2 {             
     br= P_is  is
               walk 
               read     
        }             

//
// link objects in G2 back to G2

             is{                walk{	               read{	   
            br = is_p G2         br = is_p G2      	br = is_p G2

           man = r_br           man = r_br           woman = r_br
         woman                      }                      }
           out
  	       } 

 
//
// read more sentences

    boy  run
    girl cook

//
//substitute

    boy  G2
    girl G2

//
// G2 becomes

    G2 {             
     br= is:3  run  
               cook 
               bark 
    
     3:G1 =r_br 
      boy
     girl
       }             

//
//  make new object G3 from r_branches in G2

      G3 {             
       br= is:3  G1
                 boy
                 girl
          }                
  
//
// this process accumulates the nouns in G3

// read more sentences

    man sit
    boy run

//
// substitute

    G3  sit
    G3  run
    G3  G2
  
//
// the G3 object becomes

      G3 {             
       br= is  G1
               boy
               girl
           sit
           run
           G2
          }                

//
//  make new object G4 from branches in G3

      G4 {
       br= is:3  sit
                 run
                 G2
         }                


//
// this iterative process accumulates the verbs in G4

             

</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ken Del Signore</dc:creator><pubDate>Thu, 27 Oct 2011 18:34:00 -0000</pubDate><guid>https://sourceforge.netd2c5ed58dd654125cec8806b148ee178aeed1f0f</guid></item></channel></rss>