Greetings.
Many Uby methods for querying the database (e.g., getLexicalEntries())
take an optional Lexicon parameter for filtering the result by lexicon.
I note that there is no polymorph of getSensesByOriginalReference()
which accepts such a parameter. Is there any way of making this method
return entries from only a single lexicon or set of lexicons? Or is my
only recourse to individually check each sense it returns to make sure
it's in the lexicon I want?
The default behaviour is a problem for me because many original
references are not unique. For example, it's possible for two articles
in Wikipedia and WikipediaDE to share the same title, and for two senses
in WiktionaryEN and WiktionaryDE to share the same JWKTL ID.
Regards,
Tristan
--
Tristan Miller, Doctoral Researcher
Ubiquitous Knowledge Processing Lab (UKP-TUDA)
Department of Computer Science, Technische Universität Darmstadt
Tel:
+49 6151 16 6166 | Web:
http://www.ukp.tu-darmstadt.de/