@staticmethod<EOL><INDENT>def _load_words(words):<DEDENT>
lines, num_words = [], <NUM_LIT:0><EOL>for w in words:<EOL><INDENT>parts = w.split("<STR_LIT:U+0020>")<EOL>if len(parts) == <NUM_LIT:1>:<EOL><INDENT>num_words += <NUM_LIT:1><EOL>lines.append("<STR_LIT>".format(num_words, parts[<NUM_LIT:0>], int(num_words><NUM_LIT:1>)))<EOL><DEDENT>else:<EOL><INDENT>lines.append("<STR_LIT>".format(num_words + <NUM_LIT:1>, num_words + len(parts) - <NUM_LIT:1>, parts[<NUM_LIT:0>]))<EOL>for part in parts[<NUM_LIT:1>:]:<EOL><INDENT>num_words += <NUM_LIT:1><EOL>lines.append("<STR_LIT>".format(num_words, part, int(num_words><NUM_LIT:1>)))<EOL><DEDENT><DEDENT><DEDENT>return load_conllu((io.StringIO if sys.version_info >= (<NUM_LIT:3>, <NUM_LIT:0>) else io.BytesIO)("<STR_LIT:\n>".join(lines+["<STR_LIT:\n>"])))<EOL>
Prepare fake CoNLL-U files with fake HEAD to prevent multiple roots errors.