Last post Jun 07, 2012 04:18 AM by viva-emptiness
Jun 06, 2012 03:09 AM|viva-emptiness|LINK
I can't seem to figure out how to efficiently solve a problem.
I have the following data represented like this:
Public Class WordWithSuggestions
Private _Originalword As String
Private _SpellingSuggestions As List(Of String)
Public Property OriginalWord As String
Set(ByVal value As String)
_Originalword = value
Public Property SpellingSuggestions As List(Of String)
Set(ByVal value As List(Of String))
_SpellingSuggestions = value
Public Sub New()
Once filled up, it looks like this (example):
For the given senquence of words "sumari businiss metodology" and considering that all of them are misspelled.
The each column represents a class instance (3 for example), the word in bold is the OriginalWord, while the ones below it are the list of suggested spelling correction.
How can i effectively loop through the list of instances in order to get a list of suggested sentences. my goal is to have on that final list all the spelling suggestion candidates in the same order of the original sequence:
Summary Business Methodology
Summary Business Method
Summary Busiest Methodology
Summary Busiest Method
Symmetry Business Methodology
Symmetry Business Method
Jun 07, 2012 04:18 AM|viva-emptiness|LINK
Nobody has a clue?