PE
petargyurov/word-chains
Exploring word definition networks
⛓️💥 Word Chains
Exploring word definition networks, i.e: how do words used in other word's definitions create a network.
Read the blog post.
How to use
- use
generate_chains.pyto create thechains.jsfile (or just grab it fromdata/chains.js)- you'll need to install the Wn package
- use
solveNetwork.htmlto visualise a network using physics (and export it) - use
visualiseNetwork.htmlto visualise a pre-computed network
Inside the data/ folder you will find:
chains.js: pre-computed nodes and edgeslargeNetwork.js: pre-computed network of 5839 nodes and 10000 edgessmallNetwork.js: pre-computed network of ~1000 nodes
Notes
solveNetwork.htmlis currently limiting the number of edges to 10000, feel free to changevisualiseNetwork.htmlis settingphysicsandimprovedLayouttotrue; set these tofalseif visualising the large network.
