Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Bug fix
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jean-Philippe Barette-LaPierre  
View profile  
 More options Mar 2 2010, 4:30 pm
From: Jean-Philippe Barette-LaPierre <j...@rrette.com>
Date: Tue, 2 Mar 2010 16:30:09 -0500
Local: Tues, Mar 2 2010 4:30 pm
Subject: Bug fix

Since I didn't made the control versioning system available to
everyone yet, here's the patch which fixes the bug

  moman-57f5dc9dd0e7.diff
4K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Robert Muir  
View profile  
 More options Mar 2 2010, 5:04 pm
From: Robert Muir <rcm...@gmail.com>
Date: Tue, 2 Mar 2010 17:04:29 -0500
Local: Tues, Mar 2 2010 5:04 pm
Subject: Re: Bug fix

all of our tests pass (n=1,2,3), thanks so much for the quick fix!

On Tue, Mar 2, 2010 at 4:30 PM, Jean-Philippe Barette-LaPierre <

j...@rrette.com> wrote:
> Since I didn't made the control versioning system available to
> everyone yet, here's the patch which fixes the bug

--
Robert Muir
rcm...@gmail.com

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jpbarre...@gmail.com  
View profile  
 More options Mar 2 2010, 7:09 pm
From: jpbarre...@gmail.com
Date: Wed, 03 Mar 2010 00:09:52 +0000
Local: Tues, Mar 2 2010 7:09 pm
Subject: Re: Re: Bug fix

On Mar 2, 2010 5:04pm, Robert Muir <rcm...@gmail.com> wrote:

> all of our tests pass (n=1,2,3), thanks so much for the quick fix!

What are your unittests? I could integrate something similar in Moman.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Robert Muir  
View profile  
 More options Mar 2 2010, 7:28 pm
From: Robert Muir <rcm...@gmail.com>
Date: Tue, 2 Mar 2010 19:28:01 -0500
Local: Tues, Mar 2 2010 7:28 pm
Subject: Re: Re: Bug fix

for each n, i try to test strings to exercise every char vector... i *think*
the tests do that, but I'm not sure.

i do this by using a small language of {0,1}, with integer bits, and
converting to a string, this is how i got the "1001" versus "111".

for each of these strings, i build a DFA with the algorithm, and then try to
confirm the DFA is correct based on the below methods.

for n=1 this is trivial, as i can build a "naive" DFA, and then ensure the
naive DFA accepts the same language as the schulz&mihov DFA.

for n>1, its not so elegant. instead i create all strings in my small {0,1}
language that are no longer than the input word's length + n + 1, and
brute-force compare the results of each possible string with the real
levenshtein algorithm.

i also have some additional sanity checks that aren't very important.
attached is the java file with the junit tests.

if you have an idea for better tests, I'd be interested, as I just started
developing these.

--
Robert Muir
rcm...@gmail.com

  TestLevenshteinAutomata.java
11K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »