PhP Mysql Text Search and Replace Script
$30-250 USD
Maksettu toimituksen yhteydessä
I need a php or python script that does the following:
1) Accepts a URL encoded block of text through a POST command
2) Use multiple / parallel threads to query the database and replaces each word in the text with synonyms from the database (if the word is in the database). The search word is always SUBKEY 0, and the replace key is a randomly selected number with the same KEY value.
The database is set up like this:
ID WORD KEY SUBKEY
0 wind 1 0
1 breeze 1 1
3 gale 1 2
4 draft 1 3
The database has about 2.5 million entries, so I want to be able to send a text article of about 1000 words and have the article searched and replaced as fast as possible. I do not want the script to just explode the text into an array and then sequentially search and replace each word. That takes far too long.
If there are no matches in the database, the words are ignored.
The final output of the script is the text with the replaced words from the database. The original text punctuation and any html tags should be preserved.
Projektin tunnus: #1211971
Tietoa projektista
Myönnetty käyttäjälle:
13 freelanceria on tarjonnut keskimäärin $185 tähän työhön
I am interested to work in this project. But I have some comments. Please check inbox. Thanks.
Hello. I am an experienced python developer. I can handle this task as i have done variosu tasks in text parsing. Check pmb for questions. Thanks.
Hello, I'd like to work with you on this project. Please check kindly the private message for more info and a small demo on PHP multi thread. Regards, Roman