public Set<String> addUserInput(Map<String,Double> userInput){
  String var=(!settings.invertedRole) ? settings.userInput : settings.systemOutput;
  CategoricalTable.Builder builder=new CategoricalTable.Builder(var);
  for (  String input : userInput.keySet()) {
    builder.addRow(input,userInput.get(input));
  }
  return addContent(builder.build());
}

public Set < String > addUserInput ( Map < String , Double > userInput ) { String var = ( ! settings . invertedRole ) ? settings . userInput : settings . systemOutput ; CategoricalTable . Builder builder = new CategoricalTable . Builder ( var ) ; for ( String input : userInput . keySet ( ) ) { builder . addRow ( input , userInput . get ( input ) ) ; } return addContent ( builder . build ( ) ) ; }
adds the user input ( as a n - best list , where each hypothesis is associated with a probability ) to the dialogue state and subsequently updates it .
