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

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -