Research Article

Universal Keyword Classifier on Public Key Based Encrypted Multikeyword Fuzzy Search in Public Cloud

Algorithm 7

CreateWildCardFuzzyMultiKeywordSet(MKW,edit).
Input: Multikeyword set MKW =
edit – Edit Distance
Output: FMKS=
(1) Declare integer variable 1, 1, 1, edit
(2) Char MultiKeywordFuzzy; Initialize FMKS to be empty;
(3) if edit > 1 then
(4)  call CreateWildCardFuzzyMultiKeywordSet(MKW ,ed-1)
(5)  end if
(6)  if edit = 0 then
(7)  FMKS = MKW
(8)  else
(9)  For to length(MKW) do
(10)   For to length(FMKSedit-1) do
(11)    For to 2 length(FMKSedit-11 ) + 1 do
(12)     if is odd value then
(13)     MultiKeywordFuzzy = FMKSedit-1
(14)      Insert “#” at ( + 1/2) position
(15)     else
(16)      Assign MultiKeywordFuzzy = length(Mkw[])
(17)      Insert “#” at () position
(18)     end if
(19)      if MultiKeywordFuzzy is not in FMKSedit-1] then
(20)       Include MultiKeywordFuzzy in FMKSedit]
(21)      end if
(22)     end for // loop
(23)    end for // loop
(24)   end for // loop
(25)  end if
(26)   return FMKS   // Fuzzy MultiKeyword Set