User: Blair Yu -- 2014-08-16 << 1231 1233 >> |
Hits: 3450 |
Type: Text file parser |
Search all Text file parser examples |
Description: |
How to find from an article all words not appeared in a word list? I'am wanna easily find the words that i haven't learned when i open the TXT or WORD or PDF documents. |
Input Sample: |
myword.txt word1 word3 word5 input.txt word1 word2 word3 word4 word5 |
Output Sample: |
output.txt word2 word4 |
Answer: |
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
First of all, prepare a file that contains all words you know, named d:\test\mywords.txt, then: 1. ctrl-o open the new txt article file 2. ctrl-h open 'replace' dialogue * uncheck 'print unmatched unit' option. * set 'search for pattern' to: * set 'replace with pattern' to: * set 'if=>' to: * click 'advanced' tab, set 'run following at the beginning of replace' to: 3. click 'replace', all new words will be found 4. ctrl-s save to result to a new file, such as newwords.txt Note: * in step 2, please use double backslash as folder delimiter such as d:\\test\\mywords.txt. * the mywords.txt can be any english text file with any free format, for example: "This is for test, that is also for test." is equivalant to "This, is, for, test, that, also" |
Screenshot 1: Replace_Window |
Screenshot 2: Replace_Advanced_Window |