Lengkap

PhP Mysql Text Search and Replace Script

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.

Kemahiran: MySQL, PHP, Python, Kejuruteraan Perisian

Lihat lagi: mysql text replace, mysql replace text, php mysql search replace script, search replace script, mysql database search replace script, mysql replace script, mysql replace script python, search replace text mysql, python replace php html, php tags, html 5 command, draft an article, c text search, php text search, replace, python script, php python, php encoded, php command, Breeze

Tentang Majikan:
( 13 ulasan ) Millis, United States

ID Projek: #1211971

Dianugerahkan kepada:

richb38

Hi. I can implement this synonym replacement function for you.

$120 USD dalam 3 hari
(4 Ulasan)
4.3

13 pekerja bebas membida secara purata $185 untuk pekerjaan ini

MuktoSoftware

I am interested to work in this project. But I have some comments. Please check inbox. Thanks.

$200 USD dalam 2 hari
(449 Ulasan)
7.5
srinichal

I can deliver the python script

$250 USD dalam 5 hari
(97 Ulasan)
7.0
webn

It seems a nice project to work.

$180 USD dalam 2 hari
(87 Ulasan)
6.4
adaschevici

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.

$180 USD dalam 5 hari
(51 Ulasan)
5.9
Max01

hi sir i can do it as you need it.

$250 USD dalam 0 hari
(81 Ulasan)
5.7
rfedorov

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

$150 USD dalam 2 hari
(24 Ulasan)
5.5
kommandant

check your pm

$250 USD dalam 6 hari
(23 Ulasan)
4.8
phpopensource

Please see bid details in private message.

$120 USD dalam sehari
(16 Ulasan)
4.3
balagesoft

I have a parallel algorithm to this. please check my pm to more detials

$150 USD dalam sehari
(6 Ulasan)
4.0
dariomp

Hello, see my private message for details.

$150 USD dalam 3 hari
(0 Ulasan)
0.0
Shargon

im interesting, but read my pm

$150 USD dalam 5 hari
(0 Ulasan)
0.0
krol33

I am a developer with 5 years of experience in several J2EE projets With a master in image processing, developing project with pattern recognition, using several image procesing libraries. Also I know PHP language. Lagi

$250 USD dalam 5 hari
(0 Ulasan)
0.0