Re: [R] Compare String Similarity

2012-04-19 Thread Prof. Dr. Matthias Kohl
you should also look at Bioconductor Package Biostrings hth Matthias Am 19.04.2012 18:01, schrieb R. Michael Weylandt: Though if you do decide to use Levenstein, it's implemented here in R: http://finzi.psych.upenn.edu/R/library/RecordLinkage/html/strcmp.html I'm pretty sure this is in C code s

Re: [R] Compare String Similarity

2012-04-19 Thread Alekseiy Beloshitskiy
; r-help@r-project.org Subject: Re: [R] Compare String Similarity Though if you do decide to use Levenstein, it's implemented here in R: http://finzi.psych.upenn.edu/R/library/RecordLinkage/html/strcmp.html I'm pretty sure this is in C code so it should be mighty fast. Michael On T

Re: [R] Compare String Similarity

2012-04-19 Thread R. Michael Weylandt
Though if you do decide to use Levenstein, it's implemented here in R: http://finzi.psych.upenn.edu/R/library/RecordLinkage/html/strcmp.html I'm pretty sure this is in C code so it should be mighty fast. Michael On Thu, Apr 19, 2012 at 11:40 AM, Bert Gunter wrote: > Wrong list.This is R, not st

Re: [R] Compare String Similarity

2012-04-19 Thread Bert Gunter
Wrong list.This is R, not statistics (or linguistics?).Please post elsewhere. -- Bert On Thu, Apr 19, 2012 at 8:05 AM, Alekseiy Beloshitskiy wrote: > Dear All, > > I need to estimate the level of similarity of two strings. For example: > string1 <- c("depending","audience","research", "school");

[R] Compare String Similarity

2012-04-19 Thread Alekseiy Beloshitskiy
Dear All, I need to estimate the level of similarity of two strings. For example: string1 <- c("depending","audience","research", "school"); string2 <- c("audience","push","drama","button","depending"); The words in string may occur in different order though. What function would you recommend to