I gang

PHP - Find specific-word duplicates in lines and display lines with duplicates

Hello,

I need this script done immediately. I already have parts of the script complete, I just need someone to finish it for me.

Here is what the script does:

I enter a list of "lines" (sentences) into a textbox.

The script scans the lines, looks for duplicate words THAT I SPECIFY, and then displays only the lines that have duplicate words.

The script knows to check both singular and plural versions of the word, as both are considered duplicates (I have this part complete). The script knows to check for both capitalized and lowercase words.

For example, if I insert the following lines:

I played a great game of slots the other day and won at slots.

Slots are a lot of fun but can you win?

The slot game was great, but I prefer slots instead.

Slot games are great, and slots are even better.

Why should you play slots?

The script would output:

I played a great game of slots the other day and won at slots.

The slot game was great, but I prefer slots instead.

Slot games are great, and slots are even better.

As these lines include "slot" and "slots" duplicates. Again, the script should check for capitalization.

I've attached what I've done on the script so far. The script and the class for checking for plural words. The current version detects duplicates, makes the words plural and also checks there... The problem is I can't make it ONLY check for a word I specify. It's outputting all lines that contain duplicates of any word.

Hopefully it will only take an experience coder an hour to finish this script, I'm so close to making it work.

I need to this script to be finished ASAP, as in tonight in the next few hours. Thanks!

Færdigheder: PHP

Se mere: php find word occurence, php find word frequency, find unique word text, php find myspace, php countdown specific date, php find bottlenecks, display duplicates removed excel, script php find frame

Om arbejdsgiveren:
( 4 bedømmelser ) Cordova, United States

Projekt-ID: #14863343

Tildelt til:

liangjongai

Hi! I'm interesting your project very well. i mastering PHP and HTML. And also I have many experience and good skill about web and android development. Let's go ahead with me Stay tuned, I'm still working on this pr Mere

$55 USD på 1 dag
(62 bedømmelser)
5.3

8 freelancere byder i gennemsnit $34 for dette job

ZnDevelopers

Hi, I am ready to start it. But i have some questions for you. So kindly leave message for me, then ill discuss it in depth. Relevant Skills and Experience Graphic Design, HTML, PHP, Website Design Proposed Milestone Mere

$50 USD på 1 dag
(110 bedømmelser)
6.4
kirstarg

Hello! How are you? I have many works like this. You can see my profile or see the links I have wrote above this. I can show you my works and talk about everything. My priority is get good reviews, so we want good rel Mere

$55 USD på 1 dag
(11 bedømmelser)
4.6
$25 USD på 1 dag
(28 bedømmelser)
4.5
$25 USD på 1 dag
(3 bedømmelser)
2.3
$25 USD på 1 dag
(4 bedømmelser)
2.0
sriraj11302

hello? I've read your job description. I can help you. I'm a php expert & have rich experience. Let's discuss more detail. Thanks. Relevant Skills and Experience 2+ years experience. Proposed Milestones $15 USD - !

$15 USD på 1 dag
(2 bedømmelser)
1.3
Goiss

ISS is a global provider of software, solutions, and services focused on deploying business-driven, technology-enabled solutions that create next-generation competitive advantages for customers. Relevant Skills and Ex Mere

$25 USD på 1 dag
(0 bedømmelser)
0.0