Hi,
the Uby API as a standalone tool is just a means to query a UBY database.
In
order to perform a task such as verb sense disambiguation, you need to apply a word sense disambiguation (WSD) algorithm and you need a framework for processing your sentences.
One way to perform WSD is to use the Uby API in combination with a text processing framework,
such as the UIMA-based DKPro Core component collection for natural
language processing, see
https://code.google.com/p/dkpro-core-asl/.
There
is a lot of background and information on UIMA-based text processing
with Uby and DKPro Core, including sample code, in the recent UBY
tutorial (May 2015), see the link here:
https://code.google.com/p/uby/Best
Judith