Skip to content

Pharma morphology (ru)

Tokenization and primary coding of specialized text

Code space map

The map below is a code space learned from a corpus of Russian pharmaceutical descriptions typically appearing on price tags and receipts.

Every coloured point is a code laid out in the two-dimensional map, colour encodes the code structure and brightness encodes local energy. Compared to the morphology space, the structure here is made of large smooth regions: the corpus is far more formulaic, so neighbouring codes share long fragments of vocabulary.


The viewer is a WebGL2 port of the desktop application used to build the map, so what you see here is what we saw while laying out the space.