This is a migrated thread and some comments may be shown as answers.

Exclusions and Stemming

1 Answer 42 Views
TagCloud
This is a migrated thread and some comments may be shown as answers.
Farhan
Top achievements
Rank 1
Farhan asked on 16 Dec 2015, 05:28 PM

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!

1 Answer, 1 is accepted

Sort by
0
Slav
Telerik team
answered on 18 Dec 2015, 02:37 PM
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.

Regards,
Slav
Telerik
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
Tags
TagCloud
Asked by
Farhan
Top achievements
Rank 1
Answers by
Slav
Telerik team
Share this question
or