question: 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 ( ) ) ; }
target:  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.