clj-wordnet
clj-wordnet copied to clipboard
Missing paren in :synset demo query
From readme.md:
(map :lemma (words (:synset dog))
=> ("dog" "domestic_dog", "Canis_familiaris")
Is it missing just a paren, or something more? I tried closing the s-expr, but Clojure's having trouble resolving "words" in this context. The other examples from the docs work great.
Hi, seems like the docs are out-of-date - you are right: there is a missing ), but words should work.
However I think the underlying problem is that there is no longer a :synset attribute on dog:
(println dog)
=> {:id WID-02086723-N-01-dog, :pos :noun, :lemma dog}
(:synset dog)
=> nil
Likewise :gloss.
I no longer have commit access, and am unsure whether it is actively maintained any more - sorry.