A script that would parse .txt files into smaller files

Анульовано Опубліковано %project.relative_time Оплачується при отриманні
Анульовано Оплачується при отриманні

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

Архітектура ПЗ

ID Проекту: #2338040

Про проект

5 заявок(-ки) Дистанційний проект Остання активність Jul 20, 2012

5 фрілансерів(-и) готові виконати цю роботу у середньому за $168

rajeshsonisl

Quality work assured. Ready to get started. Thanks.

$250 USD за 1 день
(72 відгуків(и))
6.7
gangabass

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

$90 USD за 1 день
(74 відгуків(и))
5.5
pilica

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

$200 USD за 4 дні(-в)
(13 відгуків(и))
4.5
anhouse

Please find details of the proposal in your pmb

$200 USD за 3 дні(-в)
(3 відгуків(и))
5.4
badzia

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 за 2 дні(-в)
(10 відгуків(и))
4.4
softaic

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

$70 USD за 2 дні(-в)
(1 відгук)
1.5