If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > How to match a word in the sentence and calculte the persentage

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-22-05, 07:58
narasimhasd narasimhasd is offline
Registered User
 
Join Date: Nov 2005
Posts: 2
Unhappy How to match a word in the sentence and calculte the persentage

Hello please help me sql statement

A field contain some long sentence

Eg:- " dengue fever causes lever malfunction eadache and vomiting" like this


i have searching string "yellow fever vomiting "

if any word in the searching string match with the long sentence i have to calculate the percentage.

Eg:- i have two words(fever,vomiting) matching with the string, i have to find the percentage of the that perticular matching string.

result should be in the percentage...


please help me..

S.D.Narasimha

9886619980
narasimha.kumar@arisglobal.co.in






Select Matching_Relevence(Oracle_Text_field, parameter_text_field) from xtable

Example Oracle_Text_Field = "dengue fever causes lever malfunction
headache and vomiting"
parameter_text_field = "Yellow dengue fever"
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On