Exclusions and Stemming

2 posts, 0 answers
  1. Jeremy
    Jeremy avatar
    1 posts
    Member since:
    Jan 2014

    Posted 16 Dec 2015 Link to this post

    Does the TagCloud group word stems together? Example: teach, teacher, teaching would all be considered the same as their stem (teach) is identical.


    Is there an easy way to exclude non-important words (such as: a, an, the, etc.) outside of the WordsToExclude property? I don't want to have to define a list of these words if not absolutely necessary as I know I will miss a few.


    Is there a way to apply a length restriction to the words to be weighted? I would like to avoid things like "no" and "go" from appearing in the TagCloud, and I know these sorts of words will make it through, even if the WordsToExclude property is extensive.


    Thanks in advance for your help!

  2. Slav
    Slav avatar
    1359 posts

    Posted 18 Dec 2015 Link to this post

    Hello Jeremy,

    I am posting here the response from the support ticket on the matter:

    The RadTagCloud control does not support grouping of similar words. The only options for sorting the items in a tag cloud that are currently available can be checked in the following demo: http://demos.telerik.com/aspnet-ajax/tagcloud/examples/organizeitems/defaultvb.aspx

    By default the tag cloud control has a list of short words to escape assigned to its WordsToExclude property. You can check it by getting the value of this property before setting it:
    Dim wordsToExclude As String() = RadTagCloud1.WordsToExclude
    If you want to keep this list and add to it just store its default value and extend the returned array of strings with the new words, then assign it to the property.

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top