Published January 16, 2023 | Version 0.0.4
Software Open

Constituent Treelib - A Lightweight Python Library for Constructing, Processing, and Visualizing Constituent Trees.

Description

Constituent Treelib (CTL) allows you to easily construct a constituent tree representation of sentences, visualize them and export them into various file formats. Moreover, you can conveniently extract phrases according to their phrasal categories, which can be used, for example, as features for various NLP tasks. CTL is built on top of benepar (Berkeley Neural Parser) as well as the two well-known NLP frameworks spaCy and NLTK.

Files

Constituent_Treelib.zip

Files (34.1 kB)

Name Size Download all
md5:c53fc44bb412381b8f44c0a468b780ff
34.1 kB Preview Download