Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

1408.Advanced search and replace -- How to replace words to their original form in a passage?

User: roger -- 2017-12-10          << 1407  1409 >>
Hits: 226
Type: Advanced search and replace   
Search all Advanced search and replace examples
How to replace words to their original form in a passage?
Input Sample:
file e_lemma.txt like:

have --> has, have, having, had 
apple --> apple, apples 

source file like: (Study.txt)
Any organization needs both kinds of people, though different organizations need them in different proportions. It is your task to find out, during your training period, into which of the two kinds of jobs you fit, and to plan your career accordingly....
Output Sample:
output a lemmatized passage in another txt file (study-lemma.txt)

Any organization need both kind of people, though different organization need they in different proportion.It be you task to find out, during you train period, into which of the two kind of job you fit, and to plan you career accordingly....
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. Load e_lemma.txt:
(1) put file e_lemma.txt to d:\test\  and save as ansi type
(2) ctrl-h open replace dialog:
click 'advance' tab, set 'run following at the beginning' to:

(3) click 'replace'.
2. process file
(1) ctrl-o open Study.txt
(2) ctrl-h open 'replace' dialog
* set 'search for pattern' to: 

* set 'replace with pattern to:

* set 'If' to:

(3) click 'replace', done
(4) ctrl-s save to study-lemma.txt

Screenshot 1:  Replace_Advanced_Window

Screenshot 2:  Replace_Window

Similar Examples:
How to count original form of words in a passage? (70%)
How to replace a words with the previous word in the same column? (62%)
How replace the words with specified format by adding a number? (60%)
How to replace the words with its nearest different words in the same column?
How to replace specific words with its previous words in the same column? (57%)
How to replace line that contains no space? (56%)
How to replace old text with new text only in specified range? (55%)
How to replace strings and numbers with new format in multiple files? (55%)

Check Demo of Advanced search and replace
ansi  pass  process  type  values  clear  test  beginning  at the beginning  content  replace original  split words  split line word  beginning if line  split a word  split word  split file word  txt split