Alterlab Digital Humanities 标志

Alterlab Digital Humanities

组织
NVlabs
alterlab-digital-humanities

Applies computational methods to humanities research — text mining and NLP (LDA/BERTopic topic modeling, sentiment, named entity recognition with spaCy/NLTK), corpus linguistics (concordance, collocation, keyness), digital archives (Dublin Core, TEI XML), GIS for history, network analysis, stylometry and authorship attribution, OCR (Tesseract, Kraken, Transkribus), and data visualization (Gephi, Palladio). Use when distant-reading a literary corpus, mapping historical events or trade networks, attributing disputed authorship, digitizing historical documents, or building digital scholarly editions. Part of the AlterLab Academic Skills suite.

概览

发布者NVlabs
代码仓库Skill2Env
技能名称alterlab-digital-humanities
星标数
189
复刻数
18
附带文件
3
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 3 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 NVlabs 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Alterlab Digital Humanities AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/NVlabs/Skill2Env/tree/main/SkillHub/skills/alterlab-digital-humanities
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/NVlabs/Skill2Env.git /tmp/Skill2Env
mkdir -p .claude/skills
cp -r /tmp/Skill2Env/SkillHub/skills/alterlab-digital-humanities .claude/skills/alterlab-digital-humanities
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Alterlab Digital Humanities,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Alterlab Digital Humanities。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Alterlab Digital Humanities 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Digital Humanities Methods and Tools

Overview

Digital humanities (DH) applies computational methods to the study of human culture, history, language, and society. It is not the replacement of humanistic inquiry with algorithms but the augmentation of interpretive scholarship with tools that can reveal patterns invisible to unaided reading, connect dispersed archives, visualize historical processes, and make cultural heritage accessible to broader audiences.

This skill covers the major computational methods used in humanities research: text mining and natural language processing (topic modeling with LDA and BERTopic, sentiment analysis, named entity recognition), corpus linguistics (concordance, collocation, frequency analysis, keyness), digital archiving and metadata standards (Dublin Core, TEI XML), geographic information systems (GIS) for historical research, network analysis of historical figures and literary characters, stylometry and computational authorship attribution, optical character recognition (OCR) workflows for digitizing historical texts, digital scholarly editions, data visualization for humanities data, distant reading as theorized by Franco Moretti, cultural analytics as developed by Lev Manovich, and the Python ecosystem for humanities computing (spaCy, NLTK, Voyant Tools, AntConc).

The skill is designed for humanities scholars who want to integrate computational methods into their research -- whether they are analyzing Victorian novels, mapping colonial trade networks, studying the evolution of political rhetoric, or building digital archives of endangered languages. No prior programming experience is assumed, though some methods require basic Python or R skills. For each method, the skill describes the intellectual rationale, practical implementation, available tools (from no-code to full programming), and critical perspectives on the method's limitations.

When to Use This Skill

Use this skill when you need to:

  • Apply topic modeling (LDA, BERTopic) to a large text corpus to discover thematic patterns
  • Perform sentiment analysis on historical texts, literary works, or political discourse
  • Extract named entities (people, places, organizations, dates) from unstructured text
  • Conduct corpus linguistics analysis: concordance, collocation, frequency, keyness
  • Create or work with digital archives using Dublin Core or TEI XML metadata standards
  • Use GIS to map historical events, trade routes, migration patterns, or spatial narratives
  • Build and analyze networks of historical figures, literary characters, or intellectual influence
  • Attribute authorship of disputed texts using stylometry and computational methods
  • Digitize historical documents using OCR (Tesseract, Kraken, Transkribus)
  • Create digital scholarly editions with critical apparatus
  • Visualize humanities data using Palladio, Gephi, or custom tools
  • Apply distant reading methods to analyze literary trends across large corpora
  • Conduct cultural analytics on visual media, social media, or digital culture
  • Work with Python NLP tools (spaCy, NLTK) for humanities text analysis

Core Capabilities

Each capability below gives the WHAT/WHEN and the tools to reach for. Worked examples, code, parameter tables, and tool-comparison matrices live in the references (see the index at the end).

Text Mining and NLP

