﻿<?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>
  <url>
    <loc>https://babazhu.cn/blog/2026/06/05/crawler-anti-block/index.html</loc>
    <lastmod>2026-06-05</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/06/05/lda-topic-k/index.html</loc>
    <lastmod>2026-06-05</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/06/05/sentiment-preprocess/index.html</loc>
    <lastmod>2026-06-05</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/06/05/sentiment-threshold/index.html</loc>
    <lastmod>2026-06-05</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/06/05/wordcloud-font/index.html</loc>
    <lastmod>2026-06-05</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/06/05/wordfreq-stopwords/index.html</loc>
    <lastmod>2026-06-05</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/06/05/wordfreq-userdict/index.html</loc>
    <lastmod>2026-06-05</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/06/12/cooccurrence-intro/index.html</loc>
    <lastmod>2026-06-12</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/06/12/crawler-storage/index.html</loc>
    <lastmod>2026-06-12</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/06/12/lda-interpret/index.html</loc>
    <lastmod>2026-06-12</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/06/12/preprocess-duplicate/index.html</loc>
    <lastmod>2026-06-12</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/06/12/preprocess-excel-encoding/index.html</loc>
    <lastmod>2026-06-12</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/06/12/preprocess-missing/index.html</loc>
    <lastmod>2026-06-12</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/06/12/wordcloud-shape/index.html</loc>
    <lastmod>2026-06-12</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/06/19/cooccurrence-read/index.html</loc>
    <lastmod>2026-06-19</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/06/19/crawler-incremental/index.html</loc>
    <lastmod>2026-06-19</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/06/19/jieba-speed/index.html</loc>
    <lastmod>2026-06-19</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/06/19/jieba-userdict-advanced/index.html</loc>
    <lastmod>2026-06-19</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/06/19/lda-segmentation/index.html</loc>
    <lastmod>2026-06-19</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/06/19/sentiment-model-choice/index.html</loc>
    <lastmod>2026-06-19</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/06/19/wordcloud-pro-tips/index.html</loc>
    <lastmod>2026-06-19</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/06/26/cooccurrence-pro/index.html</loc>
    <lastmod>2026-06-26</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/06/26/crawler-anti-block-advanced/index.html</loc>
    <lastmod>2026-06-26</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/06/26/lda-deploy/index.html</loc>
    <lastmod>2026-06-26</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/06/26/script-to-product/index.html</loc>
    <lastmod>2026-06-26</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/06/26/sentiment-realtime/index.html</loc>
    <lastmod>2026-06-26</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/06/26/sentiment-report/index.html</loc>
    <lastmod>2026-06-26</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/06/26/wordcloud-commercial/index.html</loc>
    <lastmod>2026-06-26</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/07/03/clustering-kmeans/index.html</loc>
    <lastmod>2026-07-03</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/07/03/keyword-textrank-vs-tfidf/index.html</loc>
    <lastmod>2026-07-03</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/07/03/ner-self-vs-model/index.html</loc>
    <lastmod>2026-07-03</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/07/03/similarity-three/index.html</loc>
    <lastmod>2026-07-03</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/07/03/summarization-textrank/index.html</loc>
    <lastmod>2026-07-03</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/07/03/tfidf-handwritten/index.html</loc>
    <lastmod>2026-07-03</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/07/03/vectorization-evolution/index.html</loc>
    <lastmod>2026-07-03</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/07/10/argparse-three-min/index.html</loc>
    <lastmod>2026-07-10</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/07/10/config-management/index.html</loc>
    <lastmod>2026-07-10</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/07/10/exception-handling/index.html</loc>
    <lastmod>2026-07-10</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/07/10/logging-print-retire/index.html</loc>
    <lastmod>2026-07-10</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/07/10/pandas-fast/index.html</loc>
    <lastmod>2026-07-10</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/07/10/pytest-basics/index.html</loc>
    <lastmod>2026-07-10</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/07/10/regex-10-patterns/index.html</loc>
    <lastmod>2026-07-10</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/07/17/api-design/index.html</loc>
    <lastmod>2026-07-17</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/07/17/bert-finetune/index.html</loc>
    <lastmod>2026-07-17</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/07/17/fastapi-docker-mvp/index.html</loc>
    <lastmod>2026-07-17</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/07/17/label-studio/index.html</loc>
    <lastmod>2026-07-17</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/07/17/mysql-basics/index.html</loc>
    <lastmod>2026-07-17</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/07/17/redis-five-scenarios/index.html</loc>
    <lastmod>2026-07-17</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/07/17/scheduler-comparison/index.html</loc>
    <lastmod>2026-07-17</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/07/24/client-channels/index.html</loc>
    <lastmod>2026-07-24</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/07/24/data-compliance/index.html</loc>
    <lastmod>2026-07-24</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/07/24/delivery-checklist/index.html</loc>
    <lastmod>2026-07-24</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/07/24/long-term-growth/index.html</loc>
    <lastmod>2026-07-24</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/07/24/personal-ip/index.html</loc>
    <lastmod>2026-07-24</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/07/24/pricing-three-step/index.html</loc>
    <lastmod>2026-07-24</lastmod>
  </url>
  <url>
    <loc>https://babazhu.cn/blog/2026/07/24/requirement-confirm-email/index.html</loc>
    <lastmod>2026-07-24</lastmod>
  </url>
</urlset>
