how to generate a set of similar strings in python
<p>I am wondering how to generate a set of similar strings based on <code>Levenshtein distance</code> (string edit distance). Ideally, I like to pass in, a source string (i.e. a string which is used to generate other strings that are similar to it), the number of strings need to be generated and a threshold as parameters, i.e. similarities among the strings in the generated set should be greater than the threshold. I am wondering what <code>Python</code> package(s) should I use to achieve that? Or any idea how to implement this?</p>