Write a text processing parser to convert a custom syntax into seni-random phrases
$30-250 USD
Zamknięte
Opublikowano ponad 9 lat temu
$30-250 USD
Płatne przy odbiorze
We have a custom syntax of the following type:
{
[
Hello,
Greetings,
world!
planet!
]
[
World,
Planet,
I greet you.
I say hello.
]
+
[
Want a
cookie?
cup of tea?
]
}
Which will generate: "Hello, world! Want a cookie?" or "Planet, I say hello. Want a cookie?"
This is a job to parse this syntax and output x number of generated results.
It should also create mispellings, with transpositions, common keyboard shifts, or doubled or missing characters.
It should be a command line program, e.g.
generateTexts infile blockNum count mispellingRatio
the infile could have many of these blocks (which we call recipes) enclosed in {braces}. So if the file had 100 recipes, you could output 6 result based on the 49th recipe. And on averge, 1 out of 10 words should have a mispelling: generateTexts [login to view URL] 49 6 0.1
I'd prefer this written in ruby, but perl or python are ok. If you have another platform, please justify it in your proposal.
I need more details to determine the time and cost: such as how to mis-spell, when show the punctuation.
Could you please provide more details?
Although I am okay with Ruby, I'd like to use Python, for I am a little more comfortable with Python.
Hello Sir...
I have a very good experience in natural language processing.
I can do this in C++ (speed) or Java (for portability) or in prolog (good language for grammars).
Please contact me for details ASAP.
Looking forward to work for you Sir.
Best Regards.
Hello,
I've read carefully the description of the project and I'm sure, that I can complete it. I can write the script in Python (command line program). I'm just not sure, that I get right rules of creating the phrases from recipes. If You provide me more detailed rules, the script will fully satisfy your expectation.
And I'd prefer to write the script for Linux.
Please, write me if You have any questions.