NLP analyzes text at scales impossible for human readers — not a replacement for close reading but a complement that identifies patterns across thousands of texts and guides which passages to read closely.

  • Topic modeling — discover latent themes. LDA (bag-of-words, specify k) for classic distant reading; BERTopic (transformer embeddings + HDBSCAN, auto k) for short/modern text and semantic coherence.
  • Sentiment analysis — emotional valence over a text (e.g. a novel's emotional arc). Lexicon (VADER/NRC) → ML → transformer, in increasing accuracy and cost. Validate against human annotation; modern models misclassify historical prose.
  • Named entity recognition (NER) — extract people, places, organizations, dates. spaCy is the best general-purpose tool; fine-tune on annotated historical text for archaic spelling and unfamiliar entities.

→ references/methods-and-examples.md (LDA workflow + example, BERTopic code, sentiment-arc code, NER tools + fine-tuning code).

Corpus Linguistics

Empirical analysis of large, structured text collections.

  • Concordance (KWIC) — every occurrence of a term in context; reveals usage patterns and collocates.
  • Collocation — statistically significant co-occurring words (MI, t-score, log-likelihood, Log Dice).
  • Frequency and keyness — keyness compares two corpora to surface what is distinctive about one.
  • Tools: AntConc and Voyant (no-code), Sketch Engine / CQPweb (web), NLTK / quanteda (programmable).

→ references/methods-and-examples.md (KWIC/keyness examples, measure-comparison and software tables) and references/dh-tools-guide.md (AntConc and Voyant panel references, statistical measures).

Digital Archives and Metadata

  • Dublin Core — 15-element universal metadata vocabulary for describing digital resources.
  • TEI XML — the standard for encoding literary/historical texts and building digital scholarly editions (<persName>, <placeName>, <app>/<rdg> apparatus, <del>/<add>, <unclear>, <gap>, <choice>).

→ references/methods-and-examples.md (Dublin Core element table, full TEI document example, key-element table) and references/dh-tools-guide.md (essential TEI elements).

GIS for Historical Research

Spatial analysis of historical data — georeferencing old maps, event/trade-route mapping, literary geography, urban and environmental history. QGIS (free, full-featured) or ArcGIS; Palladio for humanities-friendly map+network views.

→ references/methods-and-examples.md (tool table, georeferencing workflow) and references/dh-tools-guide.md (detailed QGIS georeferencing).

Network Analysis for Historical Figures

Reveals connection, influence, and community structure among historical actors (correspondence, co-occurrence, citation, kinship, trade, organizational networks). Build an edge list, then analyze in Gephi, NetworkX, or igraph (centrality, community detection, temporal filtering).

→ references/methods-and-examples.md (network-type table, source-to-edge-list workflow).

Stylometry and Authorship Attribution

Statistical analysis of writing style — especially function-word frequencies — to attribute disputed texts. Burrows Delta (z-scores of most-frequent words) is the dominant method; run via the stylo R package, PyDelta, or JGAAP. Needs 2,000-5,000+ words per sample and genre-matched comparisons.

→ references/methods-and-examples.md (feature/tool tables, Delta algorithm, stylo R example) and references/dh-tools-guide.md (complete stylo guide).

OCR Workflows

Convert images of text to machine-readable text; OCR quality is critical for all downstream analysis. Tesseract (general), Kraken (historical/non-Latin scripts), Transkribus (handwriting/HTR). Always report Character Error Rate (target CER < 5%, ideally < 2%).

→ references/methods-and-examples.md (engine table, prep→process→post→QA workflow, Tesseract commands) and references/dh-tools-guide.md (Tesseract/Kraken/Transkribus configuration).

Digital Scholarly Editions

Primary texts with critical apparatus, annotation, facsimiles, search, and stable identifiers — beyond digitized facsimiles. Platforms: EVT, Versioning Machine, TextGrid, FromThePage, Scripto, IIIF.

→ references/methods-and-examples.md (components list, platform table).

Data Visualization for Humanities

Visualization serves both analysis and argument. Palladio (maps/networks/timelines), Gephi (networks), Voyant (text), StoryMapJS/TimelineJS (narrative), D3.js (custom). Treat uncertainty as data, integrate visuals into argument, use accessible palettes, document for reproducibility.

→ references/methods-and-examples.md (tool table, visualization principles).

Distant Reading and Cultural Analytics

  • Distant reading (Moretti) — quantitative analysis of large literary corpora: genre trends, title analysis, plot/sentiment trajectories, character networks, stylistic change over literary history.
  • Cultural analytics (Manovich) — extends distant reading to images, video, social media, and interface design using OpenCV, Pillow, scikit-image, and related tools.

→ references/methods-and-examples.md (methods, Moretti's arguments, cultural-analytics Python tools).

Python Tools for Humanities Computing

spaCy (industrial NLP: NER, POS, dependency parsing, lemmatization), NLTK (educational corpora, frequency, concordance, collocations), plus no-code Voyant and desktop AntConc.

→ references/methods-and-examples.md (spaCy and NLTK code, Voyant/AntConc capability summaries).

Best Practices and Pitfalls

  • Start with a humanistic question; choose the simplest tool that works; learn iteratively; document every corpus, preprocessing, and parameter decision; validate computational patterns with close reading.
  • Corpus construction is an argument — justify inclusion/exclusion. Report OCR error rates and preprocessing choices. Preserve raw originals separately.
  • Interpretation is required — topic models and visualizations do not speak for themselves; acknowledge each method's blind spots and situate findings in disciplinary scholarship.
  • Common pitfalls: black-box NLP use; anachronistic sentiment models on historical text; overclaiming from topics; small corpus with big claims; false geographic precision; stylometry with too little text or genre contamination.

→ references/methods-and-examples.md (full Best Practices and Pitfalls checklists) and references/dh-tools-guide.md (recommended project workflows by scale).

Reference Index

  • references/methods-and-examples.md — worked examples, code (LDA/BERTopic/sentiment/NER/spaCy/NLTK/stylo/Tesseract), parameter and tool-comparison tables, the full TEI document example, and complete Best-Practices/Pitfalls/References sections.
  • references/dh-tools-guide.md — tool comparison matrix, topic-modeling parameter tuning, AntConc/Voyant panel references, OCR engine configuration (Tesseract/Kraken/Transkribus), essential TEI elements, QGIS georeferencing, the complete stylo R guide, recommended project workflows by scale, and further reading.

References (selected)

  • Moretti, F. (2005). Graphs, Maps, Trees. Verso. — (2013). Distant Reading. Verso.
  • Manovich, L. (2020). Cultural Analytics. MIT Press.
  • Blei, D. M., Ng, A. Y., & Jordan, M. I. (2003). Latent Dirichlet Allocation. JMLR, 3, 993-1022.
  • Grootendorst, M. (2022). BERTopic. arXiv:2203.05794.
  • Burrows, J. (2002). Delta. Literary and Linguistic Computing, 17(3), 267-287.
  • Burnard, L., & Bauman, S. (Eds.). (2023). TEI P5 Guidelines. TEI Consortium.

Full bibliography in references/methods-and-examples.md.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Alterlab Digital Humanities AI 技能有什么作用?

Applies computational methods to humanities research — text mining and NLP (LDA/BERTopic topic modeling, sentiment, named entity recognition with spaCy/NLTK), corpus linguistics (concordance, collocation, keyness), digital archives (Dublin Core, TEI XML), GIS for history, network analysis, stylometry and authorship attribution, OCR (Tesseract, Kraken, Transkribus), and data visualization (Gephi, Palladio). Use when distant-reading a literary corpus, mapping historical events or trade networks, attributing disputed authorship, digitizing historical documents, or building digital scholarly ed...

为什么在 TypingMind 中使用 Alterlab Digital Humanities?

因为您只需安装一次,就能搭配任何模型使用。Alterlab Digital Humanities 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Alterlab Digital Humanities?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/NVlabs/Skill2Env/tree/main/SkillHub/skills/alterlab-digital-humanities。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Alterlab Digital Humanities?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Alterlab Digital Humanities 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Alterlab Digital Humanities 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Alterlab Digital Humanities AI 技能免费吗?

是的。NVlabs 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