What happens after 

'levenshtein' Ldist 'malenstein'

or

'levenshtein' Ldist1 'malenstein'

?


R.E. Boss


> -----Oorspronkelijk bericht-----
> Van: [email protected] [mailto:programming-
> [email protected]] Namens Viktor Cerovski
> Verzonden: dinsdag 28 april 2009 22:53
> Aan: [email protected]
> Onderwerp: Re: [Jprogramming] Levenshtein distance
> 
> 
> Since
>   [...@.<&#
> is the same as
>   >.&#
> we get the following shorter versions of Ldist and Ldist1:
> 
>   f=.>:@Ldist }:
>   mincost=: f~ <. f <. -...@=&{: + Ldist&}:
>   Ldist=: >.&#`minc...@.(0 < *&#)
> 
> and
> 
>   Ldist1=:>.&#`((>:@$:}:)~<.(>:@$:}:)<. -...@=&{: + $:&}:)@.(0<*&#)
> 
> --
> View this message in context: http://www.nabble.com/Levenshtein-distance-
> tp23273653s24193p23285829.html
> Sent from the J Programming mailing list archive at Nabble.com.
> 
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to