@Ignore @Test(expected = SenseInventoryException.class) public void noSuchSense() throws SenseInventoryException { si.getSenseDescription("-500"); }
@Override public String getSenseDescription(String senseId) throws SenseInventoryException { String description = senseDescriptionFormat.replace("%d", getSenseDefinition(senseId)); description = description.replace("%e", getSenseExamples(senseId) .toString()); description = description.replace("%w", getSenseWords(senseId) .toString()); return description; }
GermaNetLexUnitSenseInventory extends SenseInventoryBase implements SenseDictionary, SenseTaxonomy { @Override public String getSenseDescription(String senseId) throws SenseInventoryException { String description = senseDescriptionFormat.replace("%d", getSenseDefinition(senseId)); description = description.replace("%e", getSenseExamples(senseId) .toString()); description = description.replace("%w", getSenseWords(senseId) .toString()); return description; } }
GermaNetLexUnitSenseInventory extends SenseInventoryBase implements SenseDictionary, SenseTaxonomy { @Override public String getSenseDescription(String senseId) throws SenseInventoryException { String description = senseDescriptionFormat.replace("%d", getSenseDefinition(senseId)); description = description.replace("%e", getSenseExamples(senseId) .toString()); description = description.replace("%w", getSenseWords(senseId) .toString()); return description; } GermaNetLexUnitSenseInventory(String gnetDirectory); }
GermaNetLexUnitSenseInventory extends SenseInventoryBase implements SenseDictionary, SenseTaxonomy { @Override public String getSenseDescription(String senseId) throws SenseInventoryException { String description = senseDescriptionFormat.replace("%d", getSenseDefinition(senseId)); description = description.replace("%e", getSenseExamples(senseId) .toString()); description = description.replace("%w", getSenseWords(senseId) .toString()); return description; } GermaNetLexUnitSenseInventory(String gnetDirectory); GermaNet getUnderlyingResource(); @Override Map<String, List<String>> getSenseInventory(); @Override List<String> getSenses(String sod); @Override List<String> getSenses(String sod, POS pos); @Override String getMostFrequentSense(String sod); @Override String getMostFrequentSense(String sod, POS pos); @Override String getSenseDescription(String senseId); @Override String getSenseInventoryName(); @Override UndirectedGraph<String, UnorderedPair<String>> getUndirectedGraph(); @Override void setUndirectedGraph(
            UndirectedGraph<String, UnorderedPair<String>> graph); @Override Set<String> getSenseNeighbours(String senseId); @Override Set<String> getSenseExamples(String senseId); @Override Set<String> getSenseWords(String senseId); @Override String getSenseDefinition(String senseId); @Override POS getPos(String senseId); void setSenseDescriptionFormat(String format); @Override int getUseCount(String senseId); }
GermaNetLexUnitSenseInventory extends SenseInventoryBase implements SenseDictionary, SenseTaxonomy { @Override public String getSenseDescription(String senseId) throws SenseInventoryException { String description = senseDescriptionFormat.replace("%d", getSenseDefinition(senseId)); description = description.replace("%e", getSenseExamples(senseId) .toString()); description = description.replace("%w", getSenseWords(senseId) .toString()); return description; } GermaNetLexUnitSenseInventory(String gnetDirectory); GermaNet getUnderlyingResource(); @Override Map<String, List<String>> getSenseInventory(); @Override List<String> getSenses(String sod); @Override List<String> getSenses(String sod, POS pos); @Override String getMostFrequentSense(String sod); @Override String getMostFrequentSense(String sod, POS pos); @Override String getSenseDescription(String senseId); @Override String getSenseInventoryName(); @Override UndirectedGraph<String, UnorderedPair<String>> getUndirectedGraph(); @Override void setUndirectedGraph(
            UndirectedGraph<String, UnorderedPair<String>> graph); @Override Set<String> getSenseNeighbours(String senseId); @Override Set<String> getSenseExamples(String senseId); @Override Set<String> getSenseWords(String senseId); @Override String getSenseDefinition(String senseId); @Override POS getPos(String senseId); void setSenseDescriptionFormat(String format); @Override int getUseCount(String senseId);  }