daily pastebin goal
77%
SHARE
TWEET

Untitled

a guest Jul 18th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. let strings = bookAsString.replacingOccurrences(of: "\n", with: " ").components(separatedBy: " ")
  2. MarkovModel.process(transitions: strings) { matrix in
  3.    print(matrix)
  4. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top