词云图-展示ppt课件

上传人:文**** 文档编号:240987607 上传时间:2024-05-22 格式:PPTX 页数:14 大小:3.51MB
返回 下载 相关 举报
词云图-展示ppt课件_第1页
第1页 / 共14页
词云图-展示ppt课件_第2页
第2页 / 共14页
词云图-展示ppt课件_第3页
第3页 / 共14页
点击查看更多>>
资源描述
PythonWordCloudPythonWord CloudWhatiswordcloud?What is word cloud?2Whatiswordcloud?Atagcloud(wordcloud,orweightedlistinvisualdesign)isavisualrepresentationoftextdata,typicallyusedtodepictkeywordmetadata(元数据)(tags)onwebsites,ortovisualizefreeformtext.Tagsareusuallysinglewords,andtheimportanceofeachtagisshownwithfontsizeorcolor.Thisformatisusefulforquicklyperceivingthemostprominenttermsandforlocatingatermalphabeticallytodetermineitsrelativeprominence.Whenusedaswebsitenavigationaids,thetermsarehyperlinkedtoitemsassociatedwiththetag.What is word cloud?A tag cloud3Forwhat?Atextcloudorwordcloudisavisualizationofwordfrequencyinagiventextasaweightedlist.Thetechniquehasrecentlybeenpopularlyusedtovisualizethetopicalcontentofpoliticalspeeches.For what?A text cloud or word4CreationInprinciple,thefontsizeofataginatagcloudisdeterminedbyitsincidence.Forawordcloudofcategorieslikeweblogs,frequency,forexample,correspondstothenumberofweblogentriesthatareassignedtoacategory.Forsmallerfrequenciesonecanspecifyfontsizesdirectly,fromonetowhateverthemaximumfontsize.Forlargervalues,thereisaalgorithm.CreationIn principle,the font5DownloadtextWritecodeCutthemSplitwordsTransformtextintolistCountthewordsCountwordfrequencyPrepareapictureUseapackageRunitVisualize Fundamental stepsSplit wordsDownload textWrite 6SplitwordsDownloadtext(orcopy)Split wordsDownload text7SplitwordsUseapackagenamedjiebaSplit wordsUse a package name8CountwordfrequencySoeasy!Count word frequencySo easy!9VisualizeBeforeAfterVisualize Before After 10WordcloudWord cloud11BasisonthepopulationofcountryBasis on the population of cou12词云图-展示ppt课件13Thats all!Thats all!Thats all!14
展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 办公文档 > 教学培训


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!