1. A computer-implemented method for applying a given paraphrase alternation pattern to an input string, the method comprising: generating a language model; and applying the language model to determine how to apply the given paraphrase alternation pattern to the input string.