Universe

deplacy

CUI-based Tree Visualizer for Universal Dependencies and Immediate Catena Analysis

Simple dependency visualizer for spaCy, UniDic2UD, Stanza, NLP-Cube, Trankit, etc.

Example

import spacy import deplacy nlp=spacy.load('en_core_web_sm') doc=nlp('I saw a horse yesterday which had no name.') deplacy.render(doc)

Author info

Koichi Yasuoka

GitHubKoichiYasuoka/deplacy

Categories visualizers

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.

Read the docsJSON source