Hi Vishvaso,I like to replace first consonant in conjunct consonants witha underline consonant in roman transliterated Indic text language.for examplekiss bulk hind pyaar kyaa kranti mukhya inglish tren drive patni buddha >>>>>kis̠s bul̠k hin̠d pyaar k̠ranti muk̠ya in̠g̠lisht̠ren d̠rive pat̠ni bud̠dhaPlease correct this RE and rewrite a text replacing regular expression.([b,d,f,g,h,j,k,l,m,n,p,r,s,t,v,w,x,y,bh,dh,gh,ch,jh,ph,sh])([b,d,f,g,h,j,k,l,m,n,p,r,s,t,v,w,x,y,bh,dh,gh,ch,jh,ph,sh])>>>$1([b̠,d̠,f̠,g̠,h̠,j̠,k̠,l̠,m̠,n̠,p̠,r̠,s̠,t̠,v̠,w̠,x̠,y̠,b̠h,d̠h,g̠h,c̠h,j̠h,p̠h,s̠h])$2([b,d,f,g,h,j,k,l,m,n,p,r,s,t,v,w,x,y,bh,dh,gh,ch,jh,ph,sh])(consonants)(consonants) >$1 (first consonants with underline)(consonants)Thanks,kenusa
--
You received this message because you are subscribed to the Google Groups "sanskrit-programmers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sanskrit-programmers+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
sed 's/\([kgcjTDtdpbsSx]\)h/\1⁜/g; s/\([kgcjTDNtdnpbmyrlLvwsShRx]\)\(⁜*\)\([kgcjTDNtdnpbmyrlLvwsShRx⁜]*\)\([kgcjTDNtdnpbmyrlLvwsShRx]\)/\1̠\2̠\3̠\4/g; s/̠̠/̠/g; s/\([kgcjTDNtdnpbmyrlLvwsShRx⁜]\)\([kgcjTDNtdnpbmyrlLvwsShRx⁜]\)̠/\1̠\2̠/g; s/⁜/h/g;' ./input.txt > ./output.txt
sed 's/\([kgcjTDtdpbsSx]\)h/\1⁜/g;
s/\([kgcjTDNtdnpbmyrlLvwsShRx]\)\(⁜*\)\([kgcjTDNtdnpbmyrlLvwsShRx⁜]*\)\([kgcjTDNtdnpbmyrlLvwsShRx]\)/\1̠\2̠\3̠\4/g;
s/̠̠/̠/g; s/\([kgcjTDNtdnpbmyrlLvwsShRx⁜]\)\([kgcjTDNtdnpbmyrlLvwsShRx⁜]\)̠/\1̠\2̠/g; s/⁜
̠/⁜/g;
s/⁜/h/g;' ./input.txt > ./output.txt
s/⁜/h/g;
part in above command