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:
- Within-synset synonyms (words in the same synset are synonyms)
- 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.
Click to show internal directories.
Click to hide internal directories.