Dear Daniela,
one way is using direct SQL queries, e.g., the two excellent ones Peter suggested earlier.
Another option is to access the UBY database in a Java program. To do that, create a Java project following
https://code.google.com/p/dkpro-tutorials/wiki/UbyTutorial2013 and use, for example, the following code:
Uby uby = new Uby(db);
Iterator<LexicalEntry> leIter = uby.getLexicalEntryIterator(null);
while (leIter.hasNext()) {
LexicalEntry le = leIter.next();
System.out.println("lemma: " + le.getLemmaForm());
System.out.println("language: " + le.getLexicon().getLanguageIdentifier());
System.out.println("pos: " + le.getPartOfSpeech());
for (WordForm wf : le.getWordForms()) {
FormRepresentation fr = wf.getFormRepresentations().get(0);
String phoneticForm = fr.getPhoneticForm();
if (phoneticForm != null && !phoneticForm.isEmpty())
System.out.println("phonetic: " + fr.getPhoneticForm());
}
for (Sense s : le.getSenses())
System.out.println("definition: " + s.getDefinitionText());
}
Depending on your further analysis, the Java version might offer you more flexibility whereas the direct SQL query of course does not have the setup and programming overhead.
Best wishes,
Christian