How to find maximum occured word from text?
I have a database field which contains string values. I need to find top 10 maximum occured words from the field var result = Regex.Matches(s, @"bw+b").OfType<Match>() .GroupBy(k => k.Value, (g, u) => new { Word = g, Count = u.Count() }) .OrderBy(n => n.Count) .Take(10); Check more discussion of
... [read more]
Submit a review:
Login required.