scripts

command
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Command gensynonyms parses WordNet data files and generates a curated synonym JSON file for embedding in the markata-go binary.

It extracts synonym groups from two sources:

  1. Within-synset synonyms (words in the same synset are synonyms)
  2. Cross-POS derivational links ("+" and "\" pointers) that connect related words across parts of speech (e.g., lunar adj → moon noun)

Groups are merged via union-find when they share words, producing unified synonym clusters.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL