RiTa
index
Name setAllowDuplicates()
Class RiMarkov
Description Determines whether calls to generateSentence(s) will return sentences that exist (character-for-character) in the input text(s).

Note: The trade-off here is between ensuring novel outputs and a potential slow-down due to rejected outputs (b/c they exist in the input text.) Use with care as setting this to true for large models may result in excessive memory use.

Syntax
setAllowDuplicates(allowDuplicateSentences);
Returns void
Usage Web & Application
Related