Skip to main content

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())

Masking

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.5
Filename, size File type Python version Upload date Hashes
Filename, size grammar-1.5-py3-none-any.whl (11.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size grammar-1.5.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