c# - How to find maximum occured word from text? -
I have a database field that contains string values to get the top 10 maximum words from the field Seeing a method
var results = regx Matts (s, @ "\ b \ w + \ b"). OfType & lt; Match & gt; () .GroupBy (k = & gt; K. value, (G, U) => New {word = g, Count = U.Count ()}). Orderbie (n => n. Count). Take (10);
Comments
Post a Comment