<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -12,7 +12,9 @@ class Model
     @text = text
   end
 
-  def bigrams
+  def bigrams 
+    # if text has &quot;house&quot;, bigrams should return
+    # ['ho', 'ou', 'us', 'se']
     pos = 0
     while pos &lt;= @text.length - 2 
       yield @text[pos, 2]
@@ -23,7 +25,7 @@ class Model
 end
 
 m = Model.new(&quot;the house is very large&quot;)
-print m.bigrams
+puts m.bigrams
 
 # Dir.glob('models/udhr_*').each do |file|
 #   puts file</diff>
      <filename>generate_models.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>61ef9ea92482e52784fe0713bc79d5c918e8bb92</id>
    </parent>
  </parents>
  <author>
    <name>Patrick Hall</name>
    <email>pathall@gmail.com</email>
  </author>
  <url>http://github.com/snifty/whatlang/commit/f998e04dd892719e7ed144e7c8b3f1bb9ead445a</url>
  <id>f998e04dd892719e7ed144e7c8b3f1bb9ead445a</id>
  <committed-date>2008-07-08T16:00:59-07:00</committed-date>
  <authored-date>2008-07-08T16:00:59-07:00</authored-date>
  <message>my broken class, take pity on it</message>
  <tree>d3a4df7a9a11328ff00efdbfea542bbf88a50d80</tree>
  <committer>
    <name>Patrick Hall</name>
    <email>pathall@gmail.com</email>
  </committer>
</commit>
