Loads a previously saved Markov model. Auto-detects the format:
If
fileis a directory, reads the .gsm directory formatIf
fileis a file, tries ZIP .gsm format first, then falls back to legacy RDS format
Details
A .gsm model saved by a misha version whose gsynth.save did not
store the iterator has none: before gsynth.sample or
gsynth.score can use a stratified model, set
model$iterator to the iterator used in gsynth.train.
An unstratified model samples without it.