Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -4,7 +4,7 @@
|
|||
* Keep account of what words follow words and how many times it is seen, (treat sentence terminators as words too).
|
||||
* Keep account of what words follow ''two'' words and how many times it is seen, (again treating sentence terminators as words too).
|
||||
* Assume that a sentence starts with a not to be shown full-stop character then ''use a weighted random choice'' of the possible words that may follow a full-stop to add to the sentence.
|
||||
* Then repeatedly add words to the sentence based on weighted random choices of what words my follow the last two words to extend the sentence.
|
||||
* Then repeatedly add words to the sentence based on weighted random choices of what words may follow the last two words to extend the sentence.
|
||||
* Stop after adding a sentence ending punctuation character.
|
||||
* Tidy and then print the sentence.
|
||||
|
||||
|
|
@ -14,4 +14,3 @@ Show examples of random sentences generated.
|
|||
;Related task
|
||||
* [[Markov_chain_text_generator]]
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue