@Override protected String getDisambiguationMethod() throws SenseInventoryException { if (disambiguationMethodName != null) { return disambiguationMethodName; } else { return wsdMethod.getDisambiguationMethod(); } }
@Override protected Map<String, Double> getDisambiguation(JCas aJCas, WSDItem wsdItem) throws SenseInventoryException { return wsdMethod.getDisambiguation(wsdItem.getSubjectOfDisambiguation()); }
@Override public void initialize(UimaContext context) throws ResourceInitializationException { super.initialize(context); inventory = wsdMethod.getSenseInventory(); }