Need simple python perl or bash script ASAP !!

Completado Publicado hace 6 años Pagado a la entrega
Completado Pagado a la entrega

I have folder containing many small files... I need a script that will for every file run the following commands:

1. text is in such format:

okreœlenie;;

tej;;

wiêkszoœci;;

podwójn¹;;

wiêkszoœci¹;;

g³osów;;

i;;

stosowanie;;

podwójnej;;

wiêkszoœci;;

w;;

odniesieniu;;

do;;

wszystkich;;

rozstrzygniêæ;;

zgromadzenia;;

.;;

proponuje;;

siê;;

aby;;

zarz¹d;;

zwi¹zku;;

metropolitalnego;;

liczy³;;

piêciu;;

cz³onków;;

zamiast;;

trzech;;

aby;;

unikn¹æ;;

sytuacji;;

patowej;;

.;;

I need to have one sentence per line so remove ;; and put new line only when we see .;; and save each file to <old_file_name>.1spl

2. Then we convert it from WINDOWS-1250 to UTF and save as <old_file_name>.[login to view URL]

3. do on each file command: /home/nlp/opt/moses/bin/moses -f /home/nlp/Downloads/SMT_NORM/TAGG/model/moses.ini.1 < <old_file_name>.[login to view URL] > <old_file_name>.[login to view URL]

I need it asap

Bash Scripting Linux Perl Python UNIX

Nº del proyecto: #15410316

Sobre el proyecto

2 propuestas Proyecto remoto Activo hace 6 años

Adjudicado a:

$35 USD en 1 día
(60 comentarios)
5.4

2 freelancers están ofertando un promedio de $30 por este trabajo

rsdsoftsl

Hello. Can develop PHP script which process files, converts from win-1250 to utf and run command you mentioned in an 1-2 hours. If it is ok for you ready to start right now. Relevant Skills and Experience php, data pr Más

$25 USD en 0 días
(47 comentarios)
5.7