A script that would parse .txt files into smaller files

I have 100 .txt files with several doctor’s notes in each file.

Each note ends with a line that says: "signed by Dr. Name Last name text text text"

Some of the text in the file is highlighted by having a --<({ text text text })>-- annotation.

This annotated text signifies Positive status for a disease.

I need a script that will take a set of 100 .txt files and:

1. Parse each file into smaller files each with one note only, by identifying the lines with

“signed by Dr. Name Last name text text text.”

2. Then, create a list with the file-names, and disease-status (i.e., if there is highlighted text in the file the file is ‘positive’ else it is ‘negative’).

3. For each note that is positive create now two files:

a. A file with only the highlighted text ( --<({ text text text })>-- )

b. A file with the rest of the text.

The end product should be:

1. A set of files each contacting a single doctor’s note.

2. A table with the file names and the status of disease (1=positive, 0=negative)

3. A set of files each containing only highlighted text.

4. A set of files each containing only non-highlighted text.

* Highlight markings (i.e., --<({ })>-- ) should be removed.

* Any line beginning with “signed by” should be removed

Compétences : Architecture Logicielle

Voir plus : script doctor, txt, parse, parse and, parse table, parse lines file, table parse, parse rest, create doctor, doctor software, table create script, txt files, parse table text file, 100 product names, parse text text file, software script architecture, software parse file, script parse file, script list files, list txt, list names txt, annotation script, doctor list, script annotation, last 100 lines text file

Concernant l'employeur :
( 0 commentaires ) Israel

N° du projet : #2338040

5 freelance ont fait une offre moyenne de 168 $ pour ce travail


Quality work assured. Ready to get started. Thanks.

250 $ USD en 1 jour
(72 Commentaires)

I can do this for you. See PM for details.

90 $ USD en 1 jour
(74 Commentaires)

I have experience in scripting, I can do this job.

200 $ USD en 4 jours
(13 Commentaires)

Please find details of the proposal in your pmb

200 $ USD en 3 jours
(3 Commentaires)

Hi. I have experience in parsing text files. I can create Windows application that will do your work. If you send a sample file then I can create a demo for you to test. Regards.

100 $ USD en 2 jours
(10 Commentaires)

Hi I can do this job. I am ready to start now. I'll wait for your reply. Thanks

70 $ USD en 2 jours
(1 Commentaire)