Repository navigation
navigate synsets w/o nested list comprehensions #136
vsraptor
started this conversation in
Show and tell
Replies: 3 comments
|
Thanks, that looks useful. But note that there's no reason to do I'll close this issue as it is not a feature request or bug report. |
0 replies
|
doesnt github have some option not to create Issue every time.. i see on some repos Q/A and Discussions which are suitable for such things |
0 replies
I've opened up discussions and moved some issues there: https://github.com/goodmami/wn/discussions/ |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
More detailed example with docs :
https://gist.github.com/vsraptor/8815944d1e75947ad0c3676c0279519a
here is an easy way to navigate around w/o nested list-comprehensions using pipe module :
get back connected words through synsets : words => synsets => words
list(wn.words('book') | syns | chain | ws )chain is flattening iterables
i also have this monkey patching :
All reactions