<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <!-- 首页 -->
  <url>
    <loc>https://babazhu.cn/</loc>
    <changefreq>weekly</changefreq>
    <priority>1.0</priority>
    <lastmod>2026-07-05</lastmod>
  </url>

  <!-- ===== 教程：10 章 30 节（高价值长尾页面） ===== -->
  <url>
    <loc>https://babazhu.cn/tutorial/</loc>
    <changefreq>monthly</changefreq>
    <priority>0.9</priority>
    <lastmod>2026-06-30</lastmod>
  </url>
  <!-- CHAPTER 01 · Python 基础 -->
  <url><loc>https://babazhu.cn/tutorial/ch01-basics/sec1-strings.html</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/tutorial/ch01-basics/sec2-list-dict.html</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/tutorial/ch01-basics/sec3-file-io.html</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <!-- CHAPTER 02 · 情感分析 -->
  <url><loc>https://babazhu.cn/tutorial/ch02-sentiment/sec1-keyword-dict.html</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/tutorial/ch02-sentiment/sec2-snownlp.html</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/tutorial/ch02-sentiment/sec3-dual-engine.html</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <!-- CHAPTER 03 · 词云图 -->
  <url><loc>https://babazhu.cn/tutorial/ch03-wordcloud/sec1-basics.html</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/tutorial/ch03-wordcloud/sec2-mask.html</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/tutorial/ch03-wordcloud/sec3-equal-size.html</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <!-- CHAPTER 04 · LDA 主题 -->
  <url><loc>https://babazhu.cn/tutorial/ch04-lda/sec1-preprocessing.html</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/tutorial/ch04-lda/sec2-train.html</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/tutorial/ch04-lda/sec3-visualize.html</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <!-- CHAPTER 05 · 词频统计 -->
  <url><loc>https://babazhu.cn/tutorial/ch05-wordfreq/sec1.html</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/tutorial/ch05-wordfreq/sec2.html</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/tutorial/ch05-wordfreq/sec3.html</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <!-- CHAPTER 06 · 共现网络 -->
  <url><loc>https://babazhu.cn/tutorial/ch06-cooccurrence/sec1.html</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/tutorial/ch06-cooccurrence/sec2.html</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/tutorial/ch06-cooccurrence/sec3.html</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <!-- CHAPTER 07 · Word2Vec -->
  <url><loc>https://babazhu.cn/tutorial/ch07-word2vec/sec1.html</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/tutorial/ch07-word2vec/sec2.html</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/tutorial/ch07-word2vec/sec3.html</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <!-- CHAPTER 08 · 预处理 -->
  <url><loc>https://babazhu.cn/tutorial/ch08-preprocessing/sec1.html</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/tutorial/ch08-preprocessing/sec2.html</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/tutorial/ch08-preprocessing/sec3.html</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <!-- CHAPTER 09 · 爬虫 -->
  <url><loc>https://babazhu.cn/tutorial/ch09-crawl/sec1.html</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/tutorial/ch09-crawl/sec2.html</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/tutorial/ch09-crawl/sec3.html</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <!-- CHAPTER 10 · 图片 -->
  <url><loc>https://babazhu.cn/tutorial/ch10-image/sec1.html</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/tutorial/ch10-image/sec2.html</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/tutorial/ch10-image/sec3.html</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>

  <!-- ===== 博客：索引页 ===== -->
  <url>
    <loc>https://babazhu.cn/blog/</loc>
    <changefreq>weekly</changefreq>
    <priority>0.9</priority>
    <lastmod>2026-06-30</lastmod>
  </url>
  <url><loc>https://babazhu.cn/blog/archives/</loc><changefreq>weekly</changefreq><priority>0.7</priority></url>
  <url><loc>https://babazhu.cn/blog/categories/</loc><changefreq>weekly</changefreq><priority>0.6</priority></url>
  <url><loc>https://babazhu.cn/blog/tags/</loc><changefreq>weekly</changefreq><priority>0.6</priority></url>
  <url><loc>https://babazhu.cn/blog/about/</loc><changefreq>monthly</changefreq><priority>0.6</priority></url>

  <!-- ===== 博客：16 篇实战文章（按发布时间倒序，长尾关键词入口） ===== -->
  <url><loc>https://babazhu.cn/blog/2026/06/24/buy-guide-23-products/</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/blog/2026/06/23/histogram-data-analysis/</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/blog/2026/06/22/tts-text-to-speech/</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/blog/2026/06/21/semantic-network-graph/</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/blog/2026/06/20/sankey-diagram-guide/</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/blog/2026/06/19/web-scraper-anti-bot/</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/blog/2026/06/17/word2vec-similar-words/</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/blog/2026/06/16/word-frequency-analysis/</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/blog/2026/06/15/cooccurrence-network/</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/blog/2026/06/14/lda-topic-relation-mining/</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/blog/2026/06/13/lda-topic-evolution/</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/blog/2026/06/12/lda-coherence-vs-perplexity/</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/blog/2026/06/11/data-preprocessing-pipeline/</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/blog/2026/06/10/lda-topic-analysis/</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/blog/2026/06/09/sentiment-v3-dual-engine/</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
  <url><loc>https://babazhu.cn/blog/2026/06/08/equal-size-wordcloud/</loc><changefreq>monthly</changefreq><priority>0.8</priority></url>
</urlset>
