WordNetPlusPlusSenseInventory extends WordNetSynsetSenseInventory { @Override public UndirectedGraph<String, UnorderedPair<String>> getUndirectedGraph() throws SenseInventoryException { return undirectedWNPPGraph; } WordNetPlusPlusSenseInventory(InputStream propertiesStream,
            InputStream wordNetPlusPlusStream, double similarityThreshold);  WordNetPlusPlusSenseInventory(URL propertiesURL,
            URL wordNetPlusPlusRelationsURL, double similarityThreshold); @Override UndirectedGraph<String, UnorderedPair<String>> getUndirectedGraph(); @Override Set<String> getSenseNeighbours(String senseId);  }
@Ignore @Test(expected = UnsupportedOperationException.class) public void testGraphModification() throws Exception { WordNetPlusPlusSenseInventory si = new WordNetPlusPlusSenseInventory( new URL( "file: new URL( "file: Graph<String, UnorderedPair<String>> g = si.getUndirectedGraph(); Graph<String, UnorderedPair<String>> h = si.getUndirectedGraph(); assertEquals(g, h); g.addVertex("Foo"); }