Python library for natural language processing
Project description
Grammar
Grammar is a Python library for natural language processing.
Installation
You can use pip to install grammar.
pip install grammar
Dependencies
Grammar uses Vineyard and Graphviz to visualize graphs of the document.
Usage
Creating a Document
from grammar import Document # create document document = Document("He also begat and brought up five pairs of male children.")
Entity Graph
display(document.entity_graph.render())
Document Graph
display(document.graph.render())
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size grammar-1.2-py3-none-any.whl (11.7 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Filename, size grammar-1.2.tar.gz (6.7 kB) | File type Source | Python version None | Upload date | Hashes View |