Find Jobs
Hire Freelancers

PHP script to modify a TXT file

$30-250 USD

Closed
Posted almost 12 years ago

$30-250 USD

Paid on delivery
Hello. I need a custom script written to process a TXT file. Please give me a quote and when you will be able to complete this gig. I need this completed as soon as possible. If you do a good job for a fair price I have several other gigs for you. Requirements are below and there is an example input and output txt files attached as a ZIP. Script Overview 1. Process a TXT file stored on the server in the same folder as the php script 2. Display the results in a basic web page with a "copy to clipboard" button Purpose The goal of this script is to take an article that has multiple paragraph and sentence variations and output an article with random paragraphs choosen and sentence variations put in standard jetspinner spintax. Definitions... Sentence Unit • The input TXT is formatted with each sentence on it's own line. • Each of these sentences is rewritten several times with each new version on a new line. • At the end of the sentence rewrites there is a new line with the tag "#S#" denoting the end of that "sentence unit" Intro Paragraph • There are multiple intro paragraphs. • At the end of each intro paragraph after the last "sentence unit" tag there is a new line with the tag #IP# denoting the end of that "intro paragraph". • An intro paragraph is always used at the beginning of the output article Concluding Paragraph • There may or may not be concluding paragraphs • At the end of each concluding paragraph after the last "sentence unit" tag there is a new line with the tag #CP# denoting the end of that "concluding paragraph". • A concluding paragraph is always used at the end of the output article Body Paragraphs • There are multiple body paragraphs (usually 15) • At the end of each body paragraph after the last "sentence unit" tag there is a new line with the tag #P# denoting the end of that "body paragraph". • Body paragraphs can be used anywhere in the article except as the first or last paragraph • If there are no concluding paragraphs, a body paragraph can be used as the last paragraph Double Line Break • Some paragraphs in the input TXT contain the tag #SB# • This should be treated as a double line break in the output TXT • The point is to make a single paragraph unit look like two paragraphs HTML Lists • Some paragraphs may contain HTML for ordered or unordered lists. • When a <ul> or <ol> tag is encountered there should be a line break preceding it and each <li> should go on it's own line. Random Processing • Randomly choose one Intro Paragraph • Randomly choose 4 to 6 Body paragraphs • If present, randomly choose one Concluding paragraph • Assemble all sentences within a sentence unit into spintax format • Assemble sentence units into a paragraph Additional notes • Sometimes there are two sentences within one line but this should still be treated as a single sentence that stays together. The line break is the delimiter. • The number of sentences per paragraph in the input file varies
Project ID: 1687942

About the project

19 proposals
Remote project
Active 12 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
19 freelancers are bidding on average $129 USD for this job
User Avatar
Hi Ready to start Thanks..
$90 USD in 5 days
4.7 (524 reviews)
8.4
8.4
User Avatar
Hello, I read the description and the sample files. Have some questions.
$200 USD in 3 days
5.0 (337 reviews)
7.3
7.3
User Avatar
Sri Technocrat is marvelous in its quality. We have been maintaining the quality in every field whether it is services or training. We have proved our stability. We have been working with the same grace & quality. Our Clients find us better than the so called best. We believe that Customer Satisfaction and Trust will always be our Key for success. Sri Technocrat provides the best breed of designing and application solutions to small and medium sized businesses around the world. A strong Dedicated Executive Team consists of leaders from Indian Institute of Technology (IIT) and various industries and backgrounds aimed at helping execute the plan. With Regards Sri Technocrat.
$150 USD in 5 days
4.8 (78 reviews)
7.7
7.7
User Avatar
Hi, experienced Web Developer. Kindly check PMB. Regards
$90 USD in 0 day
4.9 (458 reviews)
7.4
7.4
User Avatar
I can do this work efficiently.
$250 USD in 6 days
5.0 (74 reviews)
6.8
6.8
User Avatar
Hi, PHP expert since 5 years, ready to start it right now. Thanks Harish.
$99 USD in 2 days
5.0 (112 reviews)
6.6
6.6
User Avatar
Lets start the work.
$250 USD in 3 days
5.0 (61 reviews)
6.6
6.6
User Avatar
Hello, I have doing TXT file editing in most websites, I am new to freelancer and really hope you trust me with no feedback and we can work together :)
$50 USD in 1 day
4.9 (44 reviews)
6.6
6.6
User Avatar
After going through your description we feel confident of delivering you the best possible results,please check PMB. Thanks
$150 USD in 7 days
4.7 (74 reviews)
6.5
6.5
User Avatar
Hello, I have gone through your project and attachment input and output text file. I am an expert of PHP and mysql, so I can easily complete the project. I have few question. Please refer PMB. Regards, Sadhan.
$100 USD in 1 day
4.9 (47 reviews)
5.5
5.5
User Avatar
Hi. Details in PM.
$60 USD in 1 day
5.0 (21 reviews)
5.0
5.0
User Avatar
I'm German, living in Bangkok. Please look at my portfolio.
$97 USD in 1 day
5.0 (5 reviews)
3.6
3.6
User Avatar
Hi. I'm experienced PHP developer. Please see my reviews. Always solid and reliable, you'll be satisfied. I'll be available 10 AM CET
$120 USD in 3 days
5.0 (7 reviews)
3.0
3.0
User Avatar
Hi, Please Read Your PM.
$250 USD in 10 days
2.4 (1 review)
1.8
1.8
User Avatar
Custom Software Development - <b><i>Removed by Admin</i></b>
$250 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I am new to freelancer.com.I've been doing php scripts like this for a while.I am ready to do this at the lowest rate.
$30 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I can do this using PHP regular expressions, string manipulations and file handling. I am aware of JetSpinner syntax. I have over 5 years of experience in PHP, Javascript, MYSQL development. The website is www.tallysolutions.com. I have worked on modules related to Contact management(includes customers, partners, vendors etc) . It involves add/update of contact forms, sending welcome emails to new customers. I was also involved in Sales reports. We used OOP features of PHP5 extensively. The development was done using MVC framework.
$30 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi. I am new to freelancing, but this is even more easy than mid-school programming competitions. I am ready to start, and I am proud of you! Thank you. Juraj.
$150 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello sir , solution is here . I think I can help you , if you please consider my bid
$30 USD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Clearwater, United States
0.0
0
Member since Jun 11, 2012

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.