This is an experiment in displaying vocabulary as a (network) graph of related words and phrases. When you look at a word, you can see a graph of related words:
Words could be related for a number of reasons; what's important is that the relation makes them easier to remember. For example:
- If they have a common component or root
- If they have a related meaning (such as words for family members, or directions, or modes of transport)
- If they trigger a shared memory
I find it easier to remember a cluster of related words, than to learn each word separately. I often draw word graphs by hand; this allows me to draw graphs on a bigger scale.
You can read more in the accompanying blog post, or play with the app on Glitch.
The heavy lifting is done by two libraries:
The graph is created entirely in networkx, then saved to JSON (phrases_zh.json
).
The web app pulls out the appropriate nodes/edges and passes them to D3 to render.
This was an experiment to see if representing vocabulary as a graph was useful. The code is pretty rough and not meant for other people to use.