now the input sentences can be separated by empty lines.