Open crystalfp opened 6 years ago
Yes, I get similar results. The implementation is not robust for invalid synset offsets. I tried the same offset with https://github.com/morungos/wordnet which is an improved implementation of natural's Wordnet connector, and that one returns null as a result. Clearly, natural's implementation needs further development.
I know wordnet is still experimental, but maybe the following behavior could help its development Installed natural and wordnet-db (latest as per today), then run the following in node. The synnet is just a random number.
Then the window where I run Node freezes and after ten seconds the following is output: