|User: Aaron -- 2015-07-01 << 1308 1310 >>|
|Type: Random word generator|
|Search all Random word generator examples|
|I would like to use a variation of number 785 that replaces words in a text file from a word list with synonyms and phrases.|
| The men and women were walking down the street enjoying the evening. |
rand_str(1,'ladies','girl friends','pretty women','female friends')
There can be a large number of words to replace with a large synonym word/phrase list.
|Possible output: |
The gents and ladies were walking down the sidewalk enjoying the evening. etc.
The boy friends and girl friends were walking down the boulevard enjoying the evening. etc.
|Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.|
|1. prepare a text file word_replace.txt with following format: |
2. open "Tools->Batch Runner" menu
3. drag multiple text files for replace to "Batch Runner" window
4. click "Fast Replace" button, click "import" to import the defined "word_replace.txt"
5. make sure "reg exp", "cross line" and "whole word" options are checked, click "replace", done.
Screenshot 1: Fast_Replace_Window