Include "a" character in a wordcloud
古いコメントを表示
I am just trying to plot a simple wordcloud of grades which has a grade string, say,
grade='DBBBDBEFBFFASBCBABCCSBCAABBCBACDBFDBAFDAACAFAACABBFABCBAACF'
when I plot it using,
>>wordcloud(grade)
the function removes all Grade A information. How do I include the grade A in the plot?
7 件のコメント
Can you be more specific? What is a "stopword?" What is Grade A? Do you mean specifically occurrences of the letter "A" disappear? This is not the behavior I'm seeing. What release are you using?
For me, I see nothing when the number of characters in a word is more than about 40. What result are you expecting to see?
Lairenlakpam Joyprakash Singh
2018 年 11 月 28 日
編集済み: Lairenlakpam Joyprakash Singh
2018 年 11 月 28 日
I don't think the wordcloud function recognizes different characters like that. You probably did not provide the full code? If you add a space between each grade, then I can verify that the A goes missing, for unknown reason. Odd.
My guess would be that the function wordCloudCounts does not count 'a', as you would normally prefer to have single characters excluded from your wordcloud?
Lairenlakpam Joyprakash Singh
2018 年 11 月 28 日
編集済み: Lairenlakpam Joyprakash Singh
2018 年 11 月 28 日
Greg
2018 年 11 月 29 日
As in Guillaume's answer, the key missing piece in the original post is the transpose. Given:
grade='DBBBDBEFBFFASBCBABCCSBCAABBCBACDBFDBAFDAACAFAACABBFABCBAACF';
The following does not work:
wordcloud(grade);
But the transpose does ("work" meaning create a word cloud, but with "A" removed):
wordcloud(grade');
Lairenlakpam Joyprakash Singh
2018 年 11 月 29 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Display and Presentation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

