Alex Tantos
alextantos.bsky.social
Alex Tantos
@alextantos.bsky.social
2/2 Markdown rendering everywhere: lessons, questions, hints and menus are now displayed with MD formatting, making everything easier to read in the REPL.

The built-in Julia Basics course has been adapted to use these new features.
Check it out in action here: youtu.be/aEboVhipEfg

#JuliaLang
Swirl.jl: Multi-step code questions and full Markdown rendering!
YouTube video by Alex Tantos
youtu.be
November 12, 2025 at 3:26 PM
comparison.parameters → tunable parameters used for the building of the "comparison" object.
October 29, 2025 at 10:27 PM
comparison.effect_sizes → pairwise differences & Cohen’s d
October 29, 2025 at 10:26 PM
comparison.summary → number of collocates & mean scores
October 29, 2025 at 10:26 PM
comparison.results → collocates & scores per year (see the table below for the year 1814)
October 29, 2025 at 10:25 PM
What this call does
1️⃣ Splits the corpus into subcorpora by :year.
2️⃣ Analyzes each subcorpus using LLR to compute collocates of node_word.
3️⃣ Aggregates everything into structured outputs👇

#JuliaLang #CorpusLinguistics #AssociationAnalysis #TextAssociations.jl #NLP #DigitalHumanities
October 29, 2025 at 10:25 PM
julia>comparison = compare_subcorpora(
corpus_df,
:year, # Split corpus by year
node_word, # Word to analyze
LLR; # Association (Log-Likelihood Ratio)
windowsize = 5,
minfreq = 1
)
#JuliaLang #CorpusLinguistics #AssociationAnalysis #TextAssociations.jl #NLP #DigitalHumanities
Home · TextAssociations.jl
Documentation for TextAssociations.jl.
atantos.github.io
October 29, 2025 at 10:24 PM
And here is the resulting DataFrame
#JuliaLang #TextAssociations.jl
October 13, 2025 at 11:02 AM
October 4, 2025 at 8:18 PM
The package is now publicly available as an early release (not yet registered in the Julia package registry), and you can already explore its functionality on GitHub:
🔗 github.com/atantos/Text...

Feedback, ideas, and experiments are welcome. 7/7
GitHub - atantos/TextAssociations.jl
Contribute to atantos/TextAssociations.jl development by creating an account on GitHub.
github.com
October 4, 2025 at 8:18 PM
Many well-known and lesser-known association measures, together with tools for collocation network analysis, are now coming together under one roof complemented by powerful corpus-based functionality. 6/n
GitHub - atantos/TextAssociations.jl
Contribute to atantos/TextAssociations.jl development by creating an account on GitHub.
github.com
October 4, 2025 at 8:18 PM
revealing what is salient within a given dataset, discourse, or community.

A new #JuliaLang package, TextAssociations.jl, is taking shape, laying the groundwork for exploring how words connect and co-occur in a transparent, data-driven way. 5/n
GitHub - atantos/TextAssociations.jl
Contribute to atantos/TextAssociations.jl development by creating an account on GitHub.
github.com
October 4, 2025 at 8:17 PM
under one roof, alongside corpus-based functionality.

While embeddings and RAG systems operate within pretrained semantic spaces, association measures remain essential for interpretable, corpus-based insights. They quantify how often words co-occur beyond what chance would predict, 1/4
GitHub - atantos/TextAssociations.jl
Contribute to atantos/TextAssociations.jl development by creating an account on GitHub.
github.com
October 4, 2025 at 8:16 PM
A new Julia package called TextAssociations is taking shape, building a foundation for studying how words connect and co-occur in a transparent, data-driven way.
Many familiar and less familiar association measures as well as the building collocation network analysis are finally coming together 3/n
GitHub - atantos/TextAssociations.jl
Contribute to atantos/TextAssociations.jl development by creating an account on GitHub.
github.com
October 4, 2025 at 8:16 PM
While embeddings and RAG systems operate on pretrained semantic spaces, association measures remain essential for interpretable, corpus-based evidence. They quantify how often words co-occur compared to chance, showing what is salient within a specific dataset or community. 2/n
GitHub - atantos/TextAssociations.jl
Contribute to atantos/TextAssociations.jl development by creating an account on GitHub.
github.com
October 4, 2025 at 8:14 PM
Thank you for your kind words!
December 5, 2024 at 10:53 AM