Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig >> mail # user >> fuzzy logic through pig programming


Copy link to this message
-
Re: fuzzy logic through pig programming
Write a udf in Java, python or JavaScript implementing one of the
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:

> Hi,
> I want a fuzzy logic in pig latin language which should match two string
> for
> Example1
> I have two words ‘Ramesh’ and ‘Rahim’ I want to check how much percentage
> of the string are equal
> Example2
> If the two words are ‘Ramesh’ and ‘Ramesh’ .then  it should give 100%.
> Kindly provide the solution if available.
> Thanks
> Harshit Bhargava
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB