Skip to content

Commit

Permalink
Update README with minimum word information.
Browse files Browse the repository at this point in the history
  • Loading branch information
colinfike committed Jan 25, 2020
1 parent 7241725 commit 04186cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ Install Mimic
go get github.com/colinfike/mimic
```

Generate a new MarkovChain object.
Generate a new MarkovChain object, passing in the minimum amount of words required in a training sentence for it to be processed.

```Go
markov := mimic.NewMarkovChain()
markov := mimic.NewMarkovChain(4)
```

Train it with sentences.
Expand Down

0 comments on commit 04186cf

Please sign in to comment.