Skip to content

Commit

Permalink
Deploy from wastu01/blog-file@5f34f02 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
wastu01 committed Oct 1, 2024
1 parent 73e419b commit e9633c2
Show file tree
Hide file tree
Showing 110 changed files with 1,509 additions and 3,321 deletions.
4 changes: 2 additions & 2 deletions 404.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<!doctype html><html lang=zh-tw dir=ltr><head><meta charset=utf-8><meta name=viewport content='width=device-width,initial-scale=1'><meta name=description content='這邊是部落格,主要分享數位多媒體的文章'><title>404 Page not found</title>
<link rel=canonical href=https://wastu01.github.io/404.html><link rel=stylesheet href=/scss/style.min.0e019e9874e7ddbbc74a31467a403436b3e412678e58e96280f79ef50b27649f.css><meta property='og:title' content="404 Page not found"><meta property='og:description' content="這邊是部落格,主要分享數位多媒體的文章"><meta property='og:url' content='https://wastu01.github.io/404.html'><meta property='og:site_name' content="Wang's Blog"><meta property='og:type' content='website'><meta property='og:updated_time' content=' 2024-10-08T08:50:29+08:00 '><meta property='og:image' content='https://wastu01.github.io/img/avatar.png'><meta name=twitter:site content="@larry113052000"><meta name=twitter:creator content="@larry113052000"><meta name=twitter:title content="404 Page not found"><meta name=twitter:description content="這邊是部落格,主要分享數位多媒體的文章"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content='https://wastu01.github.io/img/avatar.png'><link rel="shortcut icon" href=favicon.ico><script async src="https://www.googletagmanager.com/gtag/js?id=G-69M3QRWRW8"></script><script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}gtag("js",new Date),gtag("config","G-69M3QRWRW8")</script><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9854600345673328" crossorigin=anonymous></script></head><body><script>(function(){const e="StackColorScheme";localStorage.setItem(e,"dark")})()</script><script>(function(){const t="StackColorScheme",e=localStorage.getItem(t),n=window.matchMedia("(prefers-color-scheme: dark)").matches===!0;e=="dark"||e==="auto"&&n?document.documentElement.dataset.scheme="dark":document.documentElement.dataset.scheme="light"})()</script><div class="container main-container flex on-phone--column extended"><aside class="sidebar left-sidebar sticky"><button class="hamburger hamburger--spin" type=button id=toggle-menu aria-label=切換選單>
<link rel=canonical href=https://wastu01.github.io/404.html><link rel=stylesheet href=/scss/style.min.d0ae89ab8ae9da728fcae8cb3ad00b279033b8d5a82aca4e8228c01903e4bdf7.css><meta property='og:title' content="404 Page not found"><meta property='og:description' content="這邊是部落格,主要分享數位多媒體的文章"><meta property='og:url' content='https://wastu01.github.io/404.html'><meta property='og:site_name' content="Wang's Blog"><meta property='og:type' content='website'><meta property='og:updated_time' content=' 2024-10-08T08:50:29+08:00 '><meta property='og:image' content='https://wastu01.github.io/img/avatar.png'><meta name=twitter:site content="@larry113052000"><meta name=twitter:creator content="@larry113052000"><meta name=twitter:title content="404 Page not found"><meta name=twitter:description content="這邊是部落格,主要分享數位多媒體的文章"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content='https://wastu01.github.io/img/avatar.png'><link rel="shortcut icon" href=favicon.ico><script async src="https://www.googletagmanager.com/gtag/js?id=G-69M3QRWRW8"></script><script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}gtag("js",new Date),gtag("config","G-69M3QRWRW8")</script><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9854600345673328" crossorigin=anonymous></script></head><body><script>(function(){const e="StackColorScheme";localStorage.setItem(e,"dark")})()</script><script>(function(){const t="StackColorScheme",e=localStorage.getItem(t),n=window.matchMedia("(prefers-color-scheme: dark)").matches===!0;e=="dark"||e==="auto"&&n?document.documentElement.dataset.scheme="dark":document.documentElement.dataset.scheme="light"})()</script><div class="container main-container flex on-phone--column extended"><aside class="sidebar left-sidebar sticky"><button class="hamburger hamburger--spin" type=button id=toggle-menu aria-label=切換選單>
<span class=hamburger-box><span class=hamburger-inner></span></span></button><header><figure class=site-avatar><a href=/><img src=/img/avatar_hu2486757883689189126.png width=300 height=304 class=site-logo loading=lazy alt=Avatar></a></figure><div class=site-meta><h1 class=site-name><a href=/>Wang's Blog</a></h1><h2 class=site-description>嗨,這裡是 Wa.01 的 Blog</h2></div></header><ol class=menu-social><li><a href=https://github.com/wastu01 target=_blank title=GitHub rel=me><svg class="icon icon-tabler icon-tabler-brand-github" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentcolor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M9 19c-4.3 1.4-4.3-2.5-6-3m12 5v-3.5c0-1 .1-1.4-.5-2 2.8-.3 5.5-1.4 5.5-6a4.6 4.6.0 00-1.3-3.2 4.2 4.2.0 00-.1-3.2s-1.1-.3-3.5 1.3a12.3 12.3.0 00-6.2.0C6.5 2.8 5.4 3.1 5.4 3.1a4.2 4.2.0 00-.1 3.2A4.6 4.6.0 004 9.5c0 4.6 2.7 5.7 5.5 6-.6.6-.6 1.2-.5 2V21"/></svg></a></li><li><a href=https://www.youtube.com/@11305205219/videos target=_blank title=Youtube rel=me><svg class="icon icon-tabler icon-tabler-brand-youtube" width="44" height="44" viewBox="0 0 24 24" stroke-width="2" stroke="#597e8d" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M2 8a4 4 0 014-4h12a4 4 0 014 4v8a4 4 0 01-4 4H6a4 4 0 01-4-4V8z"/><path d="M10 9l5 3-5 3z"/></svg></a></li></ol><ol class=menu id=main-menu><li><a href=/><svg class="icon icon-tabler icon-tabler-home" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentcolor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z"/><polyline points="5 12 3 12 12 3 21 12 19 12"/><path d="M5 12v7a2 2 0 002 2h10a2 2 0 002-2v-7"/><path d="M9 21v-6a2 2 0 012-2h2a2 2 0 012 2v6"/></svg>
<span>主頁</span></a></li><li><a href=/wa.01/><svg class="icon icon-tabler icon-tabler-user" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentcolor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z"/><circle cx="12" cy="7" r="4"/><path d="M6 21v-2a4 4 0 014-4h4a4 4 0 014 4v2"/></svg>
<span>WA.01</span></a></li><li><a href=/archives/><svg class="icon icon-tabler icon-tabler-archive" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentcolor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z"/><rect x="3" y="4" width="18" height="4" rx="2"/><path d="M5 8v10a2 2 0 002 2h10a2 2 0 002-2V8"/><line x1="10" y1="12" x2="14" y2="12"/></svg>
<span>所有文章</span></a></li><li><a href=/search/><svg class="icon icon-tabler icon-tabler-search" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentcolor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z"/><circle cx="10" cy="10" r="7"/><line x1="21" y1="21" x2="15" y2="15"/></svg>
<span>文章搜尋</span></a></li><li><a href=/%E7%A4%BE%E7%BE%A4%E9%80%A3%E7%B5%90/><svg class="icon icon-tabler icon-tabler-link" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentcolor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z"/><path d="M10 14a3.5 3.5.0 005 0l4-4a3.5 3.5.0 00-5-5l-.5.5"/><path d="M14 10a3.5 3.5.0 00-5 0l-4 4a3.5 3.5.0 005 5l.5-.5"/></svg>
<span>社群連結</span></a></li><li class=menu-bottom-section><ol class=menu></ol></li></ol></aside><main class="main full-width"><div class=not-found-card><h1 class=article-title>哦不!404 錯誤 ⚠️</h1><h2 class=article-subtitle>您來到了不存在的空間,向筆者回報錯誤</h2></div><footer class=site-footer><section class=copyright>&copy;
2023 -
2024 版權 Wang</section><section class=powerby>使用 <a href=https://gohugo.io/ target=_blank rel=noopener>Hugo</a> 建立<br>主題 <b><a href=https://github.com/CaiJimmy/hugo-theme-stack target=_blank rel=noopener data-version=3.26.0>Stack</a></b><a href=https://jimmycai.com target=_blank rel=noopener>Jimmy</a> 設計<br>已產出:2559字,共 11篇文章</br><span><p></section></footer></main></div><script src=https://cdn.jsdelivr.net/npm/[email protected]/dist/vibrant.min.js integrity="sha256-awcR2jno4kI5X0zL8ex0vi2z+KMkF24hUW8WePSA9HM=" crossorigin=anonymous></script><script type=text/javascript src=/ts/main.js defer></script><script>(function(){const e=document.createElement("link");e.href="https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap",e.type="text/css",e.rel="stylesheet",document.head.appendChild(e)})()</script></body></html>
2024 版權 Wang</section><section class=powerby>使用 <a href=https://gohugo.io/ target=_blank rel=noopener>Hugo</a> 建立<br>主題 <b><a href=https://github.com/CaiJimmy/hugo-theme-stack target=_blank rel=noopener data-version=3.26.0>Stack</a></b><a href=https://jimmycai.com target=_blank rel=noopener>Jimmy</a> 設計<br>已產出:2831字,共 13篇文章</br><span><p></section></footer></main></div><script src=https://cdn.jsdelivr.net/npm/[email protected]/dist/vibrant.min.js integrity="sha256-awcR2jno4kI5X0zL8ex0vi2z+KMkF24hUW8WePSA9HM=" crossorigin=anonymous></script><script type=text/javascript src=/ts/main.js defer></script><script>(function(){const e=document.createElement("link");e.href="https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap",e.type="text/css",e.rel="stylesheet",document.head.appendChild(e)})()</script></body></html>
6 changes: 3 additions & 3 deletions archives/index.html

