Skip to content

Conversation

@goodmami
Copy link
Owner

This PR does 3 things:

  • Adds a data parameter to Synset.relations() and Sense.relations(), following the behavior of other methods, that returns a mapping of Relation to related when True, and (as currently) a mapping of relation names to lists of related when False.
  • Removes the Synset.relation_map() and Sense.relation_map() methods.
  • Adds a new Sense.synset_relations() method.

@goodmami goodmami merged commit bf22c47 into main Jan 11, 2026
14 checks passed
@goodmami goodmami deleted the gh-271-relations-data branch January 11, 2026 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants