I'm trying to create many variable sentences. I've been doing this manually:
Original sentence:
"The fat cat was rampaging across the desert under the hot sun when he spotted a cactus which turned out to be a mirage"
Variable sentence:
"The fat $$$$ was rampaging across the desert under the hot sun when he spotted a cactus which turned out to be a mirage"
Get that? the variable sentences will be used for something else, but anyway, I need a program that can run through a list of sentences and one by one, replace a single word in the sentence with $$$$. Unless I used a dictionary, it wouldnt know what to replace, so id have it replace something, and if it didnt make sense, id click like "change" or "refresh" until it made sense, then click "ok" where the sentence would output into some designated text file. It would run through all the sentences and finish. I just need a place to start. Thanks :)
You put a list of sentences in the source code in the program before booting it.
The program will take each sentence, one by one, and replace one word in that sentence with the variable "$$$$" and display the sentence to you.
If the sentence would make sense if any noun was in the place of the "$$$$" then its all set and you enter/click "ok" to continue to the next sentence.
If it doesnt make sense (putting a noun in for where $$$$ replaced), aka it replaced a verb or an adjective, click/enter something like "change" or "refresh" to select a new word, until it makes sense.
Ahh, so there is a criteria!
It should only replace 1 noun with $$$$.
You can completely automate the task with a word list. If look a bit around the Internet, I'm sure you'll find one.
Oh by the way, the reason I said there wasn't criteria was because I basically dropped the "pick-a-noun" idea after someone told me to basically download a dictionary lol.
It's not as hard as you think to find a word list. I've compiled one with 145868 entries without much effort. I could send it to you, but it's not categorized, so it wouldn't do you any good.