Develop a JS script to analyze and extract keyword from webpage

Cancelled Posted Jul 28, 2015 Paid on delivery
Cancelled

We are looking for a long term, part time programmer.

This will be a paid screening task, based on the results we will decide whether to continue and hire you on a part time basis.

Short Description -

We are looking to create a Client Side JavaScript code that will do the following.

The script will extract all the texts (based on rules) from the page and send them to our server, the server will send back a list of queries (keywords / phrases) that we would like to turn into a Hyper Link and mark with a double underline (with some rules as well).

The code should be as light weight and fast as possible, and must support most browsers specifically (Chrome, FireFox and Explorer)

*Please notice that the server side is already fully coded and ready to use.

For writing purposes we use Mark = turn into a hyperlink with double underline

Query = either a single word (Keyword) or a number of words together (Phrase)

Keyword - example - Director, Sales, Java

Phrases - example - Director of sales, Java Developer, Experienced Nurse

Long Description –

--- Important notes ---

1. The code must not use the innerHTML function

2. The code must support multiple languages including but not limited to : English, French, German, Japanese, Chinese.

3. The code should be as light weight and fast as possible, the user should not feel as if the browser is stuck or waiting.

4. The code must support most browsers, specifically these must be supported: Chrome, FireFox and Explorer.

--- Sending the Text to the Server ---

5. When sending the text to the server, send it in an efficient way, with minimal text, for example you should not send texts that are located within tags (As described in bullet #6)

--- Getting results from the server ---

6. The server will send back a list, in JSON format, with the queries that it has found within the text you sent over. Please notice that the queries will be arranged in order of importance.

--- Marking the queries within the page ---

7. Queries should be marked with a double underline and turned into a hyper link, please use the same font as the surrounding words within the paragraph.

8. You should never Mark Queries (keywords / phrases) that are located in the following tags: A, INPUT, TEXTAREA, SELECT, OPTION.

9. Each query should not be marked more than 2 times within the entire text, and not more than 1 time within each paragraph.

10. When Marking Queries (keywords / Phrases), the first query within any paragraph should always be marked, starting with the second query we want to make sure the page will not be over crowded, so within every paragraph from query 2 and onward check only mark it if the total amount of Marked words is smaller than or equal to X% of the total words within the Paragraph (x is an input).

10.1. Example – A paragraph has 50 words, and we have 2 queries out of the list that the server sent back to you that are found within this paragraph, the first query from the list (notice that the list is ordered by importance) should be marked no matter how big it is, as for the second query we do the following, assuming that the first query has 3 words and the second has 3 words as well, if X = 0.05 = 5% then we will not mark it, if X = 0.06 = 6% or higher then you should mark it.

* Please see a visual example within the attached file.

JavaScript

Project ID: #8161042

About the project

14 proposals Remote project Active Sep 2, 2015

14 freelancers are bidding on average $23/hour for this job

meet2amitvw

Let's discuss over freelancer Personal Message Box for the proper estimation of cost and time. I am myself developer so you will directly work with me. No mediators. No managers. No subcontractors. see my recent More

$25 USD / hour
(20 Reviews)
7.3
logicpowered

We are very interested in this project. I have read your above description and i think its well within our range to execute this is in a good time frame so would you be kind enough to message me so we can have a fast a More

$21 USD / hour
(4 Reviews)
6.1
nuprogramer

Hope you are doing great. I have checked the given detail of this project and I am interested to provide you my services. I have more than 7 years in providing professional website development services and worked with More

$21 USD / hour
(10 Reviews)
4.7
Neferius

Good Evening Sir, Here is Michele Cimmino from Italy and i'm a graduated software architect and full stack web/mobile developer, consultant, project manager, owner of an individual firm. I can provide you an object More

$61 USD / hour
(4 Reviews)
4.4
vignesh1r

I am Software Engineer having experience 4 years+ in Indian IT industry. My Skill Set is JSP,JAVA,Servlets,Javascript,AJAX,DOJO ,HTML,JSON,AngularJs,XML.

$22 USD / hour
(0 Reviews)
0.0
kjelenak

I will support most browsers, use JQuery (if inner is not used) or the library at your suggestions, AJAX data exchange would be sufficiently fast. Please contact me for further details.

$16 USD / hour
(0 Reviews)
0.0
tcornell1

I've been an electrical engineer for the past several years and also have experience in technical writing. I have also done a lot of programming involving C++, java, python, swift, C, and C#. Being an engineer, I am ve More

$27 USD / hour
(0 Reviews)
0.0