@Override
public synchronized List<WordElement> getWordsFromVariant(String variant,
LexicalCategory category) {
// get words from DB
try {
LexAccessApiResult lexResult = lexdb.GetLexRecords(variant);
return getWordsFromLexResult(category, lexResult);
} catch (SQLException ex) {
System.out.println("Lexical DB error: " + ex.toString());
// probably should thrown an exception
}