Ejemplo n.º 1
0
        public void GetSynSetsTest()
        {
            var synsets = wordNet.GetSynSets("nice");

            Assert.NotNull(synsets);
            Assert.AreEqual(6, synsets.Count);
        }
Ejemplo n.º 2
0
        public void GetSynSetsTest()
        {
            if (wordNet == null)
            {
                throw new IgnoreException("WordNet dictionaries are not present.");
            }

            var synsets = wordNet.GetSynSets("nice");

            Assert.NotNull(synsets);
            Assert.AreEqual(6, synsets.Count);
        }