Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

1118.Regular expression replace -- How to split words into 44 phonemes automatically?

User: Colin -- 2013-08-22          << 1117  1119 >>
Hits: 1622
Type: Regular expression replace   
Search all Regular expression replace examples
Description:
I am wanting to split 3000 words into their characters
I have a big long list and want to generate a csv, I'd like to be able to split up my words into the 44 phonemes:
a, e, i, o, u, ae, ee, ie, oe, ue, oo, ar, ur, or, au, er, ow, oi, air, ear, b, d, f, g, h, j, k, l, m, n, p, r, s, t, v, w, wh, y, z, th, th, ch, sh, zh and n

Is it possible?
Input Sample:
church
sea
pie
king
...
Output Sample:
ch,ur,ch
s,ea
p,ie
k,ing
...
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-o open text file
2. ctrl-h open 'replace' dialogue
* set 'search for pattern' to:

* set 'replace with pattern' to:

3. click 'replace', done.

Note: 
* in step 2, you must put the longer phonemes before shorter ones, since they have high priorities.
* the phonemes you provided do not include "ea" and "ing", so "sea" will be "s,e,a", and "king" become "k,i,n,g"

Screenshot 1:  Replace_Window


Similar Examples:
How to capitalize the first words of each sentence automatically? (64%)
How to detect encoding type of a text file automatically? (60%)
How to split one line into two lines from middle? (56%)
How to convert all the phrases to the Abbr automatically? (56%)
How to import a list of urls to IE favorate automatically? (56%)
How to split every file in a directory automatically? (56%)
How to extract tables from html files into csv file automatically? (55%)
How to change network configuration files automatically? (54%)

Check Demo of Regular expression replace
Keywords:
big  shorter  phone  short  not include  include  split words  ies  split word  automatically  big text  2 44  split text to csv  split csv  csv split  generate text a z  generate words  th words list