Find Jobs
Hire Freelancers

Batch Processing of Text Files

$100-500 USD

Cancelled
Posted about 14 years ago

$100-500 USD

Paid on delivery
I am looking for a PHP script that batch processes text articles. It should clean them up, then turn them into two CSV files per input article.? ## Deliverables I am looking for a PHP script that batch processes text articles. It should clean them up, then turn them into two CSV files per input article.? Here is how I would like it to work: 1. The interface has an upload field where I can upload multiple .txt file from my computer. (The same way gmail does it - one upload field, but you can add multiple files from the same dialog.) 2. Some articles contain non-standard characters like fancy quotes. What I want to do is have a settings file in the script directory that lists the problem characters and their replacements, then goes through each text article file, finding and replacing the characters. The settings file needs to be easily editable by me so that I can add additional find and replace rules as I identify additional characters that are causing problems. 3. The CSV files will have the column headings: title, sentence, para, number. 4. Copy the title from the input article and put it in the first column, "title". This will be the same for every entry in the CSV. 5. In the second column, "sentence", will be listed one individual sentence from the article. These will be listed in order from the first sentence to the last. 6. The third column, "para", will contain the number of the paragraph that the sentence is in. The title does not count as a paragraph. 7. The fourth column, "number", contains the number of the sentence in the article (not within the paragraph), so number 1 would be the first sentence, number 10 would be the 10th sentence. The counting of "number" does NOT start over when a new paragraph starts. 8. All entries in which a sentence contains asterisks (*) need to be transferred to a separate CSV file with the same column headings. 8. The script would then provide a download link to a zip file containing all the generated CSVs. The CSV files will be named (articlename)[login to view URL] for the sentences without asterisks and (articlename)[login to view URL] for the sentences with asterisks. So if an input article is named [login to view URL], then the CSVs would be name [login to view URL] and 030110-keywords.csv. I have attached three files: one input article, and the two output CSVs that should be produced by the script. A MySQL database may be used, but it is not necessary.
Project ID: 3320399

About the project

13 proposals
Remote project
Active 14 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
13 freelancers are bidding on average $186 USD for this job
User Avatar
See private message.
$85 USD in 30 days
4.9 (440 reviews)
7.5
7.5
User Avatar
See private message.
$85 USD in 30 days
4.9 (102 reviews)
6.1
6.1
User Avatar
See private message.
$595 USD in 30 days
4.8 (111 reviews)
6.1
6.1
User Avatar
See private message.
$552.50 USD in 30 days
4.9 (60 reviews)
5.8
5.8
User Avatar
See private message.
$212.50 USD in 30 days
4.7 (13 reviews)
5.8
5.8
User Avatar
See private message.
$85 USD in 30 days
5.0 (73 reviews)
5.7
5.7
User Avatar
See private message.
$102 USD in 30 days
4.8 (48 reviews)
5.4
5.4
User Avatar
See private message.
$85 USD in 30 days
5.0 (77 reviews)
5.0
5.0
User Avatar
See private message.
$85 USD in 30 days
4.9 (67 reviews)
5.0
5.0
User Avatar
See private message.
$127.50 USD in 30 days
5.0 (19 reviews)
4.1
4.1
User Avatar
See private message.
$127.50 USD in 30 days
4.9 (36 reviews)
4.0
4.0
User Avatar
See private message.
$119 USD in 30 days
5.0 (13 reviews)
3.7
3.7
User Avatar
See private message.
$153 USD in 30 days
0.0 (2 reviews)
0.2
0.2

About the client

Flag of UNITED STATES
United States
5.0
1
Member since Sep 3, 2009

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.