}
}
public void load( String topic ) {
ResultSet result;
LexiconEntry entry;
String where = "language = '" + language + "'";
if( topic != null ) {
where += " AND topic = '" + topic + "'";
}
result = driver.select( "lexiconentry", null, where );
try {
while( result.next() ) {
entry = new LexiconEntry();
entry.init( driver );
entry.populate( result );
lexicons.put( entry.getKey(), entry.getValue() );
}
} catch( SQLException e ) {
}
}