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.
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
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.
â€¢ 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"
â€¢ 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
â€¢ 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
â€¢ 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
â€¢ 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.
â€¢ 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
â€¢ 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
20 freelanceria on tarjonnut keskimäärin 128 $ tähän työhön
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.
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.