- Introduced by
- Dmitry Paranyushkin; Jana Diesner & Kathleen M. Carley
- Year
- 2011 (Paranyushkin); 2005 (Diesner & Carley)
- Type
- Text-mining network method
What does it do?
Text network analysis represents the words or concepts in a text as nodes and their co-occurrences as edges, then applies network metrics to describe the structure of the resulting graph.
It is used to find which concepts are central, how ideas cluster, and which terms connect otherwise separate themes.
The intuition behind the method
A document is more than a bag of words, because meaning partly lives in how words appear together. If two terms repeatedly occur within the same span of text, they are linked; if a term sits between many otherwise unconnected terms, it acts as a bridge. Turning text into a graph of co-occurring terms makes these relations visible, so the analyst can see which concepts are central, which clusters form, and which words join different themes, instead of reading the corpus term by term.
History
Word co-occurrence networks draw on a long tradition of co-word and content analysis, in which the joint appearance of terms within a text was taken as a sign of association between the ideas they express. Applying graph metrics such as centrality to these co-occurrence structures is the step that turns such counts into a network analysis.
When to use it
Choose text network analysis when you have a preprocessed text corpus and a question about how concepts relate, for example which terms hold a discourse together or how themes connect. It suits exploratory work where association between terms is the object of interest. Do not use it when the question concerns grammatical or causal relations between terms, since co-occurrence does not encode them, or when you have only a handful of documents. As a rough guide, a corpus of around 20 documents or more is a reasonable starting point. There is no fixed threshold, because the stability of the structure depends on corpus size, document length and the chosen window, so check it on your own data.
Limitations and considerations
- The network depends on the chosen co-occurrence window: a wider window links more pairs and can create links that reflect only proximity, while a narrower window keeps fewer and possibly weaker associations.
- Edge weights and node identities depend on preprocessing decisions such as tokenisation and normalisation; inconsistent normalisation splits concepts into separate nodes and redistributes their edge weights.
- Co-occurrence records association only. It does not distinguish direction, syntax, or cause between two terms that appear together.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Shows relational structure, such as central concepts, bridging terms and clusters, which a simple frequency count does not reveal.
- Produces both an interpretable graph and quantitative network metrics from the same co-occurrence data, so the result can be inspected visually and measured.
- Lets the analyst vary the co-occurrence window and see how the structure responds, which makes the sensitivity of conclusions to this choice visible.
Applications
- Mapping the central concepts and themes in a corpus of documents or interviews.
- Tracing how ideas connect and circulate across political, media, or social discourse.
- Identifying bridging terms that link otherwise separate topic clusters.
- Exploring the conceptual structure of academic literature or organisational communication.
How it works
How it works
The raw text is tokenised, cleaned of noise, and normalised so that the same concept is counted under one form. If this step is inconsistent, the same concept appears as several nodes and the co-occurrence counts are split and unreliable.
A co-occurrence window is defined, such as a sentence, a paragraph, or a sliding span of a few words, within which two terms count as appearing together. This choice determines which word pairs become linked and how dense the network is, so it should be made deliberately and reported.
Each word or concept becomes a node, and each co-occurring pair becomes an edge whose weight reflects how often the pair appears together within the chosen window. The graph therefore encodes the relational pattern of the text rather than only its vocabulary. Whether the counts are normalised, and how, is an implementation choice that should be reported with the results.
Metrics are computed over the graph. Betweenness centrality measures the share of shortest paths between other pairs of terms that pass through a given term, so it is high for terms that bridge otherwise separate parts of the discourse. Other centrality measures describe the most influential concepts, and clustering measures group the terms that are more densely linked to one another than to the rest of the graph. The specific clustering algorithm should be named in the report.
Common pitfalls
- Rushing preprocessing leaves duplicate or fragmented nodes, so the centrality and clustering values describe artefacts of tokenisation rather than the text.
- Choosing the window without justification: a window that is too wide inflates spurious links, and one that is too narrow misses real associations. Check that the structure holds for neighbouring window sizes.
- Running the analysis on a very small corpus, where the network structure is unstable and easily over-interpreted.
- Reading co-occurrence edges as grammatical, causal, or intentional relations between the terms.
Frequently asked questions
How is text network analysis different from word frequency analysis?
Frequency analysis counts how often each word appears in isolation. Text network analysis instead models how words co-occur, building a graph whose edges capture relationships. It tells you not just which terms are common but which are central, which bridge different themes, and how concepts cluster together.
How do I choose the co-occurrence window?
The window defines the span within which two terms count as appearing together, for example a sentence, a paragraph, or a sliding window of a few words. There is no universal value: a wider window creates a denser network with more links, a narrower one keeps only the closest associations. Choose it on the basis of your unit of meaning and check whether the resulting structure holds for nearby window sizes.
What do the network metrics tell me?
Centrality metrics such as betweenness highlight the terms that bridge different parts of the discourse and the concepts that hold the network together. Combined with clustering measures, they show which ideas are most influential and how the terms group into communities across the corpus.
How much text do I need?
As a rough guide, around 20 documents or more is a reasonable starting point. There is no fixed threshold: with far fewer documents the graph can be dominated by noise, and the required size depends on document length and the window. Check the stability of the structure on your own data, for example by comparing results across neighbouring window sizes.
Related methods
Sources
Paranyushkin, D. (2011). Identifying the Pathways for Meaning Circulation Using Text Network Analysis. Nodus Labs.
Open publication referenceDiesner, J. & Carley, K. M. (2005). Exploration of Communication Networks from the Enron Email Corpus. SIAM International Conference on Data Mining, Workshop on Link Analysis, Counterterrorism and Security.
Open publication reference