Logo Alterlab Digital Humanities

Alterlab Digital Humanities

Tổ chức
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.

Tổng quan

Nhà phát hànhNVlabs
Kho mãSkill2Env
Tên kỹ năngalterlab-digital-humanities
Sao
189
Bản fork
18
Tệp đi kèm
3
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 3 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được NVlabs công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Alterlab Digital Humanities trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/NVlabs/Skill2Env/tree/main/SkillHub/skills/alterlab-digital-humanities
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Alterlab Digital Humanities trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Alterlab Digital Humanities ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Alterlab Digital Humanities với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Alterlab Digital Humanities làm được gì?

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...

Vì sao nên dùng Alterlab Digital Humanities trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Alterlab Digital Humanities là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Alterlab Digital Humanities trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/NVlabs/Skill2Env/tree/main/SkillHub/skills/alterlab-digital-humanities. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Alterlab Digital Humanities?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Alterlab Digital Humanities với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Alterlab Digital Humanities với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Alterlab Digital Humanities có miễn phí không?

Có. Kỹ năng này được NVlabs phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