Closed goodmami closed 2 years ago
In the change to the new LMF parser, the code to insert syntactic behaviours is currently broken in the way it links them to senses. For example, here's a sense with subcat frames specified:
... <LexicalEntry id="omw-en-chase-v"> <Lemma writtenForm="chase" partOfSpeech="v" /> <Sense id="omw-en-chase-02001858-v" synset="omw-en-02001858-v" dc:identifier="chase%2:38:00::" subcat="frame-8 frame-9 frame-10"> ...
And here's what happens when attempting to retrieve them:
>>> import wn >>> en = wn.Wordnet('omw-en') >>> en.sense('omw-en-chase-02001858-v').frames() []
It seems that currently WN-LMF 1.0 syntactic behaviours are working, at least partially, so the tests are passing.
In the change to the new LMF parser, the code to insert syntactic behaviours is currently broken in the way it links them to senses. For example, here's a sense with subcat frames specified:
And here's what happens when attempting to retrieve them:
It seems that currently WN-LMF 1.0 syntactic behaviours are working, at least partially, so the tests are passing.