This module allows you to parse a text to CoNLL-U format. You can use it as a command line tool, or embed it in your own scripts.
from spacy_conll import Spacy2ConllParser spacyconll = Spacy2ConllParser() # `parse` returns a generator of the parsed sentences for parsed_sent in spacyconll.parse(input_str='I like cookies. What about you? I don't like 'em!'): do_something_(parsed_sent) # `parseprint` prints output to stdout (default) or a file (use `output_file` parameter) # This method is called when using the command line spacyconll.parseprint(input_str='I like cookies.')
Submit your project
If you have a project that you want the spaCy community to make use of, you can suggest it by submitting a pull request to the spaCy website repository. The Universe database is open-source and collected in a simple JSON file. For more details on the formats and available fields, see the documentation. Looking for inspiration your own spaCy plugin or extension? Check out the
project idea label on the issue tracker.