Large diffs are not rendered by default.

60 changes: 27 additions & 33 deletions article/2024-09-19-.zh/index.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<!DOCTYPE html>
<html lang="zh-tw" dir="ltr">
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script><meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1'><meta name='description' content='使用者輸入新聞關鍵字,得到 Google 新聞搜尋結果,使用 Jieba 套件進行中文斷詞,TF-IDF 關鍵字分析,Pandas 資料處理排序,Numpy 讀取圖片遮罩,Wordcloud 生成文字雲。理想目標:擴大文本搜尋範圍,改善斷詞結果,在網頁前端直接渲染文字雲,方便分享至社群平台'>
<meta name='viewport' content='width=device-width, initial-scale=1'><meta name='description' content='使用者輸入新聞關鍵字,得到 Google 新聞搜尋結果,進行中文斷詞,關鍵字分析,使用 Wordcloud 生成文字雲。'>
<title>Python-WordCloud 文字雲視覺化應用 新聞關鍵字分析</title>

<link rel='canonical' href='http://localhost:1313/article/2024-09-19-.zh/'>

<link rel="stylesheet" href="/scss/style.min.20a9728cd33a1ab739310653beff98da9632ede0bbd246f411df8e07b57af547.css"><meta property='og:title' content="Python-WordCloud 文字雲視覺化應用 新聞關鍵字分析">
<meta property='og:description' content="使用者輸入新聞關鍵字,得到 Google 新聞搜尋結果,使用 Jieba 套件進行中文斷詞,TF-IDF 關鍵字分析,Pandas 資料處理排序,Numpy 讀取圖片遮罩,Wordcloud 生成文字雲。理想目標:擴大文本搜尋範圍,改善斷詞結果,在網頁前端直接渲染文字雲,方便分享至社群平台">
<link rel="stylesheet" href="/scss/style.min.d0ae89ab8ae9da728fcae8cb3ad00b279033b8d5a82aca4e8228c01903e4bdf7.css"><meta property='og:title' content="Python-WordCloud 文字雲視覺化應用 新聞關鍵字分析">
<meta property='og:description' content="使用者輸入新聞關鍵字,得到 Google 新聞搜尋結果,進行中文斷詞,關鍵字分析,使用 Wordcloud 生成文字雲。">
<meta property='og:url' content='http://localhost:1313/article/2024-09-19-.zh/'>
<meta property='og:site_name' content='Wang&#39;s Blog'>
<meta property='og:type' content='article'><meta property='article:section' content='Post' /><meta property='article:tag' content='Google新聞' /><meta property='article:tag' content='Wordcloud文字雲' /><meta property='article:tag' content='Jieba斷詞' /><meta property='article:tag' content='大學專題' /><meta property='article:published_time' content='2024-09-19T11:19:10&#43;08:00'/><meta property='article:modified_time' content='2024-09-19T11:19:10&#43;08:00'/><meta property='og:image' content='https://picsum.photos/800/600.webp?random=60742c9d' />
<meta property='og:type' content='article'><meta property='article:section' content='Post' /><meta property='article:tag' content='Google新聞' /><meta property='article:tag' content='Wordcloud文字雲' /><meta property='article:tag' content='Jieba斷詞' /><meta property='article:tag' content='大學專題' /><meta property='article:published_time' content='2024-09-19T11:19:10&#43;08:00'/><meta property='article:modified_time' content='2024-09-20T11:38:34&#43;08:00'/><meta property='og:image' content='https://picsum.photos/800/600.webp?random=60742c9d' />
<meta name="twitter:site" content="@larry113052000">
<meta name="twitter:creator" content="@larry113052000"><meta name="twitter:title" content="Python-WordCloud 文字雲視覺化應用 新聞關鍵字分析">
<meta name="twitter:description" content="使用者輸入新聞關鍵字,得到 Google 新聞搜尋結果,使用 Jieba 套件進行中文斷詞,TF-IDF 關鍵字分析,Pandas 資料處理排序,Numpy 讀取圖片遮罩,Wordcloud 生成文字雲。理想目標:擴大文本搜尋範圍,改善斷詞結果,在網頁前端直接渲染文字雲,方便分享至社群平台"><meta name="twitter:card" content="summary_large_image">
<meta name="twitter:description" content="使用者輸入新聞關鍵字,得到 Google 新聞搜尋結果,進行中文斷詞,關鍵字分析,使用 Wordcloud 生成文字雲。"><meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content='https://picsum.photos/800/600.webp?random=60742c9d' />
<link rel="shortcut icon" href="favicon.ico" />

