diff options
-rw-r--r-- | markov.lpr | 1 | ||||
-rw-r--r-- | markov.lps | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -71,6 +71,7 @@ begin reset(f); while not eof(f) do begin readln(f,s); + s:=s+' '; // lf ends a word, too current:=0; // reset current index for i:=1 to length(s) do begin current:=current*(length(i2c)+1) mod length(probabilities); @@ -7,9 +7,8 @@ <Unit0> <Filename Value="markov.lpr"/> <IsPartOfProject Value="True"/> - <IsVisibleTab Value="True"/> <TopLine Value="54"/> - <CursorPos X="40" Y="78"/> + <CursorPos X="37" Y="74"/> <UsageCount Value="23"/> <Loaded Value="True"/> </Unit0> @@ -34,6 +33,7 @@ <Unit3> <Filename Value="generate-random-word-from-wikipedia.sh"/> <IsPartOfProject Value="True"/> + <IsVisibleTab Value="True"/> <EditorIndex Value="3"/> <CursorPos X="55" Y="30"/> <UsageCount Value="23"/> |