what best proceed calculate magnitude vb.net?
there good examples calculate frequencies c#, nonetheless zero extensive i unequivocally need vb.net.
my tide proceed unparalleled per magnitude count. best proceed change i totally accurate magnitude listing?
wordfreq = new hashtable()
dim difference string() = regex.split(inputtext, "(\w)")
i integer = 0 words.length - 1
words(i) <> "" then
low realword boolean = true
j integer = 0 words(i).length - 1
char.isletter(words(i).chars(j)) = fake then
realword = false
finish if
unbroken j
realword = loyal then
wordfreq.contains(words(i).tolower()) then
wordfreq(words(i).tolower()) += 1
else
wordfreq.add(words(i).tolower, 1)
finish if
finish if
finish if
next
me.wordcount = new sortedlist
for any de dictionaryentry wordfreq
wordcount.containskey(de.value) = fake then
wordcount.add(de.value, de.key)
finish if
next
i'd move an tangible formula snippet, nonetheless general 'oh yeah...use run that' work well.
Comments
Post a Comment