Text2landscape
Visualize a corpus of texts as a landscape with the aid of text mining, graph visualization and self-organizing maps
Install / Use
/learn @aourednik/Text2landscapeREADME
Text2Landscape
An R markdown notebook
The core of this repository is an Rmd notebook that allows you to transform a corpus of texts to a landscape by the tools of computer linguistics, statistics and data visualization packages. Download it and open it in RStudio or VSCode to experiment with the code, or to apply it to your own corpus. Forks and pull requests are welcome!

Introduction
You will find no realistic landscapes prior to the Renaissance. The saints of medieval murals float in a conceptual space informed by hierarchies and symbolic relations; so do those of the Prajñāpāramitā Sūtras. The word "landscape" appears with the Dutch painters of the 15th century. A landscape is a part of the world perceived by a human being at a given moment; an arrangement of features and shapes in a limited space. The Dutch were focused on natural landscapes. Late 20th-century urbanism deals with urban landscapes.
A text can be transformed into a landscape by the tools of computer linguistics, statistics and data visualization packages. Here we work with the example of three texts by the French geographer, writer and anarchist Élisée Reclus: Histoire d'une Montagne, Histoire d'un ruisseau and L'Anarchie.
Visualize the frequencies


The Text as a Network of Word Co-occurrence
Calculate the feature co-occurrence matrix

Visualise the graph

3D variant

Self-organizing map from network
From the feature-coocurrence matrix to a positional matrix with multidemensional scaling

From MDS to SOM


The biofabric layout

Word Embeddings
Principal Component Analysis

Self-organizing Map

Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
Security Score
Audited on Jun 26, 2025
