wn
wn copied to clipboard
A modern, interlingual wordnet interface for Python
Hi, if you try to loop through senses, then try to find hypernym paths, the code hangs. Looping through synsets is fine! For example, the code below will print the...
Compare the difference in the relation name for the `oewn` versus the `omw-fr` lexicons: ```pycon >>> import wn >>> wn.synsets('dog', pos='n', lexicon='oewn')[0].relations('hypernym') {'hypernym': [Synset('oewn-02085998-n'), Synset('oewn-01320032-n')]} >>> wn.synsets('chien', pos='n', lexicon='omw-fr')[0].relations('hypernym') {'omw-fr-10753546-n':...
When looking at relations for the omw-fr-00619230-n synset, I saw four *INFERRED* synsets for the hyponym relation and two for the has_domain_topic one. The oewn and omw-en lexicons both return...
The MCR wordnet candidate had some interesting issues with definitions, although they probably apply more broadly (definitely to examples). I don't think these are bugs, but possibly something we should...
In the Japanese wordnet we have some entries where we have created an ILIDefinition, but are still not ready to propose them. ```xml ヒノキの木材 wood of Japanese cypress ``` In...
*Updated:* This issue is for tracking the feature for modifying wordnets in the database through Wn. Currently the feature has low priority and won't be implemented unless there's a need....
In #157 I noticed that the "default mode" for queries is not documented, even though it is mentioned in the CHANGELOG and in some issues like #90 and #92. It...
SQL errors can be hard to understand, especially for a user of Wn. To avoid these, some validation of the LMF files should be performed, such as ensuring that all...
LMF Packages and Collections can have metadata files like README, LICENSE, and citation.bib, but these are not stored in the database. For downloaded files, they will persist in the cache,...
All interaction with the SQLite database backend is through direct SQL queries. This has worked so far but it might be worth exploring the use of an ORM instead, for...