[D]Generate similar sentence for the given input sentences. How to do it? • r/MachineLearning
Preface: This technique can be used for shady stuff like Article Spinning, so please don't do that. To generate semantically similar sentences, you can search for nearest word2vec match. If you want to also adhere to the original syntax, then use a sentence parser (so you don't change "Great Britain" into "Good Britain") for correct handling of nouns, verbs, and proper names. "Mark went to the movie yesterday" becomes "Steve came to the film earlier", "Jane has gone to shopping" becomes "Sally had went to mall", and "Mary went to school" becomes "Catherine gone to elementary_schools". Not as much variation as your own examples, but with a little tweaking you should be able to get closer to what you want.
Jan-16-2018, 20:47:12 GMT