Expand All @@ -35,9 +35,7 @@
<script>
(function() {
const colorSchemeKey = 'StackColorScheme';
if(!localStorage.getItem(colorSchemeKey)){
localStorage.setItem(colorSchemeKey, "dark");
}
localStorage.setItem(colorSchemeKey, "dark");
})();
</script><script>
(function() {
Expand Down Expand Up @@ -229,26 +227,6 @@ <h2 class="site-description">嗨,這裡是 Wa.01 的 Blog</h2>
<ol class="menu">


<li id="dark-mode-toggle">
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-toggle-left" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z"/>
<circle cx="8" cy="12" r="2" />
<rect x="2" y="6" width="20" height="12" rx="6" />
</svg>



<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-toggle-right" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z"/>
<circle cx="16" cy="12" r="2" />
<rect x="2" y="6" width="20" height="12" rx="6" />
</svg>



<span>夜晚模式</span>
</li>

</ol>
</li>
</ol>
Expand Down Expand Up @@ -317,7 +295,7 @@ <h2 class="article-title">


<h3 class="article-subtitle">
使用者輸入新聞關鍵字,得到 Google 新聞搜尋結果,使用 Jieba 套件進行中文斷詞,TF-IDF 關鍵字分析,Pandas 資料處理排序,Numpy 讀取圖片遮罩,Wordcloud 生成文字雲。理想目標:擴大文本搜尋範圍,改善斷詞結果,在網頁前端直接渲染文字雲,方便分享至社群平台
使用者輸入新聞關鍵字,得到 Google 新聞搜尋結果,進行中文斷詞,關鍵字分析,使用 Wordcloud 生成文字雲。
</h3>

</div>
Expand All @@ -337,6 +315,18 @@ <h3 class="article-subtitle">
<time class="article-time--published">
發布於 Sep 19, 2024
</time>
</div><div>
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-clock" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z"/>
<circle cx="12" cy="12" r="9" />
<polyline points="12 7 12 12 15 15" />
</svg>



<time class="article-time--updated">
最後更新於 Sep 20, 2024 11:38 CST
</time>
</div></footer>


Expand All @@ -349,14 +339,18 @@ <h3 class="article-subtitle">


<p><kbd>小註記</kbd> + <mark>重點!</mark></p>
<p>此篇為之前人工智慧課程發想的 Python 應用專題,筆者最近於職訓課程再次接觸 Python pandas, numpy 藉由此專案實際將資料操作,加上 ChatGPT AI 輔助開發程式改善斷詞分析成果。</p>
<p>此篇為之前人工智慧課程發想的 Python 應用專題,因最近於職訓課程再次接觸 Python Pandas, Numpy,比較深入了解如何將文字、圖片數據做處理跟轉換,搭配 ChatGPT 輔助開發,將專案重新 Review &amp; Rewrite。</p>
<p>1.Pandas 資料處理排序
2.Numpy 讀取圖片遮罩
3.新增自定義圖片遮罩
4.使用中研院的斷詞模型</p>
<blockquote>
<p>使用者輸入欲搜尋新聞主題,得到 Google 新聞搜尋文字內容,接續使用 Jieba 套件進行斷詞分析,TF-IDF 算法提取關鍵詞,最終生成文字雲</p>
<p>使用者輸入欲搜尋新聞主題,得到 Google 新聞搜尋文字內容,接續進行斷詞分析,挑出關鍵詞,最終生成文字雲展示</p>
</blockquote>
<blockquote>
<p>理想目標:擴大文本搜尋範圍,改善斷詞結果,在網頁前端直接生成文字雲,方便分享至社群平台。</p>
</blockquote>
<p>先上輸出的結果</p>
<p>輸出結果</p>
<p><img src="/img/2021-05-13-%e7%96%ab%e6%83%85.png"


Expand Down Expand Up @@ -628,7 +622,7 @@ <h2 class="article-title">Python-爬取空氣品質-PM2.5-AQI</h2>



已產出:3396字,共 16篇文章</br><span><p>
已產出:3403字,共 16篇文章</br><span><p>

</section>

Expand Down
Loading

0 comments on commit e9633c2

Please sign in to comment.