Skip to main content

Python library for natural language processing

Project description


Grammar is a Python library for natural language processing.


You can use pip to install grammar.

pip install grammar


Grammar uses Vineyard and Graphviz to visualize graphs of the document.


Creating a Document

from grammar import Document

# create document
document = Document("He also begat and brought up five pairs of male children.")

Entity Graph


Document Graph


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for grammar, version 1.2
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

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page