Results 1 to 2 of 2

Thread: Comparing words using fuzzy logic

  1. #1

    Thread Starter
    Code Monkey wild_bill's Avatar
    Join Date
    Mar 2005
    Location
    Montana
    Posts
    2,993

    Comparing words using fuzzy logic

    This creates a score to indicate how close one word matches another word.

    sample:
    Code:
            Dim word1 As String = "Hello world!"
            Dim word2 As String = "helloo world"
            Dim compare As New CompareWords(CompareWords.MatchTypes.Accurate)
            Console.WriteLine(compare.GetMatch(word1, word2))
            Console.WriteLine(compare.GetMatch(word1, word2, 90))
    Attached Files Attached Files
    That is the very essence of human beings and our very unique capability to perform complex reasoning and actually use our perception to further our understanding of things. We like to solve problems. -Kleinma

    Does your code in post #46 look like my code in #45? No, it doesn't. Therefore, wrong is how it looks. - jmcilhinney

  2. #2
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: Comparing words using fuzzy logic

    Thanks for this, has come in handy today!
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width