![]() |
#1
|
|||
|
|||
![]()
I'd like to match and convert each sentence of the document to a dummy text in a given database (i.e. word file), that gives the closest hit probability. The dummy database can be a user generated list of texts, so it is neither definite nor set.
For example: Sentence to be converted: Hello there, how are you doing? A list of dummy (but not) text strings: 1. Hello here, how are you doing? (this is the closest match of course) 2. Hello ere, how are you doing? 3. ello here, how are you doing? The converted result: Hello here, how are you doing? Can it be done? |
#2
|
||||
|
||||
![]()
With enough code, almost anything's possible. Rather than trying to build this in VBA, you'd do better to look for a commercial application that's already be developed to do this kind of thing. A web search for "fuzzy matching software" will get you started.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
nrsmd | Word | 2 | 07-04-2015 10:33 PM |
![]() |
Andoheb | Word | 29 | 07-03-2014 01:48 PM |
![]() |
awolf | Word VBA | 7 | 03-16-2014 02:40 PM |
Find/Replace, Duplicating a word in a sentence to hundreds of sentences. | DDDD | Word | 0 | 10-08-2013 10:48 AM |
![]() |
AlmostFriday | Word | 6 | 06-17-2012 05:21 AM |