http://en.wikipedia.org/wiki/Edit_distance or your own distance, then call
it in your pig script.
On 28 June 2013 12:31, Harshit Bhargava <[EMAIL PROTECTED]> wrote:
> I want a fuzzy logic in pig latin language which should match two string
> I have two words ‘Ramesh’ and ‘Rahim’ I want to check how much percentage
> of the string are equal
> If the two words are ‘Ramesh’ and ‘Ramesh’ .then it should give 100%.
> Kindly provide the solution if available.
> Harshit Bhargava