def taggedsents_to_conll(sentences):
 for sentence in sentences:
  for input_str in taggedsent_to_conll(sentence):
   (yield input_str)
  (yield '\n\n')

def taggedsents_to_conll ( sentences ) : for sentence in sentences : for input_str in taggedsent_to_conll ( sentence ) : ( yield input_str ) ( yield '\n\n' )
a module to convert the a pos tagged document stream and yield lines in conll format